ZXing.net for mobile is scanning phantom barcodes - xamarin.forms

I have a Xamarin.Forms app using ZXing.net mobile v3. I've had zero issues until a user reported the camera just started acting like it scanned something without ever pointing the camera to a barcode. After some troubleshooting I was able to reproduce this, but only high sunlight areas. It would scan the ground, scan the walls of a house etc... acting like it just scanned a barcode. Indoors, there is no issue.
This is on the iOS platform project.
Has anyone run into this before? Is there anything I can do about this? The main users of the app are normally outside.

Related

Rendering differences between Mobile App and Web App when using Capacitor

I have recently completed the workflow described on the Capacitor website to convert my react app to a mobile web app for iOS.
It's a really impressive tool, but I've noticed some small differences in the way the Mobile and Web apps render (see picture below). You can see the Mobile App in the simulator on the left, the Web App in a browser in the centre, and developer tools on the right.
Does anyone know why such differences arise? Is there any way to debug this? I can't tell what in the CSS might be causing the layout differences, so am having to revert to trial and error and am not getting anywhere that way.
You can see and grab the code from my sandbox here.

Will ASP.NET Form Get value from Barcode

ASP.NET Form. If running a form in a browser on a small (Android) device with a barcode scanner, will the scanned barcode go into the ASP.NET textbox? Or I need to add something to the application?
Well, it going to depend on which of the 150+ barcode scanners you decide to grab from google play.
However, the answer is yes, or no. It will depend on the kind of scanner.
If you download just a scanning application (software based - not built in scanner).
The reason is Android (and even iOS) don't allow one application to set focus, get/grab/take data from other applications. Nor is the reverse allowed. If that was possible, then the app could also get/grab/take values from when you are say running your on-line banking application.
I don't think Android thus supports focus to another application during scan that has focus. Now if this is factory supplied software on the phone? Then yes, this works like a desktop keyboard "wedge". That means the program does not know if you are typing from keyboard, or input is from the scanner (hence the name keyboard wedge). These will work with a web form.
However, we now seeing the rise of software based keyboard wedges. That means the software scanner is installed on android as a custom keyboard. And this in case, then once again, it will work in a web form.
So, for devices with a built in scanner? yes, that will work in all applications. For a software only (uses built in camera), then again, this is possible if the software in question works as a keyboard/wedge scanner.
If you going to adopt android scanning? then use a purpose built Android scanner.
And another possible if you want to use a software scanner? Write a small android application and have it talk to your web site. This I think is the best solution, but of course means you have to adopt some Android dev tools.
So how this works will depend on if the android device has a built in scanner, or it is a software + camera based scanner. However, it would seem that even now installable software based scanners in theory can be made to work for any application since the application is running and behaving as a user installed keyboard.
So, you have to check the particular device. The answer is not in all cases, and the answer depends on if you using a Android device with a built in scanner, or you looking to use any Android phone as that scanner.

GeForce Experience share feature generates whitelist errors and slows performance

I'm developing an application which is previewing video feeds from a capture card and/or a webcam. I've noticed a lot of errors in my console that look like:
IGIESW [path to my.exe] found in whitelist: NO
IGIWHW Game [path to my.exe] found in whitelist: NO
These repeat each time I try to activate a preview window or switch the source feed I'm trying to preview. It actually takes a few seconds each time and it really kills the responsiveness of my application. I'm also seeing a similar slowdown in other applications which are previewing and switching between sources.
I have two nearly identical machines and I only see the errors on the machine with the NVIDIA graphics card; it doesn't happen on the machine using the built-in Intel HD graphics. This lead me to believe it was an NVIDIA setting and on a hunch I tried disabling the "Share" feature in GeForce Experience and that fixed the problem! I really need to use the screen capture capability to record my application so simply leaving it disabled isn't an option.
I searched online for information about IGIWHW and IGIESW but I really couldn't find much other than a few "my game won't work" type forum posts.
I don't see any reference to a whitelist in the Share settings nor in the online help for the NVIDIA control panel. I tried adding my path to the list of paths in the Games scanning settings but it didn't help. Does anyone know where this whitelist is setup? It's strange that even though the errors seem to indicate that my app isn't whitelisted it still works (just very slowly).
I have GeForce Experience 3.6.0.74 and driver 381.65 running on Windows 10.

Blackberry QR Code Generator for .bar files

I have some BlackBerry apps that have been converted from Android apps. They are apps for work so dont want to be put onto the App World due to email addresses and private information. I was wondering if there is a QR code generator that will create a code for a .bar file so people can scan the code on their blackberry devices to get them onto their phone?
Many Thanks
There are a few things worth noting here:
1) If these apps are intended for a corporate environment, they need to be deployed through the enterprise's corporate BES. Otherwise, they will not have access to the work perimeter.
2) However, Android apps can not run in the work perimeter.
3) If you create a QR code that points to the address of your app in the BlackBerry World web store, and the user scans it, it should open BlackBerry World to the correct page.

Flex Mobile Web Application - Native Camera and GPS Access

I have an old flex web application which now needs to access the camera and gps on a smartphone.
I see there are external libraries to do some of the work for you but what need is native flex support for accessing the phone's GPS and camera from the mobile browser.
The application can be recompiled to any version of flex from 3 to 4.6 if necessary.
To clarify further: The SWF file is embedded in a web page which is then displayed on a tablet/phone (android, ios, etc). I want to be able to read the current GPS coordinates from the hardware GPS and be able to take a picture with the onboard camera.
If this is 100% impossible, I can call a JavaScript function to read the photo and GPS from a third party component, this component would need to be all encompassing as far as mobile devices are and be compatible with the flex externalinterface setup.
Thanks for you help in advance.
Pete
You can pretty much forget about using flash on mobile and desktop for that matter, its a dead end technology now.
Sadly there are very very few mobile devices that will give you browser access to the camera yet. There are a few, but iOS for example has not yet implemented the standard. So you are not going to be able to readily access the camera for at least another year or so. It depends on when Apple, Google and Microsoft get their act together.
As for GPS all the mobile browsers that anyone uses supports the geolocation specification so you can know where the user is.
http://professionalaspnet.com/archive/2012/05/25/A-Study-Using-The-HTML5-Geolocation-API.aspx

Resources