How can i use burst camera mode of new android phones in my app?

半世苍凉 提交于 2020-01-02 04:29:05

问题


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?


回答1:


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 :)



来源:https://stackoverflow.com/questions/13566257/how-can-i-use-burst-camera-mode-of-new-android-phones-in-my-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!