android - What parameters to choose in GPS tracing for requestLocationUpdates? -


i making application gps tracking. create locationmanager , set requestlocationupdates.

locationmanager mymanager = (locationmanager) mmap.getsystemservice("location"); mymanager.requestlocationupdates(locationmanager.gps_provider,min_time, min_distance, this); 

how select optimal parameters min_time , min_distance battery , recording normal track? please, give me reason answer.

thanks in advance!

upd: need optimal parameters. how detect location, know!

locationmanager = (locationmanager) getsystemservice(context.location_service); locationmanager.requestlocationupdates(locationmanager.gps_provider, 0, 0, locationlistner); location = locationmanager.getlastknownlocation(locationmanager.gps_provider);


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -