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

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:

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

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

Make yours with AppCub

Seeing the plan is free. Building starts with a 2-day trial for ₹99.

Start building