Questions tagged as 'android'

0
answers

Doubts with BroadcastReceiver on Adroid

I am using the following code: private boolean statusUSB = false; private final BroadcastReceiver usbReceiver = new BroadcastReceiver() { public void onReceive(Context context, Intent intent) { final String action = intent.getAct...
asked by 23.10.2018 / 21:29
1
answer

How to save my data that I have stored in SQLITE to remote MYSQL (Volley)?

I'm trying to decipher and the truth is that I'm already very burned and I can not figure out how to store my SQLITE list (cart of articles and prices) in a remote MYSQL database (I'm working with volley); The theme is like this first I retri...
asked by 28.11.2018 / 16:40
0
answers

I can not solve the error R android

I'm desperate. Let's see if someone does not give up and can help me solve it I think I've already seen more than 10 pages on how to fix the R error in android. but none of the solutions is worth me. My project worked fine and suddenly all...
asked by 13.11.2018 / 20:50
1
answer

Error when including a context within a static [duplicate] method

I am creating a newInstance within a fragment. The documentation says that it is like this public static Clase newInstance(int index,CheckBox check) { Clase categories = new Clase (); java.util.Calendar now = java.util.Calend...
asked by 21.06.2016 / 23:36
1
answer

Perform Search within a ListView with SimpleCursorAdapter

Good, I have the following code but it does not work and it does not throw me any errors, could you give me some guidance? , if anyone has encountered this problem. Thank you very much ListView mContactsList = (ListView) view.findViewById(R.i...
asked by 21.06.2016 / 11:04
1
answer

General question regarding login Laravel / Android

I have a question. I'm doing a section of login in laravel and at the same time this database is connected with an application of android , the problem is when I create a user in Laravel obviously encrypts my password, and I can...
asked by 12.10.2018 / 23:34
1
answer

Update UI every 1 second only updates every 4? Android Studio

I'm working on Android Studio and I have the following problem and I do not know why it happens: My code takes the current unix time in milliseconds, divides the unix time by 1000 to extract the seconds, subtracts a date in unix in seconds and s...
asked by 14.10.2018 / 21:05
1
answer

Save image download address in Firebase Storage in Firebase DataBase

I build an app where in an activity you can choose a photo upload it and then upload your other information such as age name etc. My code starts asking you to select a photo of where you want and then you cut it then upload to the Firebase Stora...
asked by 16.10.2018 / 22:33
0
answers

Parcelable executes twice the init block on android with kotlin

I have a custom class that I am sending from an activity to a tabbed activity (fragments) using parcelable . In the init block of my custom class I execute a function to transform one of the values that arrive to the constructor when I...
asked by 16.10.2018 / 02:39
1
answer

Key Hash Invalid

My application is already available in the playstore, but for some reason the login with facebook does not work for me, it mentions that the key hash is invalid, when I already generate the hash for the production mode keytool.exe -exportcert...
asked by 30.10.2018 / 19:44