Questions tagged as 'android'

1
answer

Error in: compile 'com.google.android.gms: play-services-location: 8.4.0'

Issues this error when adding the package compile 'com.google.android.gms: play-services-location: 8.4.0' Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.    com.android.build.api.transform.TransformExcept...
asked by 16.09.2017 / 21:34
1
answer

ERROR android studio java.lang.NullPointerException

Attachment LOGCAT:    09-13 17: 16: 41.571 5041-5041 / com.example.usuario.guiach   E / AndroidRuntime: FATAL EXCEPTION: main                                                                             Process: com.example.usuario.guiach, PID...
asked by 13.09.2017 / 21:32
0
answers

listview access to sub-element popedad

Good morning I would like to know if there is a way to access the elements of an element of a specific list Let me explain ... I have a personal list consisting of elements of images and text 'and I would like to know if there is a way to mak...
asked by 27.09.2017 / 18:31
0
answers

Put image with retrofit or okhttp3? I do not know how to do it

I'm trying to make a put with retrofit and also directly with okhttp3 and I could not do it with any The codes I have used are the following. Okhttp3: public void uploadFile() { getActivity().runOnUiThread(new Runnable() {...
asked by 20.09.2017 / 15:54
0
answers

gcm_defaultsenderid Error: Duplicate

Good afternoon! I'm working with a project which gives me the following error, and locate both files and do not know that the name of the resource gcm_defaultsenderid is in both, comment on the Strings but can not correct the error. I hope you c...
asked by 15.11.2017 / 22:32
1
answer

Does not authenticate on firebase

I had problems with a project in which I was authenticating with firebace I was using email and google as authentication, I started another project, I also created another project in firebase and I used the same codes as before if they wo...
asked by 11.09.2017 / 03:43
0
answers

Use an image with Glide and Tint on android

Good community, my problem is this: I'm inflating images with the Glide library because putting the image path directly in the xml makes my app go slower. In the xml I have the following code for an image: <ImageView...
asked by 11.09.2017 / 12:25
1
answer

How to initialize sqlite from AsyncTask (asynchronous task)?

Greetings. I am a newbie in the development of applications in android and I would like to support me to solve my doubt of how to initialize SQLite from a class, in this case I am in an AsyncTask but I mark an error in the context I have seen so...
asked by 14.09.2017 / 14:39
2
answers

Store a Json object, containing subobjects, using JSONObject Volley

I need to save the following object Json , emplando JSONObject (volley). { "idAsignatura": { "idAsignatura": 1, "nombreAsignatura": "Cálculo" }, "idEstudiante": { "...
asked by 11.09.2017 / 18:43
1
answer

How can I get the contact name of the SMS trays?

I am developing an application that accesses message history (SMS) in the inbox and outbox. What happens is that I can obtain data such as the date or the type of message (sent, received) but I have NOT been able to make reference to the NAME of...
asked by 26.09.2017 / 02:36