Android Question Intent to catch a empty NFC TAG

wildfandango

Member
Licensed User
Longtime User
Hi all

This post describe a basic sample for te NFC library.

I have tried it and works fine.

The sample describe ways to handle intent of NFC TAG readings....
ej:
B4X:
AddActivityText(main, <intent-filter>
 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
 <category android:name="android.intent.category.DEFAULT"/>
 <data android:mimeType="text/plain" />
</intent-filter>)

But i need to capture the empty NFC tags...

i have tryed this but do not work...
B4X:
AddActivityText(main, <intent-filter>
 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
 <action android:name="android.nfc.action.TAG_DISCOVERED"/>
 <action android:name="android.nfc.action.TECH_DISCOVERED"/>
 <category android:name="android.intent.category.DEFAULT"/>
 <data android:mimeType="text/plain"/>
</intent-filter>)

what's wrong?

thx in advance....
 
Top