Skip to main content

Ready-to-Use UI

We've improved the Ready-to-Use UI Components of our iOS and Android Barcode Scanner SDKs, which makes it even easier to provide your users with an intuitive scanning interface without having to build it yourself!

The Ready-To-Use UI (RTU UI) is an easy-to-integrate and highly customizable high-level UI component that can handle most barcode scanning use cases and tasks.

The design and behavior of this component are based on our many years of experience as well as the feedback from our SDK customers.

Although the main idea of the RTU UI is to provide simple-to-integrate and simple-to-configure components, its customization capabilities are numerous and should suit most of your needs. To achieve an even higher degree of customization, you can implement a custom UI and business-logic using our Classic SDK UI Components.

Launching the RTU UI Barcode Scanner

With just a few lines of code, you can integrate barcode scanning into your application's workflow. It's as simple as creating a new Widget to enhance your app's functionality.

Launching RTU UI v2 Barcode Scanner snippet
loading...

Change the visuals to suit your needs

In addition to a fresh new design, the RTU UI v.2.0 comes with new configuration options that enable you to quickly adapt its visual appearance:

Palette

Using the new palette feature, you can change the UI components' colors to match your brand design.

Configuring RTU UI v2 palette snippet
loading...

Localization

Using the new localization feature, you can easily localize the strings that are displayed on buttons, labels and text fields.

Configuring RTU UI v2 localization snippet
loading...

User guidance

Text elements, such as on-screen user guidance, can be customized in both style and color to suit your preferences.

alt text

Example for configuring the user guidance

Configuring RTU UI v2 user guidance snippet
loading...

Top bar

You can choose how to display the top bar in your app: HIDDEN, SOLID or GRADIENT.

alt text alt text alt text

Example for configuring the top bar

Configuring RTU UI v2 top bar snippet
loading...

Action bar

The zoom and flashlight buttons and a button to switch cameras are now included out of the box.

alt text

Example for configuring the action bar

Configuring RTU UI v2 action bar snippet
loading...

Barcode sheet mode

The bottom sheet used to display previews of the scanned barcodes has two modes: COLLAPSED_SHEET and BUTTON. In COLLAPSED_SHEET mode, the bottom sheet is visible and collapsed and can be expanded by dragging it up. In addition, the button can show the overall barcode count.

alt text alt text alt text

Example for configuring the barcode sheet mode

Configuring RTU UI v2 barcode sheet mode snippet
loading...

Use cases

Single Scanning with confirmation dialog

alt text

The Single Scanning mode is optimized for scanning single barcodes and easily configurable according to your needs. It comes with the option of showing a confirmation sheet after the barcode is scanned. The confirmation sheet is also highly customizable, offering the ability to configure the barcode title, the barcode subtitle, the cancel button, and the submit button.

Example for configuring the Single Scanning mode

Configuring RTU UI v2 barcode Single Scanning use case snippet
loading...

Multiple Scanning

alt text

The Multiple Scanning mode is very flexible and allows you to configure each component in several ways.

Firstly, it offers two display modes: one with a collapsed list of scanned barcodes and one with just a toggle button that brings up the list.

Secondly, there is an option to configure the counting mode. The counting mode can either be COUNTING or UNIQUE. In COUNTING mode, the scanner scans barcodes with the same value again and counts the number of items. In the UNIQUE mode, the scanner only scans barcodes with unique values. If another barcode has the same value, it won't be scanned again.

Additionally the countingRepeatDelay can be used to set the time interval in milliseconds that must pass before counting a barcode again.

Example for configuring the Multiple Scanning use case

Configuring RTU UI v2 barcode Multiple Scanning use case snippet
loading...

Find and Pick Scanning

alt text

Using the Find and Pick Scanning mode, you can set a list of expected barcodes to be scanned. In the list, you can provide for each barcode its barcodeValue, title, image, and count. The count simply means, the number of times a barcode needs to be scanned. You also have the flexibility of setting the allowPartialScan property of the use case to complete the scanning with partial results. The Find and Pick use case also makes it possible to provide an extensively elaborated visual experience using AR overlays by providing the ability to properly distinguish between different barcodes (not expected, expected but partially or fully scanned). The bottom sheet is also highly customizable and provides information of the current state of the barcodes. You can also manually change the count of each barcode from the list, incrementally or by tapping the count and manually typing in the number.

Example for configuring the Find and Pick Scanning use case

Configuring RTU UI v2 Barcode Find and Pick Scanning use case snippet
loading...

AR overlay

alt text alt text

The Barcode AR Overlay can be enabled to display and select recognized barcodes in an augmented-reality fashion. Each recognized barcode will be presented on the barcode overlay by a colored frame and text. The style of the frame and text can be customized for scanned and not-yet-scanned barcodes. Barcodes can be selected automatically or by tapping on the barcode overlay.

Example for configuring the AR overlay

Configuring RTU UI v2 Barcode AR overlay snippet
loading...

Display product information right in your scanning interface

alt text alt text

Some use cases require the data connected to a barcode's value to be displayed to the user directly. That is why we have added the option to visualize this data in the scanning interface. For example, you can show a product image next to the article number encoded by the barcode.

This feature is also available for the SDK's AR overlay, making it even easier for users to identify a barcode's contents in real time.

Example for mapping the item information

Configuring RTU UI v2 barcode item mapping snippet
loading...

Full example source code of the RTU UI Barcode Scanner

You can refer to a full example implementation in our source code demo.

Full API reference

You can find the full API reference for all classes using this link. Please note that there are two RTU UI libraries - you should direct your attention to classes under rtu_ui_barcode library. The other one - rtu_ui_legacy_barcode - contains the previous RTU UI implementation and will be fully replaced in the future.

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get your free Trial License

What do you think of this documentation?