How to Communicating between a J2ME Midlet and PC?
问题 How do I make a J2ME Midlet to communicate with a java program or some application on the pc through the cable connected? 回答1: Incredible_Honk is almost right. The key is to use the (standard) system property "microedition.commports". This provides a comma delimited list of the com ports which are available to your application. To open a connection use CommConnection as follows: CommConnection con = (CommConnection) Connector.open("com:<commport name>"); Usually this will provide access to a