我如何使用新的Android手机爆拍照模式在我的应用程序? [英] How can i use burst camera mode of new android phones in my app?
问题描述
这似乎是一个很多新的Android手机对他们的相机连拍模式功能和他们使用它在他们的原生相机应用程序。我在想,如果有,他们在自己的应用程序使用或者他们只是拍照在一个循环的API,我也不能肯定,所以任何人都可以照顾解释?
It seems a lot of new android phones have this burst mode feature for their camera and they use it in their native camera apps. I was wondering if there is an api that they use in their apps or maybe they are just taking photos in a loop, i couldn't be sure, so can anyone care to explain?
推荐答案
有它没有官方的API,但在此之前继续前进,开始循环.takePicture(),你应该再上一个的图片回调以避免占用了整个CPU,如果有在拍照的延迟以任何理由:)
There's no official API for it, but before you go ahead and start looping .takePicture(), you should probably be calling it again on a picture callback to avoid taking up the entire CPU if there's a delay in taking a picture for any reason :)
这篇关于我如何使用新的Android手机爆拍照模式在我的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!