Questions tagged as 'android-studio'

2
answers

Current location on MapsAcivity

How can I do to know my current location in an app? I need to show my current location and the final destination ... Try that way only the final destination appears, and not the current location .. @Override public void onMapReady(GoogleMap go...
asked by 01.11.2018 / 17:13
0
answers

does the URI id change when the app is restarted?

I select the file in mp3 to save it in shared preferences and while it does not close the app the song sounds and everything, when restarting the app as it throws error and it does not sound anything, that the id that points to arhivo with URI,...
asked by 02.11.2018 / 03:38
0
answers

How to make a Slider with animations [Android]

I'm doing a Slider with animations instead of images, the problem is that I do not know what method to add to use an array of type "InputStream", I put this type of data since the animations are in the assets folder. I am also using the lottie l...
asked by 02.11.2018 / 05:53
0
answers

Read and show database FIrebase in Recycler View

I'm still a novice in this. I have connected the app with the Realtime Database of Firebase and I want to show the data in the Recycler View, I put the dataSnapshot.getValue(Comida.class); and then I notify the Recycler View of the...
asked by 02.11.2018 / 12:09
0
answers

How to get the coordinates of the area that is displayed on the screen?

I need to obtain the geometry of the screen area (rectangle) or the coordinates of the 4 points that delimit this area (vertices of the rectangle), what I want to achieve is that as the map moves, only the elements are shown that are within the...
asked by 31.10.2018 / 19:26
1
answer

Android form with Android Studio [duplicated]

I'm making a form with a button and when I design the button I put it in the middle of the screen. On the other hand, when I run the application, it appears on the left side of the form. Does anyone know how to fix it? It happen...
asked by 04.11.2018 / 13:22
0
answers

How can I run a program by pressing a button on android studio

Hello everyone I need your help, I want in android studio press a button ("Start") and when I go to the second activity, I start to run the program that is random words I need to know how to make them go by one by one Where should I put th...
asked by 04.11.2018 / 01:13
0
answers

Project credentials with another color

I would like to know why I get the Dir Gradle of another color? I can not find my Main_Activity.class file. How can I solve? Could someone help me? Thanks     
asked by 04.11.2018 / 05:01
1
answer

Pass from an array a text to another activity and this is clickable

I have a two-dimensional array that goes to another activity with an adapter. In the observations section I want to pass a text that when pressed activates an intent or similar to launch another activity. I do not know if I explain myself, I wou...
asked by 04.11.2018 / 12:38
0
answers

Does not validate my AndroidStudio Login Button

I'm setting up a simple login with connection to a remote server like 000webhost but what happens is that my "ENTER" button does not perform any action, I already gave the code a thumbs up and nothing. I await your help. Thanks. btnEnt...
asked by 07.11.2018 / 07:36