android - Get accurate device location every now and then -


what best way - highest accuracy , least battery consuming (accuracy tops battery in use case) - user device location once every , then? (not in fixed priod)

ive seen this, remembered when used way location not accurate (maybe had configurations wrong?), , read this seems less appropriate use case.

i go second option, re , un registering update every , when need them, while each time wait few seconds till gps fixed on devices location, dont want reinventing wheel implemnting wondering if knows more straight forward solution?


Comments

Popular posts from this blog

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -

php - Autoloader issue not returning Class -