On Tue, Apr 13, 2010 at 9:16 AM, JFrog <jeremiah.paul.sna...@gmail.com>wrote:

> I have modified the manifest file to keep the orientation at 'Portrait'
> view while my Activity is running.
>

Is this because your app design requires it, or because you're trying to
avoid handling restoring your application's state? If it's the latter, you
should do yourself a favor and make the effort to properly handle saving and
restoring the app's state, as this comes into play not only when switching
orientation but when coming back to your app after a long enough period of
time.


> Currently the overlays are stored in a list, but I could not figure out the
> best way to redraw the Overlay list.  Its probably straight forward and I'm
> just not catching it.  Any helpful hints?
>

Handle onSaveInstanceState() and onRestoreInstance() state to save and
restore your list of overlays.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to