- GameClient - Class in com.google.appinventor.components.runtime
-
GameClient provides a way for AppInventor applications to
communicate with online game servers.
- GameClient(ComponentContainer) - Constructor for class com.google.appinventor.components.runtime.GameClient
-
Creates a new GameClient component.
- GameId() - Method in class com.google.appinventor.components.runtime.GameClient
-
Returns a string indicating the game name for this application.
- GameId(String) - Method in class com.google.appinventor.components.runtime.GameClient
-
Specifies a string indicating the family of the current game
instance.
- GameInstance - Class in com.google.appinventor.components.runtime.util
-
A container for information about a GameInstance for use
with the App Inventor game framework.
- GameInstance(String) - Constructor for class com.google.appinventor.components.runtime.util.GameInstance
-
A GameInstance contains the most recent values
for the leader and players of a particular game instance.
- GenerateColor() - Method in class com.google.appinventor.components.runtime.NxtColorSensor
-
Returns the color that should generated by the sensor.
- GenerateColor(int) - Method in class com.google.appinventor.components.runtime.NxtColorSensor
-
Specifies the color that should generated by the sensor.
- GenerateLight() - Method in class com.google.appinventor.components.runtime.NxtLightSensor
-
Returns whether the light sensor should generate light.
- GenerateLight(boolean) - Method in class com.google.appinventor.components.runtime.NxtLightSensor
-
Specifies whether the light sensor should generate light.
- Get() - Method in class com.google.appinventor.components.runtime.Web
-
Performs an HTTP GET request using the Url property and retrieves the
response.
If the SaveResponse property is true, the response will be saved in a file
and the GotFile event will be triggered.
- getActiveForm() - Static method in class com.google.appinventor.components.runtime.Form
-
- getAuthToken() - Method in class com.google.appinventor.components.runtime.util.ClientLoginHelper
-
Uses Google Account Manager to retrieve auth token that can
be used to access various Google APIs -- e.g., the Google Voice api.
- getAuthToken() - Method in interface com.google.appinventor.components.runtime.util.IClientLoginHelper
-
Uses AccountManager to retrieve an accessToken that can be
used to access Google APIs.
- GetBackgroundPixelColor(int, int) - Method in class com.google.appinventor.components.runtime.Canvas
-
Gets the color of the given pixel, ignoring sprites.
- GetBatteryLevel() - Method in class com.google.appinventor.components.runtime.NxtDirectCommands
-
- getBitmapDrawable(Form, String) - Static method in class com.google.appinventor.components.runtime.util.MediaUtil
-
Loads the image specified by mediaPath and returns a Drawable.
- getBluetoothAdapter() - Static method in class com.google.appinventor.components.runtime.util.BluetoothReflection
-
Invokes the method
BluetoothAdapter.getDefaultAdapter()
.
- getBluetoothClass(Object) - Static method in class com.google.appinventor.components.runtime.util.BluetoothReflection
-
Invokes the method
BluetoothDevice.getBluetoothClass()
.
- getBluetoothDeviceAddress(Object) - Static method in class com.google.appinventor.components.runtime.util.BluetoothReflection
-
Invokes the method
BluetoothDevice.getAddress()
.
- getBluetoothDeviceName(Object) - Static method in class com.google.appinventor.components.runtime.util.BluetoothReflection
-
Invokes the method
BluetoothDevice.getName()
.
- getBondedDevices(Object) - Static method in class com.google.appinventor.components.runtime.util.BluetoothReflection
-
Invokes the method
BluetoothAdapter.getBondedDevices()
.
- getBooleanValueFromBytes(byte[], int) - Method in class com.google.appinventor.components.runtime.LegoMindstormsNxtBase
-
- getBottom() - Method in class com.google.appinventor.components.runtime.util.BoundingBox
-
Gets the bottommost y-coordinate
- getBoundingBox(int) - Method in class com.google.appinventor.components.runtime.Sprite
-
Provides the bounding box for this sprite.
- GetBrickName() - Method in class com.google.appinventor.components.runtime.NxtDirectCommands
-
- getCachedMsgCount() - Static method in class com.google.appinventor.components.runtime.Texting
-
Used to keep count in Notifications.
- GetColor() - Method in class com.google.appinventor.components.runtime.NxtColorSensor
-
- getContactIdIndex(Cursor) - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get the Data.CONTACT_ID index for PhoneNumberPicker.
- getContactProjection() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get the CONTACT_PROJECTION for ContactPicker.
- getContentUri() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get the CONTENT_URI from ContactsContract to instantiate a ContactPicker.
- GetCurrentProgramName() - Method in class com.google.appinventor.components.runtime.NxtDirectCommands
-
- getDataContentUri() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get Data.CONTENT_URI for EmailAddressAdapter.
- getDataCursor(String, Activity, String[]) - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Gets the dataCursor for ContactPicker and PhoneNumberPicker (used for Email and Phone).
- getDataMimeType() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get Data.MIMETYPE for EmailAddressAdapter.
- getDataProjection() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get the DATA_PROJECTION for ContactPicker and PhoneNumberPicker.
- getDeviceClass(Object) - Static method in class com.google.appinventor.components.runtime.util.BluetoothReflection
-
Invokes the method
BluetoothClass.getDeviceClass()
.
- getDispatchDelegate() - Method in class com.google.appinventor.components.runtime.AndroidNonvisibleComponent
-
- getDispatchDelegate() - Method in class com.google.appinventor.components.runtime.AndroidViewComponent
-
- getDispatchDelegate() - Method in interface com.google.appinventor.components.runtime.Component
-
Returns the dispatch delegate that is responsible for dispatching events
for this component.
- getDispatchDelegate() - Method in class com.google.appinventor.components.runtime.Form
-
- getDispatchDelegate() - Method in class com.google.appinventor.components.runtime.Sprite
-
- getDisplayName() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get Data.DISPLAY_NAME for EmailAddressAdapter.
- GetDistance() - Method in class com.google.appinventor.components.runtime.NxtUltrasonicSensor
-
- getDownloadFile(String) - Static method in class com.google.appinventor.components.runtime.util.FileUtil
-
Creates a File
representing the complete path for a downloaded file,
creating the enclosing directories if needed.
- getDrawingCache(View, boolean) - Static method in class com.google.appinventor.components.runtime.util.DonutUtil
-
Calls View.getDrawingCache(boolean)
.
- GetDuration() - Method in class com.google.appinventor.components.runtime.VideoPlayer
-
- getEmailAdapterProjection() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get the NEW_PROJECTION for EmailAddressAdapter.
- getEmailAddress(String) - Method in class com.google.appinventor.components.runtime.ContactPicker
-
Email address getter for pre-Honeycomb.
- getEmailAddress() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get Email.ADDRESS for EmailAddressAdapter.
- getEmailIndex(Cursor) - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
- getEmailType() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get Email.CONTENT_ITEM_TYPE.
- getErrorMessage() - Static method in class com.google.appinventor.components.runtime.util.OAuth2Helper
-
Clients can retrieve error messages statically.
- getErrorMessageNumber() - Method in exception com.google.appinventor.components.runtime.util.FileUtil.FileException
-
- getExternalFile(String) - Static method in class com.google.appinventor.components.runtime.util.FileUtil
-
Returns the File for fileName in the external storage directory in
preparation for writing the file.
- getFileUrl(String) - Static method in class com.google.appinventor.components.runtime.util.FileUtil
-
Returns an URL for the given local file.
- GetFirmwareVersion() - Method in class com.google.appinventor.components.runtime.NxtDirectCommands
-
- getFontSize(TextView) - Static method in class com.google.appinventor.components.runtime.util.TextViewUtil
-
Returns the font size for a TextView
.
- getIdIndex(Cursor) - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get the Contacts._ID index for ContactPicker.
- getInputStream(Object) - Static method in class com.google.appinventor.components.runtime.util.BluetoothReflection
-
Invokes the method
BluetoothSocket.getInputStream()
.
- getInputValues(String, int) - Method in class com.google.appinventor.components.runtime.LegoMindstormsNxtBase
-
- GetInputValues(String) - Method in class com.google.appinventor.components.runtime.NxtDirectCommands
-
- getInstallerPackageName(String, Activity) - Static method in class com.google.appinventor.components.runtime.util.EclairUtil
-
- getInstance() - Static method in class com.google.appinventor.components.runtime.util.WebServiceUtil
-
Returns the one WebServiceUtil
instance
- getInstanceId() - Method in class com.google.appinventor.components.runtime.util.GameInstance
-
Return the instance id of this instance.
- GetInstanceLists() - Method in class com.google.appinventor.components.runtime.GameClient
-
Updates the current InstancesJoined and InstancesInvited lists.
- getIntent() - Method in class com.google.appinventor.components.runtime.ContactPicker
-
- getIntent() - Method in class com.google.appinventor.components.runtime.ImagePicker
-
- getIntent() - Method in class com.google.appinventor.components.runtime.ListPicker
-
- getIntent() - Method in class com.google.appinventor.components.runtime.Picker
-
Provides the Intent used to launch the picker activity.
- getItem(int) - Method in class com.google.appinventor.components.runtime.util.YailList
-
Returns the element at the specified position in this list.t
- getItems() - Method in class com.google.appinventor.components.runtime.util.YailList
-
Returns all items in the YailList; ArrayList
- getJsonRepresentation(Object) - Static method in class com.google.appinventor.components.runtime.util.JsonUtil
-
- getLayoutManager() - Method in interface com.google.appinventor.components.runtime.Layout
-
Returns the view group (which is a container with a layout manager)
associated with the layout.
- getLayoutManager() - Method in class com.google.appinventor.components.runtime.LinearLayout
-
- getLayoutManager() - Method in class com.google.appinventor.components.runtime.TableLayout
-
- getLeader() - Method in class com.google.appinventor.components.runtime.util.GameInstance
-
Return the current leader of this instance.
- getLeft() - Method in class com.google.appinventor.components.runtime.util.BoundingBox
-
Gets the leftmost x-coordinate
- getLevel() - Static method in class com.google.appinventor.components.runtime.util.SdkLevel
-
Returns the API level of the SDK on the phone
- GetLightLevel() - Method in class com.google.appinventor.components.runtime.NxtColorSensor
-
- GetLightLevel() - Method in class com.google.appinventor.components.runtime.NxtLightSensor
-
- getListFromJsonArray(JSONArray) - Static method in class com.google.appinventor.components.runtime.util.JsonUtil
-
Returns a Java Object list of a JSONArray with each item in
the array converted using convertJsonItem().
- getListFromJsonObject(JSONObject) - Static method in class com.google.appinventor.components.runtime.util.JsonUtil
-
Returns a list containing one two item list per key in jObject.
- GetMessages(String, int) - Method in class com.google.appinventor.components.runtime.GameClient
-
Retrieves messages of the specified type.
- getMessagesFromIntent(Intent) - Static method in class com.google.appinventor.components.runtime.Texting
-
Parse the messages out of the extra fields from the "android.permission.RECEIVE_SMS" broadcast
intent.
- getMessageTime(String) - Method in class com.google.appinventor.components.runtime.util.GameInstance
-
Return the most recently put time string for this type.
- GetMillis(Calendar) - Static method in class com.google.appinventor.components.runtime.Clock
-
Calendar property getter method: gets the raw millisecond representation of
a Calendar.
- getMimeIndex(Cursor) - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
- getNameIndex(Cursor) - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get the Contacts.DISPLAY_NAME index for ContactPicker.
- getNameProjection() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get the NAME_PROJECTION for PhoneNumberPicker.
- getObject(int) - Method in class com.google.appinventor.components.runtime.util.YailList
-
Return the Object at the given index.
- getObjectFromJson(String) - Static method in class com.google.appinventor.components.runtime.util.JsonUtil
-
- getOpenAnimType() - Method in class com.google.appinventor.components.runtime.Form
-
- GetOutputState(String) - Method in class com.google.appinventor.components.runtime.NxtDirectCommands
-
- getOutputStream(Object) - Static method in class com.google.appinventor.components.runtime.util.BluetoothReflection
-
Invokes the method
BluetoothSocket.getOutputStream()
.
- getPassedHeight() - Method in class com.google.appinventor.components.runtime.VideoPlayer
-
- getPassedWidth() - Method in class com.google.appinventor.components.runtime.VideoPlayer
-
- getPhoneContentUri() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get the CONTENT_URI from Phone for PhoneNumberPicker.
- getPhoneIndex(Cursor) - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
- getPhoneType() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get Phone.CONTENT_ITEM_TYPE.
- getPhotoIndex(Cursor) - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get the Contacts.PHOTO_URI index for ContactPicker.
- getPictureFile(String) - Static method in class com.google.appinventor.components.runtime.util.FileUtil
-
Creates a File
representing the complete path for an image
file, creating the enclosing directories if needed.
- GetPixelColor(int, int) - Method in class com.google.appinventor.components.runtime.Canvas
-
Gets the color of the given pixel, including sprites.
- getPlayers() - Method in class com.google.appinventor.components.runtime.util.GameInstance
-
Return the list of players currently in this instance.
- getPlayersAdded() - Method in class com.google.appinventor.components.runtime.util.PlayerListDelta
-
Get the list of players that have joined the instance since the last
update.
- getPlayersRemoved() - Method in class com.google.appinventor.components.runtime.util.PlayerListDelta
-
Get the list of players that have left the instance since the last
update.
- getRecordingFile(String) - Static method in class com.google.appinventor.components.runtime.util.FileUtil
-
Creates a File
representing the complete path for a recording,
creating the enclosing directories if needed.
- getRefreshedAuthToken(Activity, String) - Method in class com.google.appinventor.components.runtime.util.OAuth2Helper
-
Uses account manager to return a fresh authToken of authTokenType
- getRemoteDevice(Object, String) - Static method in class com.google.appinventor.components.runtime.util.BluetoothReflection
-
Invokes the method
BluetoothAdapter.getRemoteDevice(String)
.
- getRight() - Method in class com.google.appinventor.components.runtime.util.BoundingBox
-
Gets the rightmost x-coordinate
- getRotation(Display) - Static method in class com.google.appinventor.components.runtime.util.FroyoUtil
-
Calls Display.getRotation()
- GetRows(String, String) - Method in class com.google.appinventor.components.runtime.FusiontablesControl
-
- GetRowsWithConditions(String, String, String) - Method in class com.google.appinventor.components.runtime.FusiontablesControl
-
- getSBYTEValueFromBytes(byte[], int) - Method in class com.google.appinventor.components.runtime.LegoMindstormsNxtBase
-
- getSLONGValueFromBytes(byte[], int) - Method in class com.google.appinventor.components.runtime.LegoMindstormsNxtBase
-
- GetSoundLevel() - Method in class com.google.appinventor.components.runtime.NxtSoundSensor
-
- getStartText() - Static method in class com.google.appinventor.components.runtime.Form
-
Returns the string that was passed to this screen when it was opened
- getStartValue() - Static method in class com.google.appinventor.components.runtime.Form
-
Returns the value that was passed to this screen when it was opened
- getStatus(String, byte[], byte) - Method in class com.google.appinventor.components.runtime.LegoMindstormsNxtBase
-
- getString(int) - Method in class com.google.appinventor.components.runtime.util.YailList
-
Return the String at the given index.
- getStringListFromJsonArray(JSONArray) - Static method in class com.google.appinventor.components.runtime.util.JsonUtil
-
Returns a list of String objects from a JSONArray.
- getStringValueFromBytes(byte[], int) - Method in class com.google.appinventor.components.runtime.LegoMindstormsNxtBase
-
- getStringValueFromBytes(byte[], int, int) - Method in class com.google.appinventor.components.runtime.LegoMindstormsNxtBase
-
- getSWORDValueFromBytes(byte[], int) - Method in class com.google.appinventor.components.runtime.LegoMindstormsNxtBase
-
- GetTags() - Method in class com.google.appinventor.components.runtime.TinyDB
-
Return a list of all the tags in the data store
- GetText() - Method in class com.google.appinventor.components.runtime.SpeechRecognizer
-
Solicits speech input from the user.
- getText(TextView) - Static method in class com.google.appinventor.components.runtime.util.TextViewUtil
-
Returns the text for a TextView
.
- getThumbnailIndex(Cursor) - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get the Contacts.PHOTO_THUMBNAIL_URI index for ContactPicker.
- getTimesContacted() - Static method in class com.google.appinventor.components.runtime.util.HoneycombUtil
-
Get Data.TIMES_CONTACTED for EmailAddressAdapter.
- getTop() - Method in class com.google.appinventor.components.runtime.util.BoundingBox
-
Gets the uppermost y-coordinate
- getUBYTEValueFromBytes(byte[], int) - Method in class com.google.appinventor.components.runtime.LegoMindstormsNxtBase
-
- getULONGValueFromBytes(byte[], int) - Method in class com.google.appinventor.components.runtime.LegoMindstormsNxtBase
-
- getUWORDValueFromBytes(byte[], int) - Method in class com.google.appinventor.components.runtime.LegoMindstormsNxtBase
-
- GetValue(String, Object) - Method in class com.google.appinventor.components.runtime.TinyDB
-
Retrieve the value stored under the given tag.
- GetValue(String) - Method in class com.google.appinventor.components.runtime.TinyWebDB
-
GetValue asks the Web service to get the value stored under the given tag.
- getVersionName() - Method in class com.google.appinventor.components.runtime.PhoneStatus
-
- getView() - Method in class com.google.appinventor.components.runtime.AndroidViewComponent
-
Returns the View
that is displayed in the UI.
- getView() - Method in class com.google.appinventor.components.runtime.ButtonBase
-
- getView() - Method in class com.google.appinventor.components.runtime.Canvas
-
- getView() - Method in class com.google.appinventor.components.runtime.CheckBox
-
- getView() - Method in class com.google.appinventor.components.runtime.HVArrangement
-
- getView() - Method in class com.google.appinventor.components.runtime.Image
-
- getView() - Method in class com.google.appinventor.components.runtime.Label
-
- getView() - Method in class com.google.appinventor.components.runtime.ListView
-
- getView() - Method in class com.google.appinventor.components.runtime.Slider
-
- getView() - Method in class com.google.appinventor.components.runtime.Spinner
-
- getView() - Method in class com.google.appinventor.components.runtime.TableArrangement
-
- getView() - Method in class com.google.appinventor.components.runtime.TextBoxBase
-
- getView() - Method in class com.google.appinventor.components.runtime.VideoPlayer
-
- getView() - Method in class com.google.appinventor.components.runtime.WebViewer
-
- getWebViewClient(boolean, boolean, Form, Component) - Static method in class com.google.appinventor.components.runtime.util.FroyoUtil
-
Get a special WebViewClient that handles SslError.
- getWebViewString() - Method in class com.google.appinventor.components.runtime.WebViewer.WebViewInterface
-
Gets the web view string
- GetWifiIpAddress() - Static method in class com.google.appinventor.components.runtime.PhoneStatus
-
- GingerbreadUtil - Class in com.google.appinventor.components.runtime.util
-
Helper methods for calling methods added in Gingerbread (2.3, API level 9).
- GoBack() - Method in class com.google.appinventor.components.runtime.WebViewer
-
Go back to the previously viewed page.
- GoForward() - Method in class com.google.appinventor.components.runtime.WebViewer
-
Go forward in the history list
- GoHome() - Method in class com.google.appinventor.components.runtime.WebViewer
-
Loads the page from the home URL.
- GoogleVoiceEnabled() - Method in class com.google.appinventor.components.runtime.Texting
-
If this property is true, then SendMessage will attempt to send messages using
Google voice.
- GoogleVoiceEnabled(boolean) - Method in class com.google.appinventor.components.runtime.Texting
-
If this property is true, then SendMessage will attempt to send messages over
WiFi, using Google voice.
- GotBallot() - Method in class com.google.appinventor.components.runtime.Voting
-
Event indicating that a ballot was received from the Web service.
- GotBallotConfirmation() - Method in class com.google.appinventor.components.runtime.Voting
-
Event confirming that the Voting service received the ballot.
- GotFile(String, int, String, String) - Method in class com.google.appinventor.components.runtime.Web
-
Event indicating that a request has finished.
- GotFocus() - Method in class com.google.appinventor.components.runtime.ButtonBase
-
Indicates the cursor moved over the button so it is now possible
to click it.
- GotFocus() - Method in class com.google.appinventor.components.runtime.CheckBox
-
Default GotFocus event handler.
- GotFocus() - Method in class com.google.appinventor.components.runtime.EmailPicker
-
Event raised when this component is selected for input, such as by
the user touching it.
- GotFocus() - Method in class com.google.appinventor.components.runtime.TextBoxBase
-
Event raised when this component is selected for input, such as by
the user touching it.
- GotMessage(String, String, List<Object>) - Method in class com.google.appinventor.components.runtime.GameClient
-
Indicates that a GetMessages call received a message.
- GoToUrl(String) - Method in class com.google.appinventor.components.runtime.WebViewer
-
Load the given URL
- GotResult(String) - Method in class com.google.appinventor.components.runtime.FusiontablesControl
-
- GotText(String) - Method in class com.google.appinventor.components.runtime.File
-
Event indicating that a request has finished.
- GotText(String, int, String, String) - Method in class com.google.appinventor.components.runtime.Web
-
Event indicating that a request has finished.
- GotTranslation(String, String) - Method in class com.google.appinventor.components.runtime.YandexTranslate
-
Event indicating that a request has finished and has returned data (translation).
- GotValue(String, Object) - Method in class com.google.appinventor.components.runtime.TinyWebDB
-
Indicates that a GetValue server request has succeeded.
- GPSAvailable() - Method in class com.google.appinventor.components.runtime.Pedometer
-
Indicates that the GPS is now available to use for distance measurement, and that
calibration is now possible.
- GPSLost() - Method in class com.google.appinventor.components.runtime.Pedometer
-
Indicates that the GPS signal is lost.
- guardCursorGetString(Cursor, int) - Method in class com.google.appinventor.components.runtime.ContactPicker
-
- GV_INTENT_FILTER - Static variable in class com.google.appinventor.components.runtime.Texting
-
- GV_PACKAGE_NAME - Static variable in class com.google.appinventor.components.runtime.Texting
-
- GV_SMS_RECEIVED - Static variable in class com.google.appinventor.components.runtime.Texting
-
- GV_SMS_SEND_URL - Static variable in class com.google.appinventor.components.runtime.Texting
-
- GV_URL - Static variable in class com.google.appinventor.components.runtime.Texting
-