Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Where should an authentication token be stored on Android?

  1. A EncryptedSharedPreferences or the Android Keystore
  2. B Plain SharedPreferences
  3. C A static field
  4. D The app's log output
Answer

EncryptedSharedPreferences or the Android Keystore

Plain preferences are readable on a rooted device and can be included in backups, so credentials do not belong there.

All Android MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as