Questions tagged as 'android-studio'

1
answer

Automatically login Android Studio

I am creating an application that the user will have to do login on the first time the application is opened on a phone. But I would like the second time the user enters the application, after doing login for the first time, that automatical...
asked by 23.08.2018 / 14:53
1
answer

Error in recyclerview filter (Android Studio)?

I happen to have a project in android studio which performs a search in a recyclerview from a searchview, when debugging my application I see that if you filter the data well but show the data filtered in the recyclerview shows data that do not...
asked by 15.08.2018 / 06:52
1
answer

How to Fill a ListView with an ArrayAdapter in a Fragment

I'm trying an example of how to read remote xml files, and after testing it works correctly I have modified it to integrate it into a fragment of a Drawer Layout, with the disappointment that it seems that it does not work the same at the time o...
asked by 05.08.2018 / 03:04
1
answer

help shared preferences

I want to save a location with shared preferences as I can not save objects I only save the latitude and longitude, I transform it into string I save them and then I take them out and transform them into double back to load them to th...
asked by 04.07.2018 / 00:57
1
answer

Blocked components, piled up on the left - Android Studio

When adding components to the design, they appear stacked in a pixel in the upper left corner and can not be moved or resized. I already tried several ways to fix it that they suggested in other publications and reinstalling after deleting the f...
asked by 03.07.2018 / 14:03
1
answer

how to send a data from a recyclerView to an Activity? How to return this data to the recyclerView if it is modified in the activity?

Hi, I am new to Android, and I have not yet been able to solve a problem I have. Code a recyclrerViewAdapter that allows me to display a list of products on the screen. I want to emphasize that this list of items has the options to add products...
asked by 14.06.2018 / 23:57
1
answer

No results are produced with the LIKE command from Android

From Android Studio I make the following query against a MySQL database SELECT id_ave, Date_format(fch_ave, '%d/%m/%Y') AS 'fecha', zon_ave, cli_ave, per_ave, tip_ave, Ifnull(nom_tip_ave, 'Sin tipo')...
asked by 24.08.2018 / 16:19
1
answer

How to define a unique ID to a fragment in android studio?

I try to call a fragment for my Navegation Drawer but it does not have an ID and if I try to put it in the XML file it marks me error FragmentManager manager=getSupportFragmentManager(); manager.beginTransaction().replace(R.id.aquiMarcaErr...
asked by 20.06.2018 / 01:52
1
answer

Issues when compiling on Android

I have this problem when I try to compile an Apk from my Android project. Could someone help me solve this: Gradle sync failed: Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations:...
asked by 12.06.2018 / 00:35
1
answer

Query a value in the firebase realtime database

I want to check if a certain value is in the database. What I'm trying to do is get the value reference to consult and do the tour and if it finds an equal value, I print a toast, and count how many times it found the value. Here he is not doing...
asked by 05.06.2018 / 16:07