Format / Naming Convention for Sending More than one record using NFC Beam

JohnnyLocke

New Member
I'm attempting to send more than one record via NFC Beam. I've already implemented a TagWriter in my app which sends data via NFC using multiple strings/variables however now I'm attempting to do the same using NFC Beam and it appears the way to concatenate the data is not quite the same. Each item I am attempting to send via NFC Beam is stored in a TextView and can be referenced accordingly. I'm simply trying to add more than one data field to NDefMessage but I do not know how to format the data accordingly.\[code\] @Override public NdefMessage createNdefMessage(NfcEvent event) { NdefMessage msg = new NdefMessage(NdefRecord.createMime( (String) user1.getText(), text.getBytes()) ,NdefRecord.createApplicationRecord("com.app.test") ); return msg; }\[/code\]
 
Back
Top