I'm working on an app which needs to take a picture with the front facing camera of the device without preview and/or asking the user for it. It's a Anti Steal app. I've seen alot of code where they show previews of the camera, where they use the front and/or back camera and so on.
My question now is: How can I take a snapshot of the front camera and save it onto the sd card, without asking the user for permission and without previewing the camera?
Thanks alot for help.