Questions tagged as 'android'

1
answer

Migrate an Android Studio project to an Offline computer

I'm trying to migrate an Android project between computers without an internet connection. Currently working with Android Studio 2.3.2, to make the attempt to migrate the project I have copied and pasted the folders .gradle, .android, .AndroidSt...
asked by 21.03.2018 / 12:31
0
answers

RecyclerView that leads to different activities

What I have is: A recyclerview with images from different places such as bars, coffee shops, etc. What I want is: When I click on each one of these images, they take me to a different activity (to the activity of the corresponding place) M...
asked by 21.03.2018 / 11:41
0
answers

Android Studios. Load Spinner with all the names of the songs you have in the raw directory

esoty making a kind of playlist. I'm working with the "raw" directory of android studios where videos are put ... music etc .. and what I pretend is that, in one of the windows (activitys) of this is responsible for registering a song so that it...
asked by 28.03.2018 / 12:54
0
answers

Why listview items do not occupy the entire row - android

I have created a listview in which I fill with information from a database and I add a function to each element click adapter = new ArrayAdapter(getApplicationContext(), R.layout.my_cutom_layout, villes); listV.setAdapter(adapt...
asked by 20.03.2018 / 23:15
1
answer

Because clicking on a polygon always performs the same action - Google maps API android app

I have 3 polygons within the same map created in the android application Polygon nordOption = mMap.addPolygon(new PolygonOptions() .add(p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12,p13,p14,p15,p16,p17,p18,p19,p20,p21,p22,p23,p24,p25,p26,p27,...
asked by 17.03.2018 / 18:19
0
answers

Firebase + Fragments + Recycleview

I am responsible for a football team and I am trying to create an application where the data of the matches, players, statistics, etc ... come My knowledge of programming is scarce but through video tutorials I am progressing little by little...
asked by 16.03.2018 / 10:48
1
answer

How can I measure the distance traveled after pressing a button on android?

I have implemented several methods to be able to add the distance traveled, whether walking or running, etc ... all with LocationListener. I'm implementing it on api +23 handling the permissions. @Override public void onLocationChanged(Locatio...
asked by 19.03.2018 / 01:26
0
answers

My database receives the data in the second click and not in the first one as it should

What happens is that when I give the first click the data in the Database appears as "0" and "1" should appear, however, when I press the button a second time if the "1" appears in the database ... Help please ... This is the Android code wit...
asked by 19.03.2018 / 18:29
0
answers

Download Firebase Storage image from variable String

This is part of the code of the activity with several attempts to make it work, I have managed to directly put the complete uri but never putting the uri as String // Intent Intent intent = getIntent(); gName=intent.get...
asked by 17.03.2018 / 09:47
1
answer

Binary XML file line # 0: Error inflating class android.widget.SearchView

I am using the SearchView component in an application, apparently on some devices it is causing crashes. What do you think the problem might be and how could you solve it? This is the SearchView that I have in my XML: <SearchVie...
asked by 16.03.2018 / 15:23