I want to write an app that will do the following when run:

   1.  remove a device administrator  (manually on the device can go to 
   Settings->Security->Device Administrators) and uncheck
   2.  remove an application and all data
   3.  I want to do the following in order
      1. Applications->clear cache
      2. drop/clear all application data
      3. force stop the application 
      4. then remove the application
   4. I then want to download and re-install the application (from Google 
   Play or a direct url to a .apk that I have).
   

Are there api's to do any of the above (just looking to be pointed in the 
right direction.

thanks


J.V.

-- 
-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to