Is the modem connected via USB ? I was having the same problem. I'm now using ther SerialIO (serialio.com) low level drivers. They allow you to add a port to the list of available ports
Wim On Mar 11, 11:13 am, Ju Rokku <[email protected]> wrote: > We're on the same boat dude. We both get an empty portList. But mine can > see the ports when I run it from the IDE. I only encounter this problem > when I've builded the project to a .jar file. Haven't found the answer yet. > Have you? > > Noong Martes, Setyembre 27 2011 15:48:19 UTC+8, si Mick De Valck ay sumulat: > > > > > > > > > > > Hi, > > I am on a win7 OS, with an Option IconXY USB modem, running on COM9. > > The modem is working fine as such, I can send and receive SMS's from > > its own uCan Connect interface. > > When running CommTest.java the method getCleanPortIdentifiers() does > > not return any ports, (portList.hasMoreElements()) returns FALSE, and > > the test completes with no results. > > > portList = getCleanPortIdentifiers(); > > while (portList.hasMoreElements()) /* is FALSE...!?*/ > > > Any idea what the issue could be? > > rgds, > > Mick -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smslib?hl=en.
