Questions tagged as 'android'

1
answer

I can not generate the android APK

When I try to generate my apk in Android Studio , I get the following error:    Error: Error: Found byte-order-mark in the middle of a file [ByteOrderMark] My app only has a webview with a link to a web. public c...
asked by 03.04.2017 / 21:44
0
answers

Dagger2 when to use it and when not

I'm working on a project and we use Dagger2. I wonder if it is advisable to use it in all our classes to avoid doing new when instantiating them. For what I am reading it is only necessary when the object instance is created in the const...
asked by 21.12.2016 / 16:15
0
answers

Android: Implement Universal Library Image Loader

What I'm trying to do is, that when I select images from my class PictureActivity I send them to AsyncTask that is in my UploadImage class but I'm also directly adding them to the CheckIn object (getImages) that is in my class Chec...
asked by 21.12.2016 / 20:25
1
answer

Problem when running Android app in Xamarin Studio

Every time I try to run an Android app in Xamarin Studio (Mac), it stops, after the emulator is loaded. I did not modify any of the source code that comes by default, and I use Xamarin's default emulator. This warning appears while the emulat...
asked by 29.12.2016 / 16:40
2
answers

Gradle error download when running ionic build android

I have an error trying to compile an apk of a new project, since apparently the link that should add the daemons and everything about the gradle seems to be wrong . Next I put the error. C:\Users\pedromiguel\aplicacionesIonic\sqliteTest...
asked by 20.12.2016 / 06:19
1
answer

ListView in Fragment type?

I have this to create a particular ListView: The problem is that it is a Fragment , and when you run the application and click on the Fragment , it stops and goes away, nothing is shown. What's wrong? "First_fragment.java" : public cl...
asked by 27.10.2016 / 21:57
2
answers

Some fragments disappear when you rotate the screen in Android

I have a four fragments, when the screen turns one disappears, if I turn again two disappear and the one that was missing appears at the beginning and finally all disappear except for one, the strangest thing of all is that this only happens in...
asked by 05.03.2017 / 05:36
2
answers

Define onClick on a BaseAdapter

This is a question that I have searched for on this page, but the solutions that I have been finding, I have implemented them, but they have not worked for me, and they will appear commented on in the code, to see if something escapes me or any...
asked by 30.10.2016 / 22:08
2
answers

How can I pass the data to a ListView?

I would like to know how I can pass data from MySql to an Android ListView, I have been trying to do it but the application stops me, I have already armed my web server with the following PHP code function getEmpresas($empresa) { $mysqli...
asked by 01.03.2017 / 17:34
0
answers

Simple example of volley on android? [closed]

Does anyone have a simple example of an app using volley in android studio? I have googled a lot but all the tutorials I have tried are error, nullpointerexception, etc, I just want you to return a string of some file in a server or a list to un...
asked by 29.10.2016 / 00:21