Ejemplo n.º 1
0
 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());
   }
 }
Ejemplo n.º 2
0
 public void onListFingerprints(View view) {
   mListFingerprintsButton.setText("Requesting fingerprints list...");
   mTaginManager.apiRequest(TaginService.REQUEST_LIST_FINGERPRINTS);
 }
Ejemplo n.º 3
0
 public void onRequestURN(View view) {
   mURNRequestButton.setText("Requesting URN...");
   mTaginManager.apiRequest(TaginService.REQUEST_URN);
 }