Classes | Public Member Functions | Protected 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.

Classes

class  StableArrayAdapter

Public Member Functions

void advancedCheckboxClicked (View view)
void cancelButtonClicked (View unused)
Intent createNewMasterIntent (boolean newMaster, 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

boolean isQRCodeReaderInstalled (Intent intent)
void onCreate (Bundle savedInstanceState)
void toast (final String text)

Private Attributes

Button connectButton
String selectedInterface
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 69 of file MasterChooser.java.


Member Function Documentation

Definition at line 252 of file MasterChooser.java.

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

Definition at line 282 of file MasterChooser.java.

Intent org.ros.android.MasterChooser.createNewMasterIntent ( boolean  newMaster,
boolean  isPrivate 
) [inline]

Definition at line 262 of file MasterChooser.java.

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

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 295 of file MasterChooser.java.

Definition at line 272 of file MasterChooser.java.

Definition at line 277 of file MasterChooser.java.

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

Definition at line 183 of file MasterChooser.java.

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

Definition at line 170 of file MasterChooser.java.

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

Definition at line 111 of file MasterChooser.java.

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

Definition at line 237 of file MasterChooser.java.

void org.ros.android.MasterChooser.toast ( final String  text) [inline, protected]

Definition at line 228 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 80 of file MasterChooser.java.

Definition at line 85 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 75 of file MasterChooser.java.

Definition at line 83 of file MasterChooser.java.

Definition at line 84 of file MasterChooser.java.


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


android_core
Author(s): Damon Kohler
autogenerated on Thu Jun 6 2019 21:20:07