Sunday, 8 September 2013

Where is the best place to store globals (auth token) in Android

Where is the best place to store globals (auth token) in Android

I'm pretty new to android. I want to know where the best place is to store
something like a auth token that I get from logging in on my server. With
every subsequent request, I will have to post this auth token. Sure I
could keep a global class somewhere, but I just want to know what a good /
standard way is to store data that persists across activities and intents.
Thanks!

No comments:

Post a Comment