The requirement is to kill an application which is pushed to the background after a time interval. How can i do that in android? If anybody could share the code snippet, it would be great.
Thanks, Jinu
The requirement is to kill an application which is pushed to the background after a time interval. How can i do that in android? If anybody could share the code snippet, it would be great.
Thanks, Jinu
The android framework does not provide permission to kill other app process. You can only kill your app processes.
Process kill permission is only for system apps.
Still try using this permission in your Menifest
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>