public void onFindNeighbours(View view) { if (mEditText.getText().length() != 32) { Toast.makeText(this, "Invalid URN", Toast.LENGTH_SHORT).show(); } else { mFindNeighboursButton.setText("Searching for nearby neighbours..."); mTaginManager.apiRequest(TaginService.REQUEST_NEIGHBOURS, mEditText.getText().toString()); } }
public void onListFingerprints(View view) { mListFingerprintsButton.setText("Requesting fingerprints list..."); mTaginManager.apiRequest(TaginService.REQUEST_LIST_FINGERPRINTS); }
public void onRequestURN(View view) { mURNRequestButton.setText("Requesting URN..."); mTaginManager.apiRequest(TaginService.REQUEST_URN); }