Quantcast
Viewing all articles
Browse latest Browse all 77050

How to release and reacquire the camera resource with zxing

I am creating a light-weight scan application using xamarin forms, prism and zxing.

The application will continue to scan and analyse when the phone is locked (only on Andriod). This seems to be a problem for both zxing 2.3.1 and 2.4.1.
Wen the phone is locked, the application seemingly dont care that IsAnalysing = false.

How can i release and reacquire the camera resource in the App.xaml.cs file using OnSleep() and OnResume()?


Viewing all articles
Browse latest Browse all 77050

Trending Articles