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.