The Application class / base.Application methods |
Indicates if the application runs on a mobile device.
base.Application.isMobile() RETURNING result BOOLEAN
This class method can be called to check if the program code is running on a smartphone or tablet device. The method will return TRUE if the program executes in standalone mode (i.e. the runtime system is on the mobile device).
MAIN IF base.Application.isMobile() THEN MESSAGE "We are on a mobile device." END IF END MAIN