dirhem
dirhem

Reputation: 621

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?

Upvotes: 5

Views: 1062

Answers (1)

ConnorRoberts
ConnorRoberts

Reputation: 91

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

Upvotes: 1

Related Questions