List of usage examples for android.nfc NdefRecord createExternal
public static NdefRecord createExternal(String domain, String type, byte[] data)
Use this method to encode application specific data into an NDEF Record.
From source file:st.alr.homA.ActivityQuickpublishNfc.java
private NdefRecord createRecord(String text) { byte[] textBytes = text.getBytes(); NdefRecord recordNFC = NdefRecord.createExternal("st.alr.homa", "nfc", textBytes); return recordNFC; }