• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

"Shared preferences' the right approach?

AnuMenon

Lurker
Jun 3, 2010
5
0
Hi all,

Am starting my first application for android.Its a login page which has "Remember Me" option.Are "shared preferences",the appropriate place to save the user name and password when i check on "remember me".Other wise please help me to do the "remember me" option .

Thanks in advance
Anu Menon
 
Hi all,

Am starting my first application for android.Its a login page which has "Remember Me" option.Are "shared preferences",the appropriate place to save the user name and password when i check on "remember me".Other wise please help me to do the "remember me" option .

Thanks in advance
Anu Menon

That should work just fine for what you need it for.
 
  • Like
Reactions: AnuMenon
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones