# Mobile Stock Count App used with Andriod Barcode Scanner: Help Needed

**URL:** <https://community.glideapps.com/t/mobile-stock-count-app-used-with-andriod-barcode-scanner-help-needed/77301>\
**Category:** Ask for Help\
**Created:** [October 24, 2024, 2:51pm UTC](https://community.glideapps.com/t/mobile-stock-count-app-used-with-andriod-barcode-scanner-help-needed/77301 "2024-10-24T14:51:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LucD](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucd/32/87418_2.png) [@LucD](https://community.glideapps.com/u/LucD)\
**Post date:** [October 24, 2024, 2:51pm UTC](https://community.glideapps.com/t/mobile-stock-count-app-used-with-andriod-barcode-scanner-help-needed/77301/1 "2024-10-24T14:51:29Z")

</div>

Hey Gliders!

I have built a stock count app using Glide Apps that is designed to work on an Android-based barcode scanner. The current process requires the user to click into a text field and then scan the barcode. Once scanned, the barcode value appears in the text field, but the user must then click a button to record the stock count.

I have two questions:

1. Is it possible to automatically trigger an action as soon as the barcode value is populated in the text field, instead of requiring the user to click a button? I’ve noticed that the barcode scanner automatically sends a “return” signal after scanning.
2. If the above is not possible, can I restrict the text field to a single line or trim the input value to prevent extra spaces, which can cause issues with item lookup?

 ![Screenshot 2024-10-24 at 16.24.31](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/d/cdfa88cf900e078a2d706f9c7e17bb877caaf504.png)  
 ![Screenshot 2024-10-24 at 16.24.42](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/f/6f84a468b415fcb75ceda1c63ecf0bab62d9a0cc.png)

---

<div class="post-metadata">

**Author:** ![noobglider](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/noobglider/32/81806_2.png) [@noobglider](https://community.glideapps.com/u/noobglider)\
**Post date:** [October 24, 2024, 9:06pm UTC](https://community.glideapps.com/t/mobile-stock-count-app-used-with-andriod-barcode-scanner-help-needed/77301/2 "2024-10-24T21:06:32Z")

</div>

Hi there, I’m not sure regarding the action trigger based on just the text entry, but regarding the barcode scanner, most are configurable so that you can add/remove prefixes and suffixes, so you should be able to remove the return, in order to just capture the code.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [October 25, 2024, 12:29am UTC](https://community.glideapps.com/t/mobile-stock-count-app-used-with-andriod-barcode-scanner-help-needed/77301/3 "2024-10-25T00:29:54Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/7/478354b67401be9130622d60ef93c8631635fe38.png)

Barcode scanners has an on scan action, so I assume you can write the value to a column, and then trigger the action you want using that “on scan” section.

---

<div class="post-metadata">

**Author:** ![LucD](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucd/32/87418_2.png) [@LucD](https://community.glideapps.com/u/LucD)\
**Post date:** [October 25, 2024, 5:40am UTC](https://community.glideapps.com/t/mobile-stock-count-app-used-with-andriod-barcode-scanner-help-needed/77301/5 "2024-10-25T05:40:38Z")

</div>

Hi ThinhDinh

I believe this is only available for the in app barcode scanning feature that uses the camera of the phone. I don’t think it works with the barcode scanner module built into the Andriod device.
