Android camera freezes after taking one photo

后端 未结 6 1464
我在风中等你
我在风中等你 2021-01-04 00:34

I\'m doing one project with camera and after taking one photo camera freezes and u have to finish the activity and recall it again to take another photo, how can I take phot

6条回答
  •  独厮守ぢ
    2021-01-04 01:16

    Instead of using the activities defined by the existing camera app on your phone, you can write your own Activity that uses the Camera API directly to accomplish the functionality you describe. The Camera class is documented here: http://developer.android.com/reference/android/hardware/Camera.html

提交回复
热议问题