This page was last modified 05:20, 30 August 2007.
KIJ000663 - Using CommConnection with COM ports from MIDlets on S60 devices
From Forum Nokia Wiki
| Using CommConnection with COM ports from MIDlets on S60 devices | KIJ000663 | |
| Overview | - | |
| Category | Java | |
| Subcategory | MIDP1.0/2.0 | |
| Reported against | S60 3rd Edition S60 3rd Edition, FP1 | |
| Date identified | June 4, 2007 | |
| Symptoms | - | |
| Detailed description | When the phone has been connected to some other device (usually PC) with a cable, you can open a CommConnection in a MIDlet running on that phone, and use that connection to communicate to an application running on the other device. However, if you try to open a CommConnection using COM0 or COM1 (or any COM port), the MIDlet will exit without warnings on S60 3rd Edition and S60 3rd Edition, FP1 devices. On S60 3rd Edition, FP2 the system will return an error code "Feature not supported". It is also possible to query the system for available ports using System.getProperty("microedition.commports"). Even if this method call returns some COM ports on S60 devices, those should not be used for opening a CommConnection. | |
| How to reproduce | - | |
| Solution | Open the CommConnection using the available USB ports. | |
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please recommend mobile phone for the symbian development | lfzgjj | Carbide.c++ and CodeWarrior Tools | 2 | 2007-10-29 20:16 |
| How to retrieve Sim card details from Midlet | jega_ms | Mobile Java General | 7 | 2008-03-14 15:49 |
| Connecting Multiple Phones to 1 PC | unwantedmails | General Discussion | 0 | 2004-01-04 12:00 |
| Problem with Nokia PC Suite 4.81 | baumi78 | General Browsing | 3 | 2002-08-26 08:37 |
| WAP browser and sandbox model in MIDP2.0 | zivgr | Mobile Java General | 2 | 2003-10-08 14:11 |

