Type Function
Library system.*
Return value Boolean
Revision Current Public Release (2016.2949)
Keywords system, openURL, URL
See also system.canOpenURL()


Open a web page in the browser, create an email, or dial a phone number. Executing this function will close the app and switch to the built-in browser, email, or phone app.

You can check whether a URL can be opened via the system.canOpenURL() function.


system.openURL( url )
url (required)

String. One of the following:

  • Email address — "", optionally including URL-encoded subject and body parameters, for example:
  • Phone number — "tel:123-456-7890"
  • Web link — ""


On Android, if dialing a phone number, you must add the CALL_PHONE permission to the build.settings file.

settings =
    android =
        usesPermissions =


Open Web Page in Device Browser
system.openURL( "" )
Send Email via Device Mail Application
system.openURL( "" )
Dial a Phone Number
system.openURL( "tel:123-456-7890" )