QR/Barcode scanning on Android
Camera-based features are possible to test on Mobitru Android devices. You can upload a QR/Barcode image to the platform, and the device will scan it.
The feature is available in beta mode for Android devices.
QR/Barcode scanning requirements
The QR/Barcode feature has the following requirements:
- Mobile application type: native Android.
- Image extensions: .jpg, .jpeg, .png.
- Image background and frame color: white (other colors may be scanned as well, but the white one is preferable).
- Image max size: 5MB.
- Supported barcode types: QR, Aztec, Code 128, Code 39, Code 93, EAN-8, EAN-13, UPC-A, UPC-E, ITF, PDF417, Data Matrix.
Barcode types examples
The table contains examples of the supported barcode types.
Code type | Example |
---|---|
QR | ![]() |
Code 128 | ![]() |
Code 39 | ![]() |
Code 93 | ![]() |
EAN-13 | ![]() |
EAN-8 | ![]() |
ITF | ![]() |
UPC-A | ![]() |
UPC-E | ![]() |
PDF417 | ![]() |
Aztec | ![]() |
Data Matrix | ![]() |
If you need a barcode type that is not on the list of the supported ones, you need to contact support@mobitru.com.
QR/Barcode scanning steps
Follow the steps to scan a barcode image:
- Upload the .apk file to the Application management tab.
![Application management tab](https://docs.mobitru.com/wp-content/uploads/2024/04/mobitru_app_management.png)
- Click on Install.
![Install button](https://docs.mobitru.com/wp-content/uploads/2024/04/install_app_mobitru.png)
- Choose the Image injection checkbox.
![](https://docs.mobitru.com/wp-content/uploads/2024/04/mobitru_injection.png)
- Confirm the initiation of the installation process.
![](https://docs.mobitru.com/wp-content/uploads/2024/04/mobitru_confirm_installation.png)
- Open the installed application.
The app installation duration increases when you choose the Image injection checkbox. It is caused by the Image injection feature adding.
- Click on the QR/Barcode (Beta) icon in the Quick access toolbar.
![QR/Barcode icon](https://docs.mobitru.com/wp-content/uploads/2024/04/barcode_toolbar.png)
- Choose a QR/Barcode image for scanning with the help of the Upload image button or drag and drop the file to the modal.
![Upload image button](https://docs.mobitru.com/wp-content/uploads/2024/04/barcode_upload.png)
If the uploading process is successful, you will see the message about it in the top part of the Device area:
![Successful QR/Barcode image upload](https://docs.mobitru.com/wp-content/uploads/2024/04/barcode_successful_upload.png)
- Activate the camera-based feature for scanning a QR/Barcode image in the installed application.
There may be a situation when you do everything according to the instructions, but the feature fails. In this case, do not hesitate to contact support@mobitru.com.
QR/Barcode cancellation
If you have initiated a QR/Barcode image scanning, after clicking on Cancel, you will see a confirmation modal where you can choose one of the buttons:
- Yes – to stop the QR/Barcode uploading and scanning.
- No – to continue the QR/Barcode scanning.
Error messages
If you have not followed the steps described above, you will see such message: