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" |
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.
Definition at line 69 of file MasterChooser.java.
void org.ros.android.MasterChooser.advancedCheckboxClicked | ( | View | view | ) | [inline] |
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.
intent | The activity that you wish to look for. |
Definition at line 295 of file MasterChooser.java.
void org.ros.android.MasterChooser.newMasterButtonClicked | ( | View | unused | ) | [inline] |
Definition at line 272 of file MasterChooser.java.
void org.ros.android.MasterChooser.newPrivateMasterButtonClicked | ( | View | unused | ) | [inline] |
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.
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.
Button org.ros.android.MasterChooser.connectButton [private] |
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.
String org.ros.android.MasterChooser.selectedInterface [private] |
Definition at line 83 of file MasterChooser.java.
EditText org.ros.android.MasterChooser.uriText [private] |
Definition at line 84 of file MasterChooser.java.