mobage.shellapp.Device


Methods

mobage.shellapp.Device.getUniqueId

This function gets the unique ID of the mobile device.

  • Behavior on Android
    • If the device supports telephone functions, the function returns its identification number.
    • If the device does not support telephone functions, the function returns its MAC address.
  • Behavior on iOS
    • The function returns the device's UDID.

Parameters
None

Return value

Type

Description

String

String representation of device ID

Sample

mobage.shellapp.Device.openURLWithBrowser

This function launches an external browser.

Parameters

String

Description

String

String representation of URL to be opened in an external browser

Return value
None

Sample


Revision History

  • 03/01/2013
    • Added iOS descriptions.
  • 12/11/2012
    • Initial release.

PREVIOUS

mobage.shellapp.Service

NEXT

mobage.shellapp.RemoteNotification