Questions tagged as 'android'

1
answer

Differing Priorities of Mapbox Location on Android

To get positions with the control mapbox we use LocationEngine I see that you can specify the priority, ie the sampling of location data. locationEngine = LocationSource.getLocationEngine(this); locationEngine.setPriority(Locatio...
asked by 30.05.2017 / 09:51
1
answer

Google Maps + ActionBar + status bar translucent on Android

I try to recreate more or less the next image In the background the fragment of Google Map Semi-transparent status bar ActionBar displayed below the status bar What I find when I put in styles.xml <item name="android...
asked by 13.11.2017 / 17:44
2
answers

Error: NumberFormatException inside an Asynctask: java.lang.NumberFormatException: For input string: ""

I convert the whole number that the user enters to hour / minutes / seconds as follows int time = Integer.parseInt(minutos.getText().toString().trim()) * 60 * 1000; i.putExtra("tiempo",time); startService(i);...
asked by 13.11.2017 / 23:03
1
answer

Get a list of the mime-types supported on Android

Is it possible to obtain a list of the mime-types supported on the device? I'm looking at MimeTypeMap but I do not see how to implement it     
asked by 07.03.2018 / 18:43
1
answer

Error: Attempt to invoke virtual method 'java.io.FileOutputStream

I have an error that I do not understand because it shows, I have two classes one is the class called Dialogue that extends from a DialogFragment, in this class I have a method called onClickSavePersona , this class uses it to create a dialog b...
asked by 05.03.2018 / 16:45
1
answer

How can I copy database to the sd card?

How could I copy a database that I store inside my own app to the sd card, for example if I create a folder within app\src\main\res and store the bd in that directory, as I could copy it to the sd card. ?     
asked by 17.05.2017 / 05:08
2
answers

Save Uid from A FireBase user

Good, I have an application where I send some data and when I send the data I want you to save me with the User's Uid that is now connected. The method I have is this private void saveInformation() { //initializing firebase authenticati...
asked by 25.04.2017 / 10:33
3
answers

Problem when inserting data in android studio database

The problem I have is that if I try to insert an empty data the application fails and I do not know why. With any number goes well but if I leave it empty it fails I have the database: public class AdminSQLiteOpenHelper extends SQLiteOpenH...
asked by 08.04.2017 / 22:30
3
answers

create help menus when the app is opened for the first time? [closed]

enter the description of the image here     
asked by 09.04.2017 / 04:47
1
answer

Import library to Android Studio [closed]

I'm trying to import a library to my android project, the problem is that the library that I downloaded is a java project with a file. java instead of .jar. It influences something or directly you can only import them. jar     
asked by 04.05.2017 / 14:42