Thank you a lot for replaying
I use a MFStandardConnection like showing in this part of my code:
Code:
try {
// get URI of the secure element from the system
uri = System.getProperty("internal.mf.url");
// Opening the Conneciton to the Secure Element
conn = (MFStandardConnection) Connector.open(uri);
if (conn != null){
info.setText("Connection OK");
sector = conn.getSector(14);
// To initialize Blocks
MFBlock bloque_0 = sector.getBlock(0);
bloque_0.write(null, zeroBuffer, 0, 16, 0);
MFBlock bloque_01 = sector.getBlock(1);
bloque_01.write(null, zeroBuffer, 0, 16, 0);
}
} catch (IOException ie) {
info.setText("Could not Select: " + ie.toString());
} catch (SecurityException se) {
info.setText("Error, Application not trusted (sign MIDLet!): " + se.toString());
}catch (Exception e){
info.setText("Exception: " + e.toString());
}
I insist in the fact that the same midlet is correctly executed into two Nokia 6212.
Cheers
Miriam