[android-developers] activity running in background problem

2011-10-05 Thread Rafael Maas
I have a IM client and this is my scenario: activity A starts activity B. The user press back and activity B goes background. After ~30 minutes android kill activity B ( This is a normal android behavior... i know :P) I try to set alwaysRetainTaskState =true and launchMode=singleTask in activity

Re: [android-developers] activity running in background problem

2011-10-05 Thread TreKing
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