This project has moved and is read-only. For the latest updates, please go here.

Using the Front Camera and toggle cameras

Jul 31, 2014 at 8:02 AM
Edited Jul 31, 2014 at 8:03 AM

I use ZXing.Net with Xamarin on Android and it works pretty good, thank you!

Currently I want to enable users to use the Front Camera and I tried this:

var result = await scanner.Scan(new MobileBarcodeScanningOptions(){UseFrontCameraIfAvailable=true});

But unfortunately this does not work on my test device (Samsung Galaxy S2). I still cannot use the front camera. How to invoke this correctly?

My second question is: Will there be an option to toggle Front and Back Camera? Like I can do now with the flashlight scanner.ToggleTorch()
Aug 4, 2014 at 7:14 PM
That question is related to the ZXing.Net.Mobile project.
Please ask that question here: