In your launcher Activity you should check the intent type if it is the same as you stored in the tag - getIntent.getType(). Then you can read data from the tag using this code:
Parcelable[] rawMsgs = intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES);
NdefMessage msg = (NdefMessage)rawMsgs[0];
NdefRecord cardRecord = msg.getRecords()[0];
String message = new String(cardRecord.getPayload());
If its a number, then you need to parse it from message. I hope this helps you.