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.HTML Code:String uri = properties[0].getUrl(properties[0].getConnectionNames()[0]); 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.

Reply With Quote




