Jump to: navigation, search

Difference between revisions of "UBIK Client Basics"


(Locked objects)
(Locked objects)
Line 140: Line 140:
  
 
==== Locked objects ====
 
==== Locked objects ====
In some cases it might be useful to lock objects until the user varifies to be near to these objects. This can be done with the [[SYSCLS_UNLOCK_BY_SCAN]] classification ({{Version/AndroidSince|2.5.2}}). Instances of MetaClasses implementing this classification can only be edited after the object gets unlocked. The unlocking can currently happen by scanning any type of code (QR-Code, Barcode, ID-Marker, RFID, OCR) which is related to the according object. After a given amount of time (default 15min) the object gets locked again.
+
In some cases it might be useful to lock objects until the user varifies to be near to these objects. This can be done with the [[SYSCLS_UNLOCK_BY_SCAN]] classification ({{Version/AndroidSince|2.5.2}}). Instances of MetaClasses implementing this classification can only be edited after the object gets unlocked. The unlocking can currently happen by scanning any type of code (QR-Code, Barcode, ID-Marker, RFID, OCR) which is related to the according object. After a certain period of time (default 15min) the object gets locked again.
  
Take care that objects which have the [[SYSCLS_UNLOCK_BY_SCAN | SYSCLS UNLOCK BY SCAN]] classification also need properties(e.g. QR-Code Property) allowing the user to unlock these objects.<br/>
+
Take care that objects classified by [[SYSCLS_UNLOCK_BY_SCAN]] also need the corresponding properties (e.g. QR-Code property) such that the user is allowed to unlock these objects. If an object is locked, it is not possible to edit its properties. Furthermore, context actions like redlining or editing of documents, geo teach-in and deletion of the object on the server is not possible. Basically the locking is the same for all types of objects, except for work packages – unlocking them also means unlocking all underlying items (Tasks, Commissioning checks) as well.
If an object is locked, it is not possible to edit its properties. Furthermore context actions like redlining or editing of documents, geo teach-in and deletion of the object on the server is not possible.
+
Basically the locking is the same for all types of objects, except for work packages – unlocking them also means unlocking all underlying items (Tasks, Commissioning Checks) as well.
+
  
 
[[Category:Client|UBIK Client Basics]]
 
[[Category:Client|UBIK Client Basics]]

Revision as of 09:48, 10 December 2015

UBIK® Client is the mobile application for viewing and modifying data, showing documents, starting navigation, visualizing POIs and much more.

Client applications are available for Android and Windows 8.1, however the features available on each of the platform dependent applications might differ. An overview of the available features can be found in the feature comparison table.


Login

Users need to login in order to access confidential data, this can be done in the Login Dialog.

There is the possibility to define user credentials on a webservice (). The user might get a different login UI then, for further information please take a look at Serverside Account Configuration.

Settings

Users can configure access and edit the settings controlling UBIK® environment using the settings list.


Navigation Drawer

Navigation Drawer
Navigation Drawer

The navigation drawer provides a convenient and familiar way of navigating the app. There are two ways of opening/closing the drawer.

  • Pressing the app logo in the top-left corner;
  • Swiping from/to the left edge of the screen
Drawer item Purpose
Start menu Opens the start screen
Settings Opens the Settings
Information Shows information about the software version and the device
Scanning Contains child items for scanning various codes and markers
Support Starts the communication application (e.g. Skype or Visocon) and is available in the UBIK.Android.Demo application only. It is used to directly get in touch with a support agent.
The respective target Uri is configurable .
Sync mode Switches UBIK® between different sync modes

Info Screen

Certificate List
Certificate List

Shows static information about the app, like the version code and the minimum required web service version. It also contains additional buttons:

  • Install Certificate: Allows to add a server certificate to the app.
  • Clear Cache: Deletes all local data for the current user ().
  • Show Certificates: Shows a list of installed certificates, with alias/subject and expiry date ().



