Unfortunately, no. It is not simple. If I were running only my own
apps, THEN I could expect everything to work well because I "trust the
OS to do its job, and write good code". But in real life, we all have
to use apps written by others, and I know they do not follow the
rules.

This lack of trust in apps written by others is one of the reason Task
Killers are still on the market. But don't get me wrong: by no means
do I think it is an excuse for developers to ignore the rules.
Developers, except when writing Task Killers, really should read both
Dianne's article and the reference to Process Lifecycle in it, reading
both carefully, and more than once. Then, make sure that all the
process lifecycle events are properly handled by overriding (as
needed) callbacks, and don't bother quitting the app. If the user
really needs to do that, he can use a Task Killer.

On Aug 4, 2:56 pm, IcedNet <[email protected]> wrote:
> I believe what they are getting at is that "quitting an app" in
> Android is not usually necessary (if ever).
> My favorite link for this subject (quoted words from Herself):
>
> http://android-developers.blogspot.com/2010/04/multitasking-android-w...
>
> It is a different world from the way Some OS's behave (no finger
> pointing)...  trust the OS to do it's job, and write good code...
> Simple, right?
>
> Peace,
> Dan
>
> On Aug 4, 1:12 pm, Frank Weiss <[email protected]> wrote:
>
>
>
> > On Wed, Aug 4, 2010 at 9:54 AM, ls02 <[email protected]> wrote:
> > > I want to terminate the Linux process, the same way Pandora app does.
>
> > I'm not being cheeky, but just want to understand your thinking. If
> > the Android app's host linux process is NOT terminated, what is the
> > consequence, if any?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to