To allow access to device functionality Tabris makes use of RAP Client Services most of the time. You can access a client service any time within the UI thread usign this code:
ClientService service = RWT.getClient().getService( ClientService.class );
In this case we would get an instance of the type
ClientService. The method call would return
null if no service of the needed type is registered. This can happen e.g. when you want to get a Tabris service but you access the application from the browser because RAP would use different
Client implementation for it.
As already mentioned Tabris uses Client Services to make use of device functionality like camera, geolocation and many more. Currently these services are available: