Using the Front Camera and toggle cameras

Jul 31, 2014 at 7:02 AM
Edited Jul 31, 2014 at 7:03 AM
Hi,

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()
Coordinator
Aug 4, 2014 at 6:14 PM
That question is related to the ZXing.Net.Mobile project.
Please ask that question here:
https://github.com/Redth/ZXing.Net.Mobile