I am using android.provider.MediaStore.ACTION_IMAGE_CAPTURE to capture images, however on pressing Ok button the camera activity is closed and I received the result in onActivityResult. Is there a way the image c开发者_如何转开发apture activity can be kept running after pressing OK button. At the moment I am starting it again through my onActivityResult function, is it possible that I can keep the same image capture activity running after a successful image capture.
I don't think this is possible with the ACTION_IMAGE_CAPTURE
intent. Instead you will have to control the camera preview in SurfaceHolder
. Here is one example I have found - How to Program the Google Android Camera to Take Pictures.
精彩评论