Don't worry about the bundle unless your app is getting killed. If you just
press the home key, your app gets "paused", but retains it's internal state.
You should not lose the value of whatever it is you need to keep track of.

Better questions: what does "restoredClockTime" represent? What are you
actually trying to do?

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


2009/11/20 jax <[email protected]>

> Hi thanks that.
>
> The issue is that the "Bundle" object only gets passed to onCreate()
> and onSaveInstanceState()
>
> Do I have to get this manually somehow?
>
>
>
> On Nov 20, 2:15 am, "vendor.net" <[email protected]> wrote:
> > How do you store that variable?
> >
> > On 19 Ноем, 17:18, jax <[email protected]> wrote:
> >
> > > I need to store a variable that contains my application state
> > > "restoredClockTime"
> >
> > > I do this in onSaveInstanceState and onRestoreInstanceState and it
> > > works when I flip the screen on the G1.
> >
> > > The problem is when I press the Home button and then re-enter the
> > > activity it does not work.
> >
> > > why is this?
> >
> >
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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