0

I am working on a android project, which required user's logging only one time until he/she logged out. All the data are retrieved from web services (Parsing).

iandotkelly
  • 9,024
  • 8
  • 48
  • 67

1 Answers1

1

After a successful login, save the credentials to SharedPreferences and then use those saved credentials whenever needed.

However if the credentials fail (password change), wipe the SharePreferences and start over again

MobileMon
  • 8,341
  • 5
  • 56
  • 75
  • don't know how to save the credentials to User Preferences..please provide some link or something please its urgent – Gourav Kundu Jan 03 '14 at 17:37
  • @user3132451 This will help: http://stackoverflow.com/questions/10209814/saving-user-information-in-app-settings – MobileMon Jan 03 '14 at 19:06