Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import java.io.IOException;
import android.nfc.tech.NfcV;

public class Main {
    public static byte[] executeCommand(NfcV tech, byte[] cmd) {
        byte response[];
        try {
            response = tech.transceive(cmd);
        } catch (IOException e1) {
            e1.printStackTrace();
            return null;
        }
        return response;
    }
}