Sha256: 624f5ba10d22fe25238a66af8e30da4ac4e4df202e556ae1e5ad5faf7f899c92
Contents?: true
Size: 1.04 KB
Versions: 42
Compression:
Stored size: 1.04 KB
Contents
package com.rhomobile.nfc; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.nfc.NdefMessage; import android.nfc.NdefRecord; import android.nfc.NfcAdapter; import android.nfc.Tag; import android.os.Build; import android.os.Bundle; import android.os.Parcelable; import android.util.Log; import com.rhomobile.rhodes.PushService; import com.rhomobile.rhodes.RhodesActivity; import com.rhomobile.rhodes.RhodesService; public class NfcTechActivity extends Activity { private static final String TAG = NfcTechActivity.class.getSimpleName(); @Override protected void onCreate(Bundle savedInstanceState) { /* NOT USED NOW ! super.onCreate(savedInstanceState); Intent intent = getIntent(); String action = intent.getAction(); if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) { Tag tag = (Tag)intent.getExtras().get(NfcAdapter.EXTRA_TAG); if (tag != null) { Nfc.getInstance().onReceiveTag(tag); } } finish(); */ } }
Version data entries
42 entries across 42 versions & 1 rubygems