Questions tagged as 'android'

1
answer

Send GPS coordinates to the Web Service every so often

I am trying to send coordinates from my position every so often to the web service, I have a class called " LocationService " that should do this, but at the moment of executing the application, nothing happens ... LocationService p...
asked by 30.05.2017 / 08:33
1
answer

Error shown by Google Play: "The vulnerabilities were addressed in OpenSSL 1.0.2f / 1.0.1r"

I am trying to upload my application to the play store, but I received the following error:    "OpenSSL The vulnerabilities were addressed in OpenSSL 1.0.2f / 1.0.1r.   To confirm your OpenSSL version, you can do a grep search for: \ $   unzi...
asked by 29.05.2017 / 00:22
2
answers

Check if there is a value in the database

I try to check a value that I enter with a EditText in the Firebase database before writing the value. For this I have the following: EditText Username; Button buttonUser; public FirebaseDatabase database; boolean flag=false; final i...
asked by 03.07.2017 / 13:52
1
answer

Google drive Android API - Retrieve file id

Good afternoon, in the morning I did this question and I managed to save an image. The problem that arises now, is that I need to recover the id that assigns drive to that image, there is a method that I found on the internet that gives me the...
asked by 13.06.2017 / 20:43
2
answers

Error in Android Studio: 'emulator-5554' not found

I can not emulate my app, since I get the following message:    Installation failed with message device 'emulator-5554' not found.   It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present,...
asked by 02.07.2017 / 09:39
1
answer

Google drive API on android - bring an image based on your DriveId

Good morning, I'm working with the google API on Android, and I found the following code to read a text file: private void readFile(DriveId fileDriveId) { DriveFile file = fileDriveId.asDriveFile(); file.open(mGoogleApiClient...
asked by 14.06.2017 / 17:50
1
answer

Problem with Volley NegativeArraySizeException

I'm doing an app that has several calls get using Volley (both string and JSON) and unpredictably (I can not tell when it's going to jump) I skip the following error: java.lang.NegativeArraySizeException: -603 at com.android.volley.toolbox.Dis...
asked by 25.07.2017 / 12:49
1
answer

Warning when building the Gradle of the module

I added a library of apache and it gives me a warning when building the gradle. The gradle is the following: apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.2" useLibrar...
asked by 25.07.2017 / 16:44
2
answers

Error Bottom Navigation with Fragment

I want to open a fragment by selecting an Item from the Bottom Navigation that I created, but the following code is the one that does not let me continue because it appears wrong in the fragment before the fragment.getTag and does not How to s...
asked by 15.05.2017 / 22:42
1
answer

Send text from EditText to a TextView of another class

I try to send a text that I write in my editText and receive it in TextView that I have in another clase but I close the application, is not possible to do this, only Can you send a TextView of the same clase...
asked by 17.05.2017 / 01:57