don't wanna lose data on Android after uninstalling

Posted by soclose on Stack Overflow See other posts from Stack Overflow or by soclose
Published on 2010-06-07T03:31:30Z Indexed on 2010/06/07 3:42 UTC
Read the original article Hit count: 291

Filed under:
|
|
|

Hi,

Now I make a trial application. I'd like to store IMEI and other info in Android permanently. And I don't want to lose them after uninstalling it.

I tested with shared preference but it deletes after un-installation.

          SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0);
      SharedPreferences.Editor editor = settings.edit();
      editor.putBoolean("silentMode", true);                  

      // Commit the edits!
      editor.commit();

let me know where to store.

© Stack Overflow or respective owner

Related posts about android

Related posts about storage