How to take picture using surface view with camera and display in imageview
<p>I have the requirment in one my activity imageview and button  if user click the take picture button.I have to show preview another activity from preview activity user click the button  and take the picture and display in the imageview in previous activity   I have to open front face camera for capturing user image eg if i am using tablet I have to take my picture can anybody tell how to do?  can anybody provide sample code</p>

<p>Thanks</p>
