Monday, August 8, 2011

[android-developers] Re: How Can I keep data between my activities?

Yes, maybe, but I think that the problem was, that the program wasn't
destroyed only put to the background. So, I had an A activity, from it
I called B activity. A went to background, but it wasn't destroyed. So
it didn't call onRestoreInstanceState. It's my opinion, but I'm not
sure in it.

Thanks for helps.

On aug. 8, 19:03, TreKing <treking...@gmail.com> wrote:
> On Mon, Aug 8, 2011 at 5:36 AM, Zwiebel <hunzwie...@gmail.com> wrote:
> > I tried it now. I tried with onRestoreInstanceState too, but it looked like
> > this. I couldn't show my counter and counter_foe content, because it's
> > everytime shows 0.
>
> I didn't follow that, but what you put in the Bundle in onSaveInstanceState
> should be what you get back in onRestoreInstanceState.
>
> -------------------------------------------------------------------------------------------------
> 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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate