This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to keep the image still after capturing through camera in android

 
sohaib rahman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I have created an application which does the following:
1.Preview
2.Capture Image
3.Save Image
4.Still the image
5.Preview Again

I have written the following code to do the above things:


From the above code I am able to perform steps 1, 2, 3 and 5 but not step 4. How to do this? Can you provide me any code or any idea?

My application is creating the camera from the scratch rather than using the inbuilt camera API. But it should behave like an original camera that means, it must still the image and when the back button is pressed, it should again come back to the preview.

I am not able to still the image after capturing the picture. Please help me! How to do that?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic