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

sql server - NHibernate incorrectly creating ManyToMany table - Cannot define PRIMARY KEY constraint on nullable column error -

All overlapping substrings matching a java regex -

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