How to add QR codes to your business app
An AppCub app can do both sides of QR codes: show one on screen, such as your UPI QR or a member's pass, and scan QR codes and barcodes with the phone's camera. Scanning works in the installed Android app, not in the web preview.
Updated 2026-11-09
Showing a QR code
- Your UPI QR on a Pay screen, with your UPI ID and the amount to pay written beside it
- A QR pass for each member, student or guest, made from their ID, for entry or attendance
- A QR on an order or bill that staff scan to open it quickly
- A QR of your app's web link or your website, so a customer can open it on another phone
Scanning with the phone's camera
An AppCub Android app can use the phone's camera to scan QR codes and common barcodes. Some useful ways:
- Stock: scan a product's barcode to find it, add it to a bill or update the count
- Attendance: scan a student's or member's QR pass at the door
- Orders and parcels: scan a code to open the order and mark it delivered
- Assets: put a QR sticker on each machine, tool or room and scan it to log a service
What it does not do
Scanning uses the phone's own camera. AppCub apps do not connect to separate barcode scanner guns, billing machines or label printers. The camera scanning works in the installed Android app; the web link version and the web preview next to the chat cannot scan, so test scanning on your phone.
For payments, a UPI QR or a "Pay via UPI" button sends the customer to their own UPI app. Your app is not told the payment arrived; check your bank app. For payments the app can confirm, connect your own Razorpay account from the chat.
Good practice
- Print QR passes and stickers large enough and on matt paper to avoid glare
- Use codes that point to an ID in your app, not to private details in plain text
- Have a manual search for when a label is torn or the light is bad
- If staff scan on their own phones, keep the data in your own Supabase database so every phone sees the same records
With AppCub
Ask, for example: "Add a Scan button on the Stock screen that scans a product barcode with the camera and opens that product; if it is new, open the Add product form with the barcode filled in." Or: "Show my UPI QR and UPI ID on a Pay screen with the bill total." AppCub shows it in the plan, then builds it; scan the QR next to the chat to install the app and test the camera.
Questions
Can my app scan barcodes?
Yes. An AppCub Android app can scan QR codes and common barcodes with the phone's camera, in the installed app.
Does scanning work in the web link or preview?
No. Camera scanning works in the installed Android app. Test it on your phone.
Can I use a barcode scanner gun with the app?
No. AppCub apps use the phone's own camera and do not connect to separate scanners.
Can the app show my UPI QR code?
Yes, on a Pay screen with your UPI ID. Check your bank app to confirm payments.
Can I mark attendance by scanning a QR?
Yes. Give each student or member a QR pass and scan it at the door with the app.
Can the app print barcode labels?
No. It does not connect to label printers. It can show a QR on screen or in a PDF to print from the phone.
Read next
- How to add a QR code to your website
- How to add online payments to your app
- App guides by business
- App for an abacus class
- App for an AC repair service
- App for a fertiliser and seeds shop
- App for an alumni group
- App for an ambulance service
- App for an appliance repair shop
Make yours with AppCub
Seeing the plan is free. Building starts with a 2-day trial for ₹99.