On Wed, Oct 5, 2011 at 6:58 AM, Rafael Maas <rafaelm...@gmail.com> wrote:

> activity A starts activity B.
> The user press back and activity B goes background.
>

In this case, activity B does not "go background", it gets destroyed.

After ~30 minutes android kill activity B ( This is a normal android
behavior...
> i know :P)


It should be immediate.


> I try to set alwaysRetainTaskState =true and  launchMode=singleTask in 
> activity
> B manifest configuration, but without sucess :(
> How can i prevent this?


That depends on what you're trying to achieve, which is not clear.

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