On Sat, Jul 17, 2010 at 9:40 AM, nation-x <shawn.payme...@gmail.com> wrote:

> there is an example of one way to save an array object to a file and to
> read it back in.
>

Note that the OP's problem was trying to retain data on screen rotation, not
persist across application restarts.

In general, saving data to a file and reading it back in for a configuration
change is not the ideal solution as it takes longer than necessary to reload
the data compared to using the Activity Lifecycle methods.

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