Friday, July 29, 2011

Re: [android-developers] How to force stop launched process even running on front ?

On Thu, Jul 28, 2011 at 8:46 AM, rony <syedharoonalam@gmail.com> wrote:
> I am writing a task manager service and need to force close any
> running process, lets say browser, I tried using
> killBackgroundProcesses,restartPackage,killProcess but none of these
> force closes process ( e.g browser ) when process is on front else
> they are working.
>
> I want to force stop the process even when process is running on
> front. What should I do now ??

Give up. What you want is impossible, thank goodness.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment