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 typeExample
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:

  1. Upload the .apk file to the Application management tab.
Application management tab
  1. Click on Install.
Install button
  1. Choose the Image injection checkbox.
  1. Confirm the initiation of the installation process.
  1. 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.
  1. Click on the QR/Barcode (Beta) icon in the Quick access toolbar.
QR/Barcode icon
  1. 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

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
  1. 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.

Injected copy

When you use the Image injection toggle for an app installation, a copy of the application will appear in the Application management tab. This copy has already been re-signed and injected with the library that allows QR/Barcode scanning and Biometric authentication. That is why, the injected copy is installed much quicker.

The modal with the options for installation will not appear when you click on Install for the app labelled as Injected copy.

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:

Scroll to Top