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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

