android camera 如何实现拍照后不停止预览功能

根据android api 中 camera.takePicture(
This method is only valid when preview is active (after startPreview()).  Preview will be stopped after the image is taken; callers must call startPreview() again if they want to re-start preview or take more pictures. This should not be called between start() and stop().
After calling this method, you must not call startPreview() or take another picture until the JPEG callback has returned.
发现要拍照需要调用的takePicture方法会停掉一下预览,我们现在自己的工程机器上发现,有一些低配置机上,调用这个方法后底层回调 Camera.PictureCallback要几秒钟时间,然后又只能在这个回调里重启预览startPreview(),导致画面有一个明显卡顿在拍照页面的效果。
现在我就想拍照不调用 camera.takePicture()可不可以实现?类似于有些连拍相机APP的效果(在网上下了一个连拍APP在我们工程机上可以实现,求其思路)!
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值