My password come from database and it's encoded, so how can I decode it in Android side?
SharedPreferences preferences = getSharedPreferences("mypref", MODE_PRIVATE);
id = preferences.getString("id", "");
password is encoded by base64_encode.
I want to decode that password.
I use this:
decodePassword= Base64.decode(password, Base64.DEFAULT);
but it didn't work.