I'm using Nokia 6212 emulator and omnikey cardman 5321 and I want to connect to Mifare 4k.
Establishing connection is ok but getApplicationDirectory allways returns null.
I tried to read data using read function and it reads correct data.
This code snippet is part of targetDetected function.
I can't find where is a problem.
String uri = properties.getUrl(properties.getConnectionNames());
MFStandard connection = (MFStandardConnection) Connector.open(uri);
MFApplicationDirectory dir = connection.getApplicationDirectory(); //dir = null
int res = connection.read(new MFKey.KeyA(key), buffer, 0, 0, 64); //ok, res = 64
Thanks for replies.