Hi,
my nfc emulator for 6212 create tag with connection com.nokia.nfc.nxp.mfstd.MFStandardConnection, but I want tag with javax.microedition.contactless.ndef.NDEFTagConnection.
How to modified this?
Thanks
Hi,
my nfc emulator for 6212 create tag with connection com.nokia.nfc.nxp.mfstd.MFStandardConnection, but I want tag with javax.microedition.contactless.ndef.NDEFTagConnection.
How to modified this?
Thanks
Hallo,
first of all, it's not the tag that offers a certain type of connection but it's the phone that associates one or more connection types (connection interfaces) to a detected tag type.
How did you detect that the phone offers only an MFStandardConnection to the tag? What classes are returnd by the TargetProperties' getConnectionNames() method?
Usually a MIFARE Classic card is associated with both connection interfaces (com.nokia.nfc.nxp.mfstd.MFStandardConnection and javax.microedition.contactless.ndef.NDEFTagConnection). Similarly a MIFARE Ultralight tag has com.nokia.nfc.nxp.simpletag.SimpleTagConnection and javax.microedition.contactless.ndef.NDEFTagConnection.
br,
Michael
My emularto give me only com.nokia.nfc.nxp.mfstd.MFStandardConnection.
I thinks that emulator have some problem, but i don't undestad what kind
Best regards
Could you provide a working example that only gives you com.nokia.nfc.nxp.mfstd.MFStandardConnection? Also I would like to know the return values you get from the TargetPropperties' getUrl() method and the getTargetTypes() method.
br,
Michael
Hi,
this is the string that emulator give me:
tProp[0].getUrl(connections[i]nfc:rf;type=mf1k;uid=0c817e80
connections[i].getName()com.nokia.nfc.nxp.mfstd.MFStandardConnection
Best regards
So the method you used here was tProp[0].getUrl(connections[i].getName()), right? But I would be more interested whether tProp[0].getUrl() (without any parameter) returns NULL or an actual value.
br,
Michael