Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 741
dirhem Avatar asked Nov 12 '22 16:11

dirhem


1 Answers

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

like image 118
ConnorRoberts Avatar answered Nov 15 '22 04:11

ConnorRoberts