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
 

akinnovation

Member
Licensed User
Longtime User
Can you post a screenshot of the debug window which shows the value?
This is the screenshot. I need to read the 0x30 value -mArray(1)- Afi.png
Afi.png
 
Upvote 0
Top