I'm trying to read blocks of my mifare card.
i've made the detection (targetDetected) of my card and want to setup an connection.
wereas the url is the target of my card ("nfc:ndef;type=mf1k;uid=c4adc907").Code:conn = (MFStandardConnection)Connector.open(url);
but if i put a printline after the line:as example:Code:conn = (MFStandardConnection)Connector.open(url);
it never does so.. So it blocks when the connection is made.Code:MFStandardConnection conn = getMFStandardConnection(tProp); form.append("The tag has "+conn2.getBlockCount()+" blocks."); MFBlock block = conn2.getBlock(6); ...
can someone tell me what i'm doing wrong ?