1

Override device admin application enabling process programmatically

view story
linux-howto

http://stackoverflow.com – I'm developing an application which uses Android's device admin APIs. http://developer.android.com/training/enterprise/device-management-polic... As mentioned in link above "Before enforcing any policies, the user needs to manually activate the application as a device administrator. " Can I override this step programmatically? I want my application to be always enabled and do not want to depend on the user to enable it. Is there anyway that in my code I can set my application to be enabled? Or is user intervention un-avoidable? (HowTos)