0
I’m developing an App in Android Studio that takes the location of the device and returns me in latitude and longitude, I use it later to make a marker. However, if I install the application on my Smartphone in one neighborhood and go to another the App does not open anymore, is giving error in execution. I believe it only runs the code once, so I would like to know a command for the App always update the code in 2 in 2 seconds or who knows another solution to my problem would appreciate the help.
Try to use threads to do this update
– Dev
If you correctly implement obtaining the current location of the device you don’t have to worry about the "Application always update code".
– ramaral