Jump to: navigation, search

Difference between revisions of "Optical code"


(Searching for objects)
(See also)
Line 44: Line 44:
  
 
== See also ==
 
== See also ==
* [[Find Objects by Optical Codes]]
+
* [[HowTo:Find Objects by Optical Codes]]
 
* [[SYSCLS OBJECTWITHIDMARKER]]
 
* [[SYSCLS OBJECTWITHIDMARKER]]
  
[[Category:UBIK Client]]
+
[[Category:Client]]

Revision as of 17:07, 2 February 2015

In order for the users to find objects more efficiently, UBIK® can mark some objects with certain properties. 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