Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
org.ros.android.MasterChooser Class Reference
Inheritance diagram for org.ros.android.MasterChooser:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void advancedCheckboxClicked (View view)
void cancelButtonClicked (View unused)
Intent createNewMasterIntent (Boolean isPrivate)
void newMasterButtonClicked (View unused)
void newPrivateMasterButtonClicked (View unused)
void okButtonClicked (View unused)
void onActivityResult (int requestCode, int resultCode, Intent intent)
void qrCodeButtonClicked (View unused)

Protected Member Functions

void onCreate (Bundle savedInstanceState)

Private Member Functions

boolean isQRCodeReaderInstalled (Intent intent)

Private Attributes

String masterUri
EditText uriText

Static Private Attributes

static final String BAR_CODE_SCANNER_PACKAGE_NAME = "com.google.zxing.client.android.SCAN"
static final String PREFS_KEY_NAME = "URI_KEY"

Detailed Description

Allows the user to configue a master URI then it returns that URI to the calling Activity.

When this Activity is started, the last used (or the default) URI is displayed to the user.

Author:
ethan.rublee@gmail.com (Ethan Rublee)
damonkohler@google.com (Damon Kohler)
munjaldesai@google.com (Munjal Desai)

Definition at line 51 of file MasterChooser.java.


Member Function Documentation

Definition at line 140 of file MasterChooser.java.

void org.ros.android.MasterChooser.cancelButtonClicked ( View  unused) [inline]

Definition at line 170 of file MasterChooser.java.

Intent org.ros.android.MasterChooser.createNewMasterIntent ( Boolean  isPrivate) [inline]

Definition at line 153 of file MasterChooser.java.

boolean org.ros.android.MasterChooser.isQRCodeReaderInstalled ( Intent  intent) [inline, private]

Check if the specified app is installed.

Parameters:
intentThe activity that you wish to look for.
Returns:
true if the desired activity is install on the device, false otherwise.

Definition at line 183 of file MasterChooser.java.

Definition at line 160 of file MasterChooser.java.

Definition at line 165 of file MasterChooser.java.

void org.ros.android.MasterChooser.okButtonClicked ( View  unused) [inline]

Definition at line 94 of file MasterChooser.java.

void org.ros.android.MasterChooser.onActivityResult ( int  requestCode,
int  resultCode,
Intent  intent 
) [inline]

Definition at line 82 of file MasterChooser.java.

void org.ros.android.MasterChooser.onCreate ( Bundle  savedInstanceState) [inline, protected]

Definition at line 69 of file MasterChooser.java.

void org.ros.android.MasterChooser.qrCodeButtonClicked ( View  unused) [inline]

Definition at line 125 of file MasterChooser.java.


Member Data Documentation

final String org.ros.android.MasterChooser.BAR_CODE_SCANNER_PACKAGE_NAME = "com.google.zxing.client.android.SCAN" [static, private]

Package name of the QR code reader used to scan QR codes.

Definition at line 62 of file MasterChooser.java.

Definition at line 65 of file MasterChooser.java.

final String org.ros.android.MasterChooser.PREFS_KEY_NAME = "URI_KEY" [static, private]

The key with which the last used URI will be stored as a preference.

Definition at line 57 of file MasterChooser.java.

Definition at line 66 of file MasterChooser.java.


The documentation for this class was generated from the following file:


android_core
Author(s): Damon Kohler
autogenerated on Thu Aug 27 2015 12:11:33