How-to check if a user is using a mobile device or a web-browser - #ARCHIVED#

This content has been archived. It may no longer be relevant.  

With the code below, you set a global variable “glb_MobileDevice” which is true on a Mobile device and false when using a web-browser.

Set(
    glb_MobileDevice,
    If(
        (Location.Altitude <> 0) || (Acceleration.X <> 0),
        true,
        false
    )
)