how to capture image from Camera in Android?
<p>I have made an application to capture photos from the camera.</p>

<p>I have created two Activities: In Activity1 there is one Button which starts the camera wehen it is clicked. When the image is captured, it is passed to Activity2.</p>

<p>However, when I run the application and start the Activity1 (with the one Button) and I click on the button to start the camera it displays a pop up window showing the message "Unfortunately, camera has stopped". There are no errors in the log-cat or on the console.</p>

<p>Can anyone help me. Please. Thanks a lot.</p>
