I would like to be notified when a device administrator is enabled/disabled
on the device. I've tried listening for ACTION_DEVICE_ADMIN_DISABLED and
ACTION_DEVICE_ADMIN_ENABLED, but I'm never receiving a broadcast. The docs
state they are sent the device administrator itself, so perhaps they
No only the device administrator itself is sent these. Of course if you are
writing the administrator, you can send your own broadcast as a result. If
you are not writing the admin, you should be getting to find out what is
going on with it.
On Fri, Apr 29, 2011 at 5:13 PM, Rick Alther
Thanks for the quick response Diane. No, I am not writing an Admin, nor do
I want to. However, I am writing some security tools for our corporation
and we require a Device Admin on the device to enforce our security policy.
So, one of the things I'm doing is looking to see that they have a
I don't understand how you can require some device admin. If it isn't your
own admin, how can you trust that it is actually doing what you want in any
way.
If you want to have some controls provided by a device admin, you should
write one and it can implement whatever communication with your
4 matches
Mail list logo