Hi,

Hope all doing well.

I am trying to  use following api  to restart package.It is working on
emulator but it is not working on device..

android.app.ActivityManager am =
(ActivityManager)context.getSystemService(Context.ACTIVITY_SERVICE);
am.restartPackage("some packagename");


Thanks & Regards,
Ashiq Sayyad

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

Reply via email to