JCOP and wireless toolkit communications
Hi,
I have used the javacard toolkit with the wireless toolkit and I have made APDU connections and communications correctly.
Now I have JCOP from IBM and I want to test my midlet with this emulator but my midlet cannot connect itself to the JCOP emulator.
I have test the differrents port for connections (8050 for JCOP).
can anyone help me please ?
Thank's
[399 byte] By [
MaDmEda] at [2007-10-3 11:31:40]

Hello,
This the code I'm using with in my midlet:
...
RemoteJCTerminal terminal = new RemoteJCTerminal();
terminal.init(null);
terminal.open();
JCard card= new JCard(terminal, null, 10000);
JCApplet app = new JCApplet(card, AID);
app.select();
...
The error log is :
java.lang.NoClassDefFoundError: com/ibm/jc/JCTerminal
at com.sun.midp.midlet.MIDletState.createMIDlet(+29)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+116)
I think that the preverifier of my midlet doesn't accept my jar file in my build path.
> Now I have JCOP from IBM and I want to test my midlet with this emulator but my midlet cannot connect itself to the JCOP emulator.
>
> I have test the differrents port for connections (8050 for JCOP).
Did you disconnect the JCOP shell from the emulator?
Without executing the /close command in the JCOP shell the emulator does not accept any connection attempts.
For more info see the thread "Opening Remote terminal in JCOP"
http://forum.java.sun.com/thread.jspa?forumID=23&threadID=647047
Jan