Tuesday, September 27, 2011

[android-developers] Re: Activities aren't getting killed by ActivityManager when app is running out of memory

Yeah, I'm sure. I even bring up the hierarchy viewer and it shows me
all the activities in the stack.

On Sep 26, 11:06 pm, FBondarenko <f.bondare...@web.de> wrote:
> > ... I see each activity enter onStop after the new activity starts, but I don't see
> > ActivityManager ever killing them ...
>
> Are you sure you have multiple instances of your activity and not did
> not set the
> FLAG_ACTIVITY_SINGLE_TOP or relatives to keep it to one single
> activity,
> thus not having any 'background activities' to spare, i.e. to be
> killed?

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