thanks mark. it works.

On Dec 26, 5:04 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> j wrote:
> > When device goes to sleep, any text entered into the EditText is gone
> > when device awakes.  How do I save/restore the text?
>
> Implement onSaveInstanceState() and save whatever state you want in the
> Bundle. You will get that Bundle back in onCreate().
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.9 Available!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to