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).
Asked
Active
Viewed 124 times
1 Answers
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