Questions tagged as 'android-studio'

1
answer

"Failed to instantiate one or more classes" Android Studio new projects

I really do not know how to catalog the error, I installed the Android Studio for the first time on this computer and I get this error (Image), I really do not know why, I was supposed to do a normal installation. At the end of the desc...
asked by 12.07.2018 / 04:08
0
answers

Assign variable php and retrieve it by json and android studio

I have the following query in php: $SQL_select="SELECT SUM(TIMESTAMPDIFF(minute, reserva_estacionamiento.hora_reserva,reserva_estacionamiento.hora_salida) * estacionamiento.tarifa) as resultado FROM reserva_estacionamiento inner join estaciona...
asked by 12.07.2018 / 05:03
0
answers

What are the methods to stop a class?

The problem that occurs to me is that I have a class called Localizacion in which I implement LocationListener with their respective methods onLocationChanged , onProviderDisabled , onProviderEnabled and onSta...
asked by 11.07.2018 / 22:48
0
answers

Because retrofit shows me null

W/2.0 getFeed > response.raw() =>: Response{protocol=http/1.1, code=200, message=OK, url=http://web.com/api/api/entry/providers/2} W/2.0 getFeed > body =>: [] Json correctly shows me the information in the url that has been plac...
asked by 10.07.2018 / 02:55
0
answers

Help with Retrofit, PUT and DELETE methods

I am obliged to put all the code given that I can not find a solution to this, and I have already seen several questions with the same subject, but not even that way. PUT and DELETE do not walk me. I have these classes on Android -RetrofiC...
asked by 10.07.2018 / 23:15
0
answers

sign pyramid with android threads

They ask me to build a pyramid with the sign '%' with threads, as requests I am asked to enter the number of signs to show and it should appear in this way consecutively: a. You must request how many lines the pyramid wants. b. When you...
asked by 14.07.2018 / 23:28
0
answers

How do I avoid errors when loading the same fragment?

I am working an Android application that has: Bottom Navigation Firebase Fragments RecyclerView In a fragment I make a firebase query in real time and with the data full a recyclerView, at first everything works fine but I click again on the opt...
asked by 11.07.2018 / 06:12
1
answer

Help with android studio

What happens is that I see the cell phone interface, but I can not visualize what is written, why will it be? If they are fixed, it has texts (textView), but what is written is not displayed.     
asked by 16.07.2018 / 05:20
0
answers

My device can not find other Bluetooth devices with startDiscovery ();

Hello, I was developing an app to learn how bluetooth devices work and create a simple, one button to activate startDiscovery (); and save 3 attempts, when it starts looking for another when it finishes searching and another when it finds a devi...
asked by 10.07.2018 / 18:04
0
answers

Android Service with Firebase takes a few hours to answer

good morning I'm on android 8 Oreo and I need my service to always run in the foreground; so far it is not destroyed, since I execute it with startForegroundService along with a Notification of IMPORTANCE_HIGH within the first...
asked by 09.07.2018 / 14:17