Content Browser

Allows to navigate through the entire data model in a hierarchical manner, as it is published by the server.

Initially, a list of objects ("root objects") is shown. Upon selecting an object, a new browser is opened for that object, showing details about it. When an object is selected in the content browser, it is called the browser's context. For such a contextual object, child objects, properties and child documents are shown. Also, there is a context menu providing actions related to the currently selected object.

As every UBIK® Android activity, the content browser also contains an action bar on the very top. By default, it provides a search button and buttons for updating an object or sending changes to the server ("committing").

Action Bar and Context Menu

The Action Bar provides important actions that are partly context sensitive, partly constant.

In the Content Browser, also a context sensitive menu is available. From the Context Menu, actions can be triggered that are relevant for the currently viewed object. E.g., the creation of a child element or showing this object in another view.

Context Menu
Context Menu


Action item Purpose
Support (Demo)
Action support.png
Opens the configured support app, e.g. the Visocon Xing app.
Create Object
Action create content.png
Opens a selection dialog for possible child MetaClasses, creating an object for the user's choice. The new object is opened in a view for editing.
Take Picture
Action take picture.png
Opens the camera activity and creates a new document object for the resulting picture. The new object is opened in a view for editing.
Geo Actions
Action geo group.png
Opens a selection dialog for several geo-related actions.
  • Edit Geo Data:
    Action edit geo data.png
Opens an editor for the geo location of the current object. Allows to use the device's current location for teach-in.
  • AR Navigation:
    Action ar nav.png
Opens the AR navigation activity in order to navigate to the current object using augmented reality.
  • Show in Map:
    Action show in map.png
Opens the Map activity, showing the current object.
  • Use Location:
    Action use location.png
Uses the current object's location for positioning; applies the position for the device's location management.
Download Branch
Action download branch.png
Downloads the current object and all children and switches to offline mode.
Delete Actions ()
Action object deletion group.png
Provides several actions for reverting or removing the current object:
  • Discard Local Object:
    Action icon discard.png
Deletes the object locally.
  • Delete Object on Server:
    Action icon delete.png
Marks the object for deletion on the server.
  • Revert Changes:
    Action icon revert.png
Undoes all local changes for the current object, resetting it to the last known status from the server.


IC Hint square.pngSome actions are summarized in groups, e.g. the Geo Actions or the Delete Actions. Clicking on the respective icons opens a selection dialog for the detail actions.
Depending on the current object, some actions might not be available. If a group consequently contains only one element, it is displayed directly instead of the group.

Objects

Root objects vs child objects

The first entry point in the Content Browser is the list of root objects. Since no element is viewed initially, there is no Context Menu here.

If an object is opened in the Content Browser, it serves as its current "context". The list of its child objects is shown in the left tab of the content browser when viewing an object.

Task objects

Task objects are UBIK® objects with properties the user has to fill in. They can be identified by the status check box that shows their status (open or finished).

Query objects

Query objects are used for finding objects on the server using criteria entered on the client.

Safety relevant objects

The Safety Instructions feature allows to make sure a user has to view special Safety Documents before an object can be opened in the Content Browser.

Commissioning objects

Commissioning objects are task objects with extended functionality. They can be identified by the status ican which either shows a cross a check or a circle.

Locked objects

In some cases it might be useful to lock objects until the user varifies to be near to these objects. This can be done with the SYSCLS UNLOCK BY SCAN classification (). Instances of MetaClasses implementing this classification can only be edited after the object gets unlocked. The unlocking can currently happen by scanning any type of code (QR-Code, Barcode, ID-Marker, RFID, OCR) which is related to the according object. After a certain period of time (default 15min) the object gets locked again.

Take care that objects classified by SYSCLS UNLOCK BY SCAN also need the corresponding properties (e.g. QR-Code property) such that the user is allowed to unlock these objects. If an object is locked, it is not possible to edit its properties. Furthermore, context actions like redlining or editing of documents, geo teach-in and deletion of the object on the server is not possible. Basically the locking is the same for all types of objects, except for work packages – unlocking them also means unlocking all underlying items (Tasks, Commissioning checks) as well.

Properties

In the Content Browser, properties are shown in the properties tab. Their appearance depends on the data type of their value, whether they are modifiable and whether they are currently modified. Also, modifiable properties can be edited using the property editors described below.

Live value properties

If a user wants to know an up-to-date measurement value, for instance whether it is save to enter a room or shut down a pump, this property provides him this information with very frequently updated live values.

Direct editing of boolean properties

The user can switch Boolean properties by either clicking the checkbox in the property list view (without visible editor), or by clicking the property row to open the corresponding editor.

Selective List Properties

The user can select a value from a list of possible values for this property, by clicking on the saved property value on the property list view. The corresponding editor is displayed with the drop-down list already expanded. Once the user selects a value from the list, the value is immediately saved and editor closed. It is also possible to cancel the editing or delete the value.

Editors

There are editors for each property type, including String, Integer, Double, Boolean, DateTime and Geo Data.

Geo Editor & Teach In
Geo Editor

Editor used to set GEO locations for a specific content object. This is done by accessing the GEO property editor of the object.

The user can enter the location manually or, if available, can use the location provided by the positioning service. In case the positioning service doesn't deliver any location the user has only the possibility to enter the location manually.



Documents

UBIK supports and displays document objects and a bunch of actions related to them (editing, redlining, creation, thumbnails, ...). See the Documents article for further information on documents.


Dynamic Content Tabs

, the content browser's tabs (children, properties and documents) are only shown if necessary (if they aren't empty).
For some types of objects (e.g., tasks), specific tabs are always shown though - especially if a tab is considered the main view for that object.

It is possible to configure this feature in order to behave more precisely as desired.
By default, the children tab is shown if no other view should be shown explicitely and if the client has no information whether there are children or not.
This means that for objects where (by customizing) the properties tab or the documents tab should be shown when entering the browser, the children view is only shown if it is not empty.
However, if nothing is configured, the children tab will be shown by default, because there could be children on the server and it would be annoying for the user to not see the children tab at all until something is loaded.
This is the other way round for the properties tab, because properties are always known as soon as the object itself is available on the client.
Also, the documents tab is not shown by default because the documents most often are not the primary view. If they are, the customizing should take this into account.

Customizing Possibilities

There are basically two ways to configure the dynamic tabs feature.
First, one can configure the Children Information Classification, former: Document Owner Classification. This will lead to a precise behaviour of the dynamic tabs, because the client has more detailed knowledge about the children of respectively classified objects.
Another possibility is the configuration of the SYSCLS SHOWPROPERTIES or SYSCLS SHOWDOCUMENTS classifications. This will lead to the displaying of the properties/documents tab as initial view, even if it is empty.



AR Features

POI View

Brings up the Augmented Reality view and displays Points of Interest (POI's) related to the current location of the mobile device.

AR Navigation

Allows the user to navigate to an object using the Augmented Reality Navigation feature. It is accessible via a UBIK® object's context menu in the Content Browser.

Markerless

Opens the Augmented Reality view supporting Markerless Scanning based on Image Detection. If the scanned Object is a Geo-Object, it´s location can be used through Object Proximity Positioning

ID Marker 3D

Opens the Augmented Reality view supporting ID Marker Scanning based on ID Markers. If the scanned Object is a Geo-Object, it´s location can be used through Object Proximity Positioning

Map View

Opens the Map view and displays Points of Interest (POI's) related to the current location of the mobile device.

Positioning

The user can choose different positioning methods. In addition geo-information from nearby objects can be used through Object Proximity Positioning.

Object Proximity Positioning

The location of nearby Geo-Objects can be used for positioning.

The position of a Geo-Object can be used manually by pushing the button Use Location in the Context Menu.

The geo information of an object gets used automatically if exactly one single object is found through scanning. If more objects are found, their geo information doesn´t get used. Scanning includes ID Marker, Bar Code, QR Code, OCR, RFID, Markerless and ID Marker 3D. The automatic use of Geo-Object´s location can be turned off by disabling the "EnableObjectProximityPositioning" setting.



iBeacon-Trilateration Positioning

iBeacons are small, battery-powered devices, which are sending an unique identifier via Bluetooth Low Energy. iBeacons have to be mounted on known positions inside a building. If more than three beacons are in reach of the mobile device, the position of the user can be calculated.

In order to use iBeacon-Trilateration as a Positioning System, Bluetooth Low Energy has to be available and enabled on the mobile device. If a new environment should be equipped with iBeacon-Positioning, an expert has to mount iBeacons on known positions and calibrate the transmission behaviour of these beacons. Currently the positions of beacons have to be hardcoded into UBIK through the Development Team. In future this should happen through UBIK Studio.



Finding Objects

Free Text Search

A free text search feature is available in the Action Bar (). The search action item opens a text input field when clicked. Use it to find objects by their Meta Class name, their Display Strings or properties. The search feature works online and offline.


ID Marker

Provides a fast and convenient way for users to find objects that are identifiable through optical codes, in this case ID Markers. If the scanned Object is a Geo-Object, it´s location can be used through Object Proximity Positioning

QR Code

Provides a fast and convenient way for users to find objects that are identifiable through optical codes, in this case QR Codes. When using Getac Z710 the integrated barcode/qr-code scanner can get used. If the scanned Object is a Geo-Object, it´s location can be used through Object Proximity Positioning

Bar Code

Provides a fast and convenient way for users to find objects that are identifiable through optical codes, in this case Bar Codes. When using Getac Z710 the integrated barcode/qr-code scanner can get used. If the scanned Object is a Geo-Object, it´s location can be used through Object Proximity Positioning

RFID

Provides a fast and convenient way for users to find objects that are identifiable through RFID tags. If the scanned Object is a Geo-Object, it´s location can be used through Object Proximity Positioning

OCR

Provides a fast and convenient way for users to find objects that are identifiable through OCR (). If the scanned Object is a Geo-Object, it´s location can be used through Object Proximity Positioning


Synchronization

The UBIK® client gets its data from the UBIK Content web service and is capable of synchronizing differences between this service and itself. All data can be worked with offline.

Updating and Committing

Sending changed data from the mobile device to the UBIK® server is called "committing". Fetching new data from the server is called "updating".
In UBIK® Android's Action Bar, there are buttons for both actions. Their detail behaviour depends on the current view:

  • In the Start Menu, the update button acquires basic data like the meta definitions or the infrastructure objects. The commit button opens the Commit Manager.
  • In the Content Browser, the update button updates the currently viewed object and its children. Similarly, the commit button sends changes for the currently viewed object to the server. When committing an object in the Content Browser, all its changed child objects are also committed.
  • In the Commit Manager, one can select objects to commit or update from a list of all changed objects.

Synchronization Mode

Depending on the Sync Mode setting, the synchronization will behave differently - either taking care of everything automatically or giving the user full control over which changes are sent ("committed") to the server and which updates are fetched from it.
There are the following Sync Modes:

  • Automatic: Handles updates and commits without requiring user input.
  • Manual Commit: Updates automatically, lets the user decide when to commit changes.
  • Offline: Doesn't update nor commit anything automatically; except for special situations like the first login in a new environment.

Error Handling

UBIK® tries to solve problems automatically, for example by retrying failed web requests or updating missing content. In case of an error that couldn't be resolved automatically, an Android Notification is shown to gently notify the user what has happened and eventually give hints on how to solve the problem.

Push

The UBIK® push service is a mechanism used to notify a client of updates, show messages to the user or trigger other events on the client.


See also