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

Glib GIOChannel -

jsp - java.sql.SQLException: [Microsoft][ODBC Microsoft Access > Driver] Too few parameters. Expected 1 -

python - Obscure curses error message when creating a sub window -