Hello,
I am trying to read a NFC card.
So far I figured out that I need this permission:
But I did not figure out how to get the binary data. The NFC and NFCforeground Libraries did not supply any data in the result.
It just gives an empty array. How can I get non ndef data?
Thanks!
Regards!
I am trying to read a NFC card.
So far I figured out that I need this permission:
B4X:
' NFC Permission
AddActivityText(activity, <intent-filter>
<action android:name="android.nfc.action.TAG_DISCOVERED"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>)
B4X:
Dim List_NdefRecords As List
List_NdefRecords = nf.GetNdefRecords(Activity.GetStartingIntent)
Log (List_NdefRecords)
Thanks!
Regards!