Built-in front calls / Genero Mobile common front calls |
Returns the type of network available for the mobile device.
ui.Interface.frontCall("mobile", "connectivity", [], [result] )
The "connectivity" front call checks for the best available mobile network connectivity to the internet.
The returned result string can take one of the following values:
DEFINE network STRING CALL ui.Interface.frontCall("mobile", "connectivity", [], [network] ) IF network == "WIFI" THEN ... END IF