Friday, July 30, 2010

[android-developers] Re: Correct way to kill the application

A good article. A little harsh on the OP, but even so, a good article.

After all: given that that IS the design of Android, that Applications
should not quit, but leave termination up to the OS, the article makes
its case well, even elegantly.

But I cannot help but notice: after Android did all that hard work of
designing the whole system to work that way, what does the market say
about it? The presence of so many "Task Managers" for Android seems to
imply that the Market does NOT agree with this paradigm.

Nor would that conclusion really surprise me, since it is a basic
expectation, almost an instinct, even predating computers: if it
doesn't work, you want to hit Reset, or power-cycle the device, and
you expect that it will be in a known good state (note the terminology
reminiscent of s certain OS with its "last known good"). Exiting an
application is the software-analog of shutting the power off: you
expect that the next time you enter, you get a clean slate.

True, WebOS doesn't work that way either, and Android's way is a new
trend. But I don't see the market approving this in WebOS either --
even if it does like it better than Palm's previous OS, Palm OS. For
Palm OS was ugly.

Besides: despite all the claims otherwise ("just let the system do
it"), I _have_ come across circumstances when I really do want to just
exit everything to get the phone to behave again. Surely I am not
alone, which is why people download the Task Managers for Android.


On Jul 30, 10:39 am, Mark Murphy <mmur...@commonsware.com> wrote:
> On Fri, Jul 30, 2010 at 9:13 AM, RamaMohan <rama.mohan...@gmail.com> wrote:
> > HI all,
> > I s there any way to kill the entire application at once.Not using
> > with finish() or system.exit() ..all these two will kill the
> > activity ,but not the appication.
> > Is there any way to kill the entire application from any
> > activity .
>
> http://stackoverflow.com/questions/2033914/quitting-an-application-is...
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 2.9 Available!

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

No comments:

Post a Comment