aspose file tools*
The moose likes Android and the fly likes How to keep the image still after capturing through camera in android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to keep the image still after capturing through camera in android" Watch "How to keep the image still after capturing through camera in android" New topic
Author

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

sohaib rahman
Greenhorn

Joined: Jun 01, 2010
Posts: 20
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to keep the image still after capturing through camera in android