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