mobage.shellapp.App


Methods

mobage.shellapp.App.getVersionName

This function gets a string representation of the client application version code.

On Android, the function returns the versionCode value which is set in AndroidManifest.xml.

Parameters
None

Return value

Type

Description

String

String representation of client application version code

Sample

mobage.shellapp.App.getVersionCode

This function gets a numeric representation of the client application version code.

On Android, the function returns the versionCode which is set in AndroidManifest.xml.

Parameters
None

Return value

Type

Description

Number

Numeric representation of client application version code

Sample

mobage.shellapp.App.getMarketCode

This function gets an identifier representing the market where the client application is distributed.

Market Name

Market Identifier

Google Play

googleplay

Parameters
None

Return value

Type

Description

String

Identifier of market where client application is distributed

Sample


Revision History

  • 03/01/2013
    • Added support for iOS.
  • 12/11/2012
    --Initial release.

PREVIOUS

onShellAppReady Event

NEXT

mobage.shellapp.WebView