don’t wanna lose data on Android after uninstalling

Put your problem here if it does not fit any of the other categories.

don’t wanna lose data on Android after uninstalling

Postby soclose » Mon Jun 07, 2010 4:36 am

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.

Code: Select all
         
      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.
soclose
Experienced Developer
Experienced Developer
 
Posts: 80
Joined: Sun Apr 25, 2010 8:38 am

Top

Re: don’t wanna lose data on Android after uninstalling

Postby phix » Mon Jun 07, 2010 7:08 pm

From what it sounds like it'd be best to store on sd card.

viewtopic.php?p=24095

And many more.

http://www.google.com/search?hl=en&sour ... oEBU_QracM
Posting questions without code is like going to the doctor and saying "it hurts, fix it."
phix
Master Developer
Master Developer
 
Posts: 230
Joined: Mon Mar 15, 2010 10:37 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 15 guests