How to capture image from camera without user interaction using android
android, camera
Solution
You can go through through the following tutorial and it will serve your purpose. I had a similar requirement and i used this code its working nicely!
Camera API
See section 4 using the Camera API
Problem
I am developing an application which will capture the image automatically and store it in SD card when the application is started. (i.e) without any user interaction after the initialization of the application. I hear that using intent we can take pictures but user interaction is necessary.So i used camera classes. But it was not working. I came across various posts but nothing seems to be useful. Can any one give me a suggestion?