Can anyone provide a detailed code example for this issue....something more than " use the OnSavedInstance method..." I need help solving this---I understand that the activity is destroyed and recreated when the screen rotates---so howexactly do I make sure that the textView elements dont get washed out? If possible, please provide full code example. Thanks in advance
---------- Forwarded message ---------- From: TreKing <treking...@gmail.com> Date: Feb 16, 11:44 am Subject: Screen rotation clears TextView To: Android Developers On Tue, Feb 15, 2011 at 12:40 PM, David Parker <parker.davi...@gmail.com>wrote: > However, when the device is rotated, the Activity resets and that TextView > gets cleared. > Does anyone know what the problem might be? Any way to make sure this Activity does not reset on rotation? I read the "Handling Runtime Changes" section of the SDK documentation, but > neither onConfigurationChange() nor onRetainNonConfigurationInstance() > seemed to solve the problem. Any help would be appreciated. http://developer.android.com/reference/android/app/Activity.html#onSa...)http://developer.android.com/reference/android/app/Activity.html#onRe...) ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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