USB Connection
Please Login to Remove!
I'm unable to read/write data on a desktop client.
I'm using the following code. Please guide if I'm wrong somewhere.
StreamConnection _conn = (StreamConnection)Connector.open("comm:USB;channel =" + CHANNEL);
DataOutputStream outputStream = _conn.openDataOutputStream();
outputStream.writeUTF(writeMessage);
outputStream.flush();
|