On Sun, Oct 31, 2010 at 11:12 AM, Mark Murphy <mmur...@commonsware.com>wrote:

> On Sun, Oct 31, 2010 at 2:07 PM, Dianne Hackborn <hack...@android.com>
> wrote:
> > As far as using Application to clean up statics -- this simply doesn't
> > really make sense, for the reasons above.  For a legacy application with
> > statics that can't be re-used again in the same process, your only choice
> is
> > probably to just self-kill your process when the user leave the game.
> Wait, what? I was under the distinct impression we should not be
> killing processes this way.
>

You should not be, but if you have a bunch of legacy code that can't cleanly
work without doing so...  well, sometimes you need to compromise.  This does
have other negative consequences, so nobody writing Android applications
should do this.

Games, though, games are sometimes so special.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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