Hi,

if you kill the application completely:

int pid = android.os.Process.myPid();
android.os.Process.killProcess(pid);


On 13 sep, 09:58, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> There is no need to do this. The user can just press the Home key to
> "exit" the app.
>
>
>
>
>
> On Fri, Sep 12, 2008 at 6:27 PM, elephantbug <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > Is there a way to exit the application completely at any place?
>
> > call finish() will only exit the current activity.
>
> > I tried to getApplication() from activity and call its onTerminate()
> > directly... but it seems not working at all...
>
> > Anyone can give any clue how to do it?
>
> > Thanks
>
> --
> Romain Guywww.curious-creature.org- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

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