You need to cope with just your top activity being kill anyway so why is this a problem?
On Tuesday, July 17, 2012 10:18:00 AM UTC+1, xoom wrote: > > > Hello all, > > I have 50 + activities in my application. Application is built for android > version 2.0 onwards android devices. Everything is working fine on 2.x and > 3.x android running devices but there is a strange problem happening on 4.x > running android devices. > > On 4.x device, after starting my app if I clear the RAM from the task > manager i am getting an application crash. I checked the logcat prints and > I found that when I clear the RAM, android kills my current running > activity only (i.e. first in the activity stack). I checked the > documentation and as per the documentation android should close the whole > app (i.e. with the whole activity stack). But the same is not happening on > 4.x devices. Unlike 4.x, 2.x and 3.x devices kills all the parent > activities as well and because of that the app works without any issue on > 2.x and 3.x devices. > > I am getting lots of crashes in my app because of this changed behavior. > Is there anything I need to do in my app to handle this specifically for > 4.X android versions. > Please help me to solve the issue it is giving lot of trouble to me. > > -- 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