public void saveResumeToken ( String token ) { SharedPreferences settings = mContext . getSharedPreferences ( PREF_DDPINFO , Context . MODE_PRIVATE ) ; SharedPreferences . Editor editor = settings . edit ( ) ; //REVIEW: should token be encrypted? editor . putString ( PREF_RESUMETOKEN , token ) ; editor . apply ( ) ; }
Saves resume token to Android s internal app storage