create NFC Ndef Message - Android Network

Android examples for Network:NFC Message

Description

create NFC Ndef Message

Demo Code


//package com.java2s;

import android.nfc.NdefMessage;
import android.nfc.NdefRecord;

public class Main {
    private static NdefMessage createNdefMessage(NdefRecord... records) {
        NdefMessage ndefMessage = new NdefMessage(records);
        return ndefMessage;
    }/*ww w  . ja v  a 2  s .  c  o m*/
}

Related Tutorials