[Solved] how to get sharedpreferences value in edittext from another activity in android for signin [closed]


You want to sign in using shared preferences.

Follow these options
1: Get data from EditText in your signin activity. Like

string username = ed1.getText().toString();
string password = ed2.getText().toString();

then get data from shared preferences username and password

now compare both et

if(username.equals(sharepreferencesusername) && password.equals(sharedpreferencespassword)){
 goto next activity...

}

solved how to get sharedpreferences value in edittext from another activity in android for signin [closed]