Originally Posted by darixtorento
Do you know how to use tasker ? It is not just an option to have picture taken. It is an app then let you automatize certain tasks on a particular event.
Here is how you do it tasker to take picture when you unlock the phone:
Open Tasker, go to Tasks Tab, click on + sign at the bottom right to create a new task, name it whatever you want "takepic" Then once inside the task you created click again on + sign that is in the middle at the bottom, Select "Media" from the list then "Take Photo" Type in the filename you want to give to the picture that will be taken, Select Camera Rear or Front, you can look in to other options if you want to change resolution of picture etc.. Once done Click on the top left side Arrow icon beside tasker icon.
Now you have the task action created. You need to create profile when this action will be taken. Go in to Profile Tab, Click on + sign at the Right bottom then "Event" then "Display" then "Display Unlock" Click again on the Arrow on the top left side to save the profile, it will prompt to ask which Task you want to assign to this Profile you Chose the task we created earlier 'takepic"
And you are done
Dont forget to click thanks