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" |
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 51 of file MasterChooser.java.
void org.ros.android.MasterChooser.advancedCheckboxClicked | ( | View | view | ) | [inline] |
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.
intent | The activity that you wish to look for. |
Definition at line 183 of file MasterChooser.java.
void org.ros.android.MasterChooser.newMasterButtonClicked | ( | View | unused | ) | [inline] |
Definition at line 160 of file MasterChooser.java.
void org.ros.android.MasterChooser.newPrivateMasterButtonClicked | ( | View | unused | ) | [inline] |
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.
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.
String org.ros.android.MasterChooser.masterUri [private] |
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.
EditText org.ros.android.MasterChooser.uriText [private] |
Definition at line 66 of file MasterChooser.java.