android - what are the ways to get location of the device? -
i created location manager service. it, want grab instantaneous location change. have created service class , in locationlistener locationlistener = new locationlistener() {@override public void onlocationchanged(location newlocation) {
. but, listeners seem have slow response. trying improve location service class. reason, fastest, time, method , other method(s) grab location alter ?
maybe, question above absurb someone. in general want larn "what ways location of device ?"
you can user location using gps , net geolocation. here best tutorial found. work , location alternative turned on, , if none of enabled inquire go settings.
http://www.androidhive.info/2012/07/android-gps-location-manager-tutorial/
android android-location
No comments:
Post a Comment