This content has been marked as final. Show 1 reply
I am trying to do what you have done but I must be doing something wrong. I want to connect my Cardlet and Midlet applications but it fails. What I am doing is to launch my Cardlet and then the Midlet.
The script I am using for the Cardlet it is like this:
//Test script for Applet 'Cardlet'
0x00 0xA4 0x04 0x00 0X06 0X24 0X45 0X0A 0XE1 0X8C 0XDC 0x7F;
I assume that without the powerdown the cardlet should keep working until I close it explicitly.
Once the cardlet is loaded I try to connect to it using the next command in my midlet:
String purseURL = "apdu:0;target=24.45.0A.E1.8C.DC";
purseConnection = (APDUConnection)Connector.open(purseURL);
Do you know what I am doing wrong??
Thanks in advance.