I cant make a SocketConnection in my program, i dont understand why because in the API it's not a problem...
I try to import this:
And do this:
sc = (SocketConnection) Connector.open("socket://localhost:5000");
si.setText("Connected to server");