title: how to capture image automatically in Android
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9682928/capture-image-with-front-camera-without-opening-the-camera-application-in-androi">Capture image with front camera without opening the camera application in android</a>  </p>
  </blockquote>
  
  
  
  <p>my problem is I can do capturing only by using Intent to launch the camera and click the button to capture image. Is it possible to do it automatically by not clicking a button or what codes can I add to do this? thanks in advance.</p>