Android Question Java Object and NFC-V

akinnovation

Member
Licensed User
Longtime User
Hi,
I'm try to get the AFI from an Iso15693 tag using the NFC library 2.0.
I have seen that this field is into the java object returned from the getTag method.

B4X:
  TagTech.Initialize("TagTech", "android.nfc.tech.NfcV" , si)
            Dim jo As JavaObject = TagTech
       
            Dim tagNfc As JavaObject = jo.RunMethod("getTag", Null)

if I watch the tagNfc variable in debugger I see that the value I wish is:
mtagNfc.mTechExtras[0].mMap[1]
How I can read this value ?
I have try with tagNfc.getfield, with .getfieldjo, but the return is always an error
with " mtagNfc.mTechExtras[0].mMap[1] doesn't exist".
Please help me.

Best regards
marco
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…