I made a Tasker app via the Tasker App Factory that locks the screen based on various occasions. My app works fine except from the initial run which would require the user to enable it as "Device Administrator". How do I prompt the user to do this instead of having to instruct them to go to Settings > Security > Device Administrators? I'm quite positive it has to be done by using Send intent (a Tasker function) but I'm not sure how to go about doing it.
Just to clarify, I want to show the user the dialog box for "Device Administrator" automatically on first open of the app.
Okay so I tried using Intent Intercept but even that, doesn't seem to intercept the Device Administrator prompt. See my video below on how the Device Administrator prompt appears when I select it to be enabled on Secure Settings (a Tasker plugin).
http://www.youtube.com/watch?v=TprkAYoDVDI
As you can see above, Intent Intercept never prompted me and the Device Administrator dialog still popped up.