why i kill an application in android system,but it restart again -


I have to kill an application when I receive a major event in phonewindowmanager.java

  Try {ActivityManagerNative.getDefault (). KillApplicationProcess ("com.konka.fakestandby", 1000); } Hold (Remote Exception E) {}  

But restart it again

  I / ActivityManager (1737): process com.konka.fakestandby ( Pid 3571) It's dead. 10-17 16: 44: 12.448 I / WindowState (1737): Winning: Window {422cd068 u0 com.konka.fakestandby / com.konka.fakestandby.MainActivity} 10-17 16: 44: 12.472 I / Activityman (1737): Project Com Konka.fakestandby com.konka.fakestandby / for activity The main activity: pid = 3603 uid = 10024 gids = {50024, 1028}  

I'm confused, and hope someone helps me. Thank you

  1. If Falstandby is your own app, you must stop the activity and process Will not have to kill.

  2. If this is not your app then it may have to restart the service (sticky).

  3. If not, then the Android Framework is designed to relaunch an installed app, when it is free to allocate If this is the case then you need to uninstall the application after the murder. You need root access for this.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -