ISPHONEGAP()

From Lianjapedia
Revision as of 09:36, 2 September 2015 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function which can be used in .rsp pages and/or server-side procedures to determine if the current client is a mobile device

Syntax

ISPHONEGAP()

See Also

ISSERVER(), PHONEGAPPLATFORM(), PHONEGAPVERSION()

Description

The ISPHONEGAP() function returns .T. (True) if the current client is a mobile device, otherwise .F. (False).

Example

if isPhoneGap()
   // called from mobile device client
endif