Mobile Graphics
In Coach Ax there are 3 main types of graphic:
- Px Graphics — Java
- Hx Graphics — HTML
- Mobile Apps — HTML
Java or HTML?
When you make a graphic in Coach AX you can view the graphic as either a Java applet or HTML (Hx).
If you want to view the graphic on a mobile device (one with no Java capabilities) you need to make a new user that has a Hx view.
Making a new HTML user
Open Config > Services > UserService.
Click New at the bottom of the page.
Under the Default Web Profile choose Basic Hx Profile.
When you login with this user all the pages will be HTML with no Java. If you select Default Hx Profile instead, the user will have access to the stations configuration as well as the graphics.
Mobile device profile
From Coach Ax version 3.7 onwards when a new user is created you can specify two profiles one for PC’s and one for mobile devices.
In the screenshot above we have selected a Basic Wb Web Profile (Java) for the Default Web Profile (PC) and a Basic Hx Profile for the Mobile Web Profile (HTML for mobile devices).
Depending on what device the user uses to login with, they will be given either HTML or Java.
User Agent
The station determines which profile to use depending on the User Agent sent by the browser. Internet browsers send information about themselves to websites, including the name of the browser, the browser version and extra information such as whether the device is a mobile device.
Go to Config > Services > Web Service. Scroll to the bottom and expand the Client Environment, and expand mobile.
The User Agent Pattern determines which text to look for in the information sent by the browser to determine whether the device is mobile or not.
Mobile apps
You can create special graphics designed specifically for mobile devices in Coach Ax from version 3.7 onwards.