On Tue, Mar 9, 2010 at 4:59 AM, miguelo <[email protected]> wrote:

> These are the data I'm losing if I leave my
> application opened and after a few hours I return to it. I'm able to
> restore the specific data of the running activity but not these global
> data.
>

How are you loading data into your custom Application class to begin with?
Are you doing it in onCreate()? I assume that should be called each time the
application is started for the first time and should be a safe place to do
your data loading.

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

Reply via email to