Jump to: navigation, search

Optical code


Revision as of 10:41, 24 March 2015 by KNO (Talk | contribs) (See also)

In order for the users to find objects more efficiently, UBIK® objects can be marked with values for optical codes. Whenever a user scans an optical code, the resulting code value can be used to find all matching objects, namely objects that have the right property.

Types of optical codes

The following types are supported at the moment:

  • Barcode;
  • QR Code;
  • ID Marker.

Types of scanners

The following scanners are used for scanning:

  • ZXing Barcode Scanner; (for barcodes and QR codes)
  • ID Marker Scanner - based on Metaio. (for ID Markers)

Searching for objects

UBIK® provides two mechanisms for searching objects: online and offline.

Searching offline

In any case (regardless of the network connection and sync mode), UBIK® always goes through all the objects currently available on the device and find the ones that match the scanned results.

Searching online

When the Internet is avaiable and UBIK® is not running under offline mode, the search result is enhanced by online search. This means any objects that match the scanned results can be found even if they don't yet exist locally.

Presenting results of a search

Once the objects are found, they are displayed in a list. The users can then browse to any of the objects for more information by clicking on the objects.

Technical background

In order for objects to be identifiable through optical codes, they have to carry the SYSCLS OBJECTWITHIDMARKER classification.

The data types of different optical codes are listed as follows:

  • Barcode - String;
  • QR Code - String;
  • ID Marker - Integer.

The service query used for online searching is IDMARKERSCANQUERY.

See also