Moai SDK  1.5 revision 1 (MoaiEdition)
MOAIAppAndroid Class Reference

Inherits MOAIGlobalClass< TYPE, SUPER >.

List of all members.

Function List

  getUTCTime
  getStatusBarHeight
  sendMail
  share

Function Documentation

Gets the Height of an Android 3.x status bar.


function getStatusBarHeight ()
Returns:
height ( number )

Gets the UTC time.


function getUTCTime ()
Returns:
time ( number )

Send a mail with the passed in default values.


function sendMail ( string recipient, string subject, string message )
Parameters:
recipient ( string )
subject ( string )
message ( string )
Returns:
nil

Open a generic Android dialog to allow the user to share via email, SMS, Facebook, Twitter, etc.


function share ( string prompt, string subject, string text )
Parameters:
prompt ( string ) The prompt to show the user.
subject ( string ) The subject of the message to share.
text ( string ) The text of the message to share.
Returns:
nil