please consider Shared Preference :
  // Declaration
   public static String KEY = "SESSION";
   public static void saveUserName(String username, Context context) {
        Editor editor = context
                .getSharedPreferences(KEY, Activity.MODE_PRIVATE).edit();
        editor.putString("username", username);
        editor.commit();
    }
    public static String getUserName(Context context) {
        SharedPreferences savedSession = context.getSharedPreferences(KEY,
                Activity.MODE_PRIVATE);
        return savedSession.getString("username", "");
    }
You can store the login credentials to preference and retrieve them as well in any of your activity. 
SaveUsername("Your text to save", Your_activity.this);
And to retrieve the value 
String mUserName = getUserName(YourActivity.this);
It is recommended to have all your preference methods in your utils class to keep the code organized.
You can read more here