调用 Camera.takePicture Android 后禁用相机快照
我在相机对象上调用 takePicture(),同时显示使用 SurfaceView 拍摄的内容的预览。我希望能够调用 takePicture() 而不会导致预览屏幕冻结并显示刚刚拍摄的快照。如何禁用此功能并保持预览在后台运行?
I am calling takePicture() on my camera object while showing a preview of what is being taken using a surfaceView. I want to be able to call takePicture() without the preview screen freezing with a snapshot of what has just been taken. How can I disable this and keep the preview running in the background?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你不知道。当设备从 CCD 读取数据并转换为 JPEG 时,
SurfaceView
预览不会更新。You don't. While the device is reading the data off the CCD and converting into JPEG, the
SurfaceView
preview is not updated.