I am creating an android device in which there ia a login activity. how to check whether a certain id and password is saved in android device earlier and if it is saved then when the user has entered the emailid the password should get automatically set in the password field. I have saved the email id and password as
if ((savepass).isChecked()) {
getSharedPreferences(PREFS_NAME,MODE_PRIVATE)
.edit()
.putString(PREF_USERNAME, eMailId)
.putString(PREF_PASSWORD, PWOrd)
.commit();
}
can anyone please help me.. thanks