"But my question is "Why does user has to wait till android closes
particular application, Instead why doesn't user do this"?"

Because this is how it is done in Android. If you change it, users
will get confused and eventually annoyed.

On Jan 21, 3:58 pm, pink 444 <[email protected]> wrote:
> Thanks for your replay.
>
> And i went through the link , which you specified.
>
> As i understood process will be killed by android only.
>
>  But my question is "Why does user has to wait till android closes
> particular application, Instead why doesn't user do this"?
>
> Instead of waiting till android system cleans all the resources used
> by the application , It is more efficient if user able to clean all
> the resources used by the application. Especially it is useful in
> embedded environment like mobiles.
>
> If you take any game and user does not have any option to close the
> game . Then the application has to wait for android system to clean
> resources , which are owned by the application. But these type of
> applications are not used by the user regularly(Generally Once in a
> day or week).
>
> On Jan 21, 3:06 pm, "Mark Murphy" <[email protected]> wrote:
>
>
>
> > >     In my application i have to close the application.
>
> > No, you don't.
>
> > >     Hence i am using System.exit(1).
>
> > Please do not do this.
>
> > >     But some times it is trying to restart entire application.
>
> > >     What is the problem?
>
> > You are trying to close the application. Please do not do this.
>
> > If you want to simply close up an activity, the activity can call finish().
>
> > >      How can i close an application safely?
>
> > You do not need to:
>
> >http://stackoverflow.com/questions/2033914/quitting-an-application-is...
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > Android App Developer Books:http://commonsware.com/books.html
-- 
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