cancel
Showing results for 
Search instead for 
Did you mean: 

Improve barcode scanning capability

The ability to scan barcodes in PowerApps has the capability to revolutionize a lot of our processes, but we frankly need the barcode scanning functionality to be stronger/more robust before we can implement.

 

Official guidance states that barcodes should be at least 1" high, but that simply isn't feasible in a lot of printed barcode situations, especially on identification. We would love to implement PowerApps to scan student ID cards for logging and attendance, but the barcodes don't fit the size requirements and a mobile PowerApps app can't scan them, at least on an iPhone 7. 

 

However, using other 3rd party apps (including QR Reader for iPhone, made by TapMedia Ltd) for testing purposes shows no difficulty at all in scanning the same barcode. Indeed, the app is able to correctly read the barcode before the camera can even focus on it.

 

I'm including a screenshot of the app showing the barcode that can't be read (with a redaction box for sensitive information). The yellow box actually flickers around the barcode and will often encompass it perfectly, but can't hold on to it for longer than a frame, it seems. 

 

Anyway, I'm obviously ignorant of the technical limitations, but since I know through other apps that better barcode scanning can be done, it would be great to see it improved within PowerApps.

 

Thanks!

 

EDIT: Site seemed to not like my screenshot so I'm uploading a new one.

 

barcodescreenshot.jpg

 

Status: Completed

The new Barcode scanner control is out, and we recommend it to anyone who needs to scan a barcode, QR code or data matrix codes on their mobile devices.

 

The performance is in line with modern barcode scanning apps on your mobile devices.

 

A couple of notes:

  1. Old barcode scanner control has been renamed to Web barcode scanner.  It is disabled by default and can be enabled in the experimental features settings.  We are keeping it around as it is currently the only way to scan barcodes in a web browser.
  2. The ScanBarcode function has been removed from experimental properties.  The function will still work for existing apps, but those apps should be updated to use the new Barcode scanner control.  It is the same functionality underneath, and it will store the value for you in the control, so it should be easier to use than the function.
Comments
Level: Powered On

this topic is being discussed in a separate post as well, seems they target September for Android support

 

https://powerusers.microsoft.com/t5/PowerApps-Ideas/QR-code-scanning/idc-p/133117#M5566

Level 8

FilipK, when I type the formula for Text Box, and For the button, I get the errors shown.

Screencapped and cropped them onto same page so you can take a look, hopefully you see what I am doing wrong.barcode error.png

 

PowerApps Staff

This is still an expreimental feature so we are still working out the implementation.  Support for Android would be expected around September.

PowerApps Staff

@TheRobRush did you enable the feature under experimental features first?

Level: Powered On

hi, I believe you could simply try as shown below.. 

 

Captura.PNG

Captura2.PNG

Level 8

Filipk, Yah it's been enabled.

 

Dani where did you put default=barcode, the textbox? Will give that a try, but will still need to figure out what's up with the way i made the button.

 

Thanks guys

Level: Powered On

yep, default=barcode is in the text box

 

did you double check your app settings?

Captura.PNG

Level 8

yah its enabled

barcode.png

Level 8

Figured out what I was doing wrong

 

Like Dani said I didn't need the button1.onselect portion just

 

UpdateContext({barcode: ScanBarcode()})

 

(remove the space between : and s)

 

That one goes in the onselect portion of button.

 

Same for Text box portion

 

Thanks everyone!

Level: Power Up

I actually got it to work on android by installing the open source barcode scanner app from ZXing. link to google play store

 

this is exactly the functionality I was looking for. This is the similar kind of setup that airtable currently uses.