Questions tagged as 'android-studio'

2
answers

Disable Android studio buttons

Good I need to disable the buttons of my application of a radio until this one executes the stream of music, and then that they work with normality since if I touch a button before initiating the stream it closes. Try with an if and boton.set...
asked by 13.10.2018 / 23:14
2
answers

Problem when updating android Studio

I have a problem with my Android Studio . I have version 1.3 and when I look for updates it tells me that it is already updated, any way to update it to 1.5.1?     
asked by 05.04.2016 / 03:28
1
answer

How do I listen to an event volume buttons on android?

For example, let's say that in MainActivity.class I have a TextView that if we press the volume key + automatically in TextView will show a 1 and if we keep pressing the volume key + it will increase, the opposite will happe...
asked by 08.10.2018 / 06:15
1
answer

Obtain multiple objects in PHP - JSON with Retrofit2

I'm trying to make a simple project of a gallery for android and I have a problem when it comes to getting the images from the server and showing them in my application since it only returns the first registered image and what I'm looking for is...
asked by 06.10.2018 / 09:17
1
answer

compare saved data in Android Studio Firebase

I have the structure corresponding to the data stored in Firebase Database via android I want to obtain the data indicated in red the last 2 or 3 "doses" saved. I have this structure but I do not know if it is the correct one to obtain...
asked by 05.10.2018 / 04:43
1
answer

Call last three values in Firebase Database Android Studio

I have this code and it calls me the "Node" line that I have saved in Firebase Database DatabaseReference fReference = database.getReference().child(Lista); final StringBuilder sb=new StringBuilder(); final StringBuilder sp=new StringBuil...
asked by 04.10.2018 / 02:09
1
answer

Android listview arrayadapter sqlite

I'm trying to fill a listview with data from a sqlite table but I do not know what I'm doing wrong, here's the code if someone can help me, the instruction is at the end in btnconsultar . protected void onCreate(Bundle savedInstanceState)...
asked by 11.09.2018 / 23:18
2
answers

Disable a button according to the content of an arraylist

Good I'm doing an application in android studio, and in a part I create several dynamic edittext according to an intent of the previous screen, and I would like to do it is that the start button, which starts another intent, will only be enabled...
asked by 30.08.2018 / 08:40
3
answers

How can I stop (stop) a location event on android?

Good evening thank you very much for answering, I would like to know how I do so that only once that event happens ok I mean the AddOnSuccessListener event ok here I put the code. mFusedLocationClient.getLastLocation() .addOnSuc...
asked by 01.09.2018 / 04:12
1
answer

Tour Json Array of 4 levels or more Java (android)

I have a JSON that has 4 JSON objects, my question is how to travel in such a way that with first do one thing with the second one and so on I've tried with: JSONArray ja = new JSONArray(response); for (int i = 0; i < ja.length(); i++) {...
asked by 21.08.2018 / 23:47