web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Barcode reader integra...
Power Apps
Answered

Barcode reader integrated in device does not read in powerapps. Why?

(1) ShareShare
ReportReport
Posted on by 53

barcode reader integrated in device does not read in powerapps. Why?

Categories:
I have the same question (0)
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @bitgalicia 

     

    We are not sure. Is it because the Barcode Reader uses a mobile phone's Camera to take picture of the barcode and then read the barcode from the picture, rather than a more rare use case of using an actual hardware Barcode Scanner attached to the device?

     

    Other than maybe the above, we're not sure of an answer on this one.

  • Community Power Platform Member Profile Picture
    on at
    So you have a barcode integrated device such as a Zebra Android device and you want to use it with PowerApps?
  • BU-21081204-0 Profile Picture
    53 on at

    Yes, and it is not able to read in PowerApps because the barcode reader uses the camera of a mobile phone to take a picture of the barcode and then read the barcode of the image, do you know if there is any solution?

  • Community Power Platform Member Profile Picture
    on at

    Try this:

    Add a text input control with the DelayOutput property set to true

    In its OnChange property, add this:

    Set(ScanValue,TextInput1.Text);
    Notify("You scanned an item. Barcode Value: " & ScanValue);
    Reset(TextInput1);
    SetFocus(TextInput1);
    //Add the rest of your code here..

    Save and publish the app, try scanning something. It should pop up a notification with the barcode's value.

    If that works, remove the Notify() function and add in the rest of your code after the SetFocus() function.

    If this doesn't work, make sure that when you scan something, the scanner is sending an ENTER command after each scan. You can test this by opening a Notes app on your android device and scan something. It should enter the barcode value and then go to a new line.

    This is something we're planning on doing at work, so keep me posted if it works! We've got a Zebra ordered and this is what I was going to try.

    ---
    If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.

  • BU-21081204-0 Profile Picture
    53 on at

    The problem is that it does not write what it scans in the text control, but if you do it outside of PowerApps, the reader works perfectly. That's why I explained before, it doesn't emulate keyboard.

  • Community Power Platform Member Profile Picture
    on at

    I see. So even in a Notes app, it doesn't emulate a keyboard? Or is it specific to PowerApps?

  • BU-21081204-0 Profile Picture
    53 on at

    Is it specific to PowerApps

  • Community Power Platform Member Profile Picture
    on at

    @bitgalicia

    I have a Zebra TC20 arriving today. I am going to experiment with it. I'll let you know what I find out.

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    @bitgalicia 

    I've got this working on my TC20. Are you still having issues?

  • Verified answer
    BU-21081204-0 Profile Picture
    53 on at

    No, I have already solved it, thanks for your help, very kind

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 405 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 280 Super User 2025 Season 2

#3
Kalathiya Profile Picture

Kalathiya 272

Last 30 days Overall leaderboard