Android OnlocationChanged storage -


i know best way of saving latitude , longitude onlocationchanged() method.

is using sharedpreferences, or i*ntent/broadcastreceiver*?

thanks.

i store in public static (class) variable of activities can access it. think sharedpreferences overkill (unless value needs survive when application killed , later restarted).


Comments

Popular posts from this blog

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -

php - Deleting/Renaming a locked file -