Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
// Released under the Apache License, Version 2.0

import android.content.Context;

import android.nfc.NfcAdapter;

public class Main {
    /**
     * Creates a new NfcAdapter instance.
     */
    public static NfcAdapter newNfcAdapter(Context context) {
        return NfcAdapter.getDefaultAdapter(context);
    }
}