First of all: Why?
Secondly: If your process is killed (through a 'kill' command issued,
through System.exit or Process.killProcess), the OS may restart it (like
you see sometimes when your app crashes and is starting up immediately
again with the previous Activity). Also, and this depends on y
If your activities host in different processes, you have to kill the
processes manually. Otherwise the command kills all activities hosted in
one process.
On Thu, Jan 3, 2013 at 11:17 AM, laxman k wrote:
> it is only kill the current activity
>
> On Thu, Jan 3, 2013 at 1:27 PM, Sushant Das wrot
it is only kill the current activity
On Thu, Jan 3, 2013 at 1:27 PM, Sushant Das wrote:
> *android.os.Process.killProcess(android.os.Process.myPid())*
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to a
You can also use *android.os.Process.killProcess(android.os.Process.myPid())
* . I hope it helps
On Wednesday, January 2, 2013 8:51:45 PM UTC+5:30, laxman k wrote:
>
> how terminate android application from any activity and kill background
> process
>
> i am use
> finsh();
> system.exit(0);
> Sy
I think
android.os.Process.killProcess(android.os.Process.myPid());
does what you want.
среда, 2 января 2013 г., 18:21:45 UTC+3 пользователь laxman k написал:
>
> how terminate android application from any activity and kill background
> process
>
> i am use
> finsh();
> system.exit(0);
> Syste
Just use ps and kill linux commands.
среда, 2 января 2013 г., 18:21:45 UTC+3 пользователь laxman k написал:
>
> how terminate android application from any activity and kill background
> process
>
> i am use
> finsh();
> system.exit(0);
> System.runFinalizersOnExit(true);
> android.os.Process.kil
Why are you trying to do this?
On Wednesday, January 2, 2013 3:21:45 PM UTC, laxman k wrote:
>
> how terminate android application from any activity and kill background
> process
>
> i am use
> finsh();
> system.exit(0);
> System.runFinalizersOnExit(true);
> android.os.Process.killProcess(androi
7 matches
Mail list logo