J. Naude
J. Naude

Reputation: 93

Set the default camera to front/back in CodenameOne

Sometimes I want to "scan" documents with the back camera, and sometimes take selfies with the front camera. Is it possible to set the default camera before calling the Capture.capturePhoto() method?

I see that the default camera is always the one that was last used.

Upvotes: 3

Views: 86

Answers (1)

Diamond
Diamond

Reputation: 7483

You should take a look at the new native camera API which lets you have more control over the camera.

This blog is about the library.

Upvotes: 4

Related Questions