Hi everybody! Thanks for your answers and sorry for being late to respond. So I'm using SAMSUNG SGH-E250, and i think that i add needed librairies to my project :
comm.jar commons-net-2.0.jar jsmpp-2.1.0.jar log4j-1.2.16.jar pduutils.jar RXTXcomm.jar smslib-3.4.6.jar smsserver-3.4.6.jar I'm using netbeans so i think i don't need to add Ant. Now, when i compile the ReadMessages example class, i have this log screen error : Example: Read messages from a serial gsm modem. SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways. This software is distributed under the terms of the Apache v2.0 License. Web Site: http://smslib.org Version: 3.4.6 log4j:WARN No appenders could be found for logger (smslib). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. >>> Gateway Status change for modem.com8, OLD: STOPPED -> NEW: RESTART >>> Gateway Status change for modem.com8, OLD: RESTART -> NEW: STOPPING >>> Gateway Status change for modem.com8, OLD: STOPPING -> NEW: STOPPED org.smslib.GatewayException: Comm library exception: java.lang.RuntimeException: javax.comm.NoSuchPortException at org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java: 97) at org.smslib.modem.AModemDriver.connect(AModemDriver.java: 113) at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:187) at org.smslib.Service$1Starter.run(Service.java:321) BUILD SUCCESSFUL (total time: 2 seconds) On 30 avr, 15:29, Navam <[email protected]> wrote: > Which Modem? > > On Apr 30, 7:00 pm, osama ashraf <[email protected]> wrote: > > > did u configure comm jar files and all ths stuff? > > > -- > > You received this message because you are subscribed to the Google Groups > > "SMSLib User 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 > > athttp://groups.google.com/group/smslib?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "SMSLib User 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 > athttp://groups.google.com/group/smslib?hl=en. -- You received this message because you are subscribed to the Google Groups "SMSLib User 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.
