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#onSaveInstanceState(android.os.Bundle)
http://developer.android.com/reference/android/app/Activity.html#onRestoreInstanceState(android.os.Bundle)

-------------------------------------------------------------------------------------------------
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

Reply via email to