Re: [android-developers] ActivityManager.restartPackage() is not working

2009-12-09 Thread Dianne Hackborn
You probably don't want to do this. Unless you really want to suddenly kill all of your processes, unregister all of your alarms, remove all of your notifications, etc. If you just want to do this as some kind of test, you can use the Force stop button in Manage Applications. On Tue, Dec 8,

[android-developers] ActivityManager.restartPackage() is not working

2009-12-08 Thread Asif k
Hi All, I want to kill my application whose base activity is demo.test.MyActivity. I am trying to kill it from other application by following code, but getting the error like package name is not valid am.restartPackage(demo.test); // here am is ActivityManager define earlier ) Thanks,