Hi, I have an activity that gets launched by a service and the activity takes a pictures then sends it to your email. How it works is if you launch the activity while the screen is locked it waits for the screen to be unlocked before the picture is taken. I want it to take it while the screen is locked and the person enters an incorrect passcode. I know this is possible because most security apps have this feature, one example is "androidlost". Could someone help?