[android-developers] Save user options in reboot

2011-06-16 Thread Amita Dev
Hi,
Is it possible to save user selected options even after reboot of
device?
I would like to not to write all of my data in a file and then read it back.

How do all applications save data even after reboot?

Thanks,
-A

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Save user options in reboot

2011-06-16 Thread Dianne Hackborn
Ultimately the only stuff that is going to be saved across a reboot is stuff
written to a file.  It doesn't matter how you do it -- with a SQLite
database, with SharedPreferences, by writing your own file -- you need to
put it in a file.

On Thu, Jun 16, 2011 at 11:31 AM, Amita Dev amita.develo...@gmail.comwrote:

 Hi,
 Is it possible to save user selected options even after reboot of
 device?
 I would like to not to write all of my data in a file and then read it
 back.

 How do all applications save data even after reboot?

 Thanks,
 -A

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en