android - Current Location GPS Tracking Issue -


i followed tutorial http://www.androidhive.info/2012/07/android-gps-location-manager-tutorial/

when launch app lat:0 , long:0 shown on emulator , mobile device

i using latest android studio , api 16

please open terminal , enter:

telnet localhost 5554 

then enter longitude latitude as:

geo fix <longitude> <latitude> 

example: geo fix 88.556(longitude) 22.567(latitude)

alternatively, can open android device monitor under tools -> android. there can set lat,lng value.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -