Hallo John,
> the manifest file have the following filters:
> <intent-filter>
> <action android:name="android.nfc.action.TECH_DISCOVERED"/>
> </intent-filter>
> The program can't go through reading process because the follwoing condition
> is always false:
> if (NfcAdapter.ACTION_TAG_DISCOVERED.equals(intent.getAction())){}
Right, if you look at the intent filter you will realize that you are
sensitive to a different intent. Consequently, the condition sould
check for NfcAdapter.ACTION_TECH_DISCOVERED instead of
NfcAdapter.ACTION_TAG_DISCOVERED.
br,
Michael
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en