Have you set the correct com port in the ReadMessages example? What modem are you using?
You can run the ReadMessages like this: java -Dsmslib.debug examples.modem.ReadMessages which will generate a lot of debug output. Post or attach the output here. On Sep 17, 1:53 am, Rahul Boss <[EMAIL PROTECTED]> wrote: > Now i got the Zip file. I am able to run ReadMessage. Now i have fully > compiled Project code. > > Do i need to run other classes before i get to the 'ReadMessage' > class ? > > When i run the 'ReadMessage' class ALONE its giving me some > exceptions. > > ------------------------------------- > 0 [Thread-1] WARN org.smslib - GTW: modem.com4: Storage locations > could *not* be retrieved, will proceed with defaults. > > java.util.NoSuchElementException > at java.util.StringTokenizer.nextToken(StringTokenizer.java: > 332) > at > org.smslib.modem.athandler.ATHandler.readStorageLocations(ATHandler.java: > 449) > at org.smslib.modem.AModemDriver.connect(AModemDriver.java: > 154) > at > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:108) > at org.smslib.Service$1Starter.run(Service.java:226) > 78 [Thread-1] WARN org.smslib - GTW: modem.com4: Retrying the > detection of CNMI, modem busy? > java.lang.IllegalArgumentException: Missing parameters > at org.smslib.modem.CNMIDetector.detect(CNMIDetector.java:159) > at org.smslib.modem.CNMIDetector.<init>(CNMIDetector.java:74) > at > org.smslib.modem.athandler.ATHandler.setIndications(ATHandler.java: > 187) > at org.smslib.modem.AModemDriver.connect(AModemDriver.java: > 163) > at > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:108) > at org.smslib.Service$1Starter.run(Service.java:226) > > ------------------------------------- > > and this continues... > What may be the problem ? I am trying to explore. > > On Sep 15, 9:35 pm, Thanasis <[EMAIL PROTECTED]> wrote: > > > > > You are joking, right? > > Where did you find the .jar alone????? > > > See:http://code.google.com/p/smslib/downloads/list > > > On Sep 15, 4:31 pm, Rahul Boss <[EMAIL PROTECTED]> wrote: > > > > I only downloaded the JAR file of smslib. > > > I have not downloaded any ZIP file. Where can i get this zip file and > > > what is the name of this zip file? > > > thank you. > > > > On Sep 15, 11:08 am, Thanasis <[EMAIL PROTECTED]> wrote: > > > > > I cannot understand why you can't locate the "examples" folder... > > > > Haven't you downloaded the zip file? > > > > > Its in the src/java folder. > > > > > On Sep 15, 3:31 am, Rahul Boss <[EMAIL PROTECTED]> wrote: > > > > > > Hello friends, i am seeking to create a program in which i can read > > > > > sms. will you do me a favour? I could not locate the 'examples' folder > > > > > so that i can find ReadMessage.java. I am in need. > > > > > > Rahul Boss wrote: > > > > > > >The ReadMessages example is in the "examples" folder. > > > > > > > Can you tell me where can i get this "example" folder? > > > > > > Please tell me. > > > > > > > On Sep 12, 10:47 pm, Thanasis <[EMAIL PROTECTED]> wrote: > > > > > > > The ReadMessages example is in the "examples" folder. > > > > > > > > On Sep 12, 4:54 pm, Rahul Boss <[EMAIL PROTECTED]> wrote: > > > > > > > > > Hi SMSLib Users, > > > > > > > > > I am faceing problem in reading sms. I am able to sent sms to > > > > > > > > other > > > > > > > > mobiles successfully. > > > > > > > > I am using Nokia 6300 Mobile ( GSM Blutooth Modem ). My Java > > > > > > > > Comm set > > > > > > > > up is also OK. > > > > > > > > > I heard about a readymade programm to Read a SMS. > > > > > > > > Where can i get that ready made program? Please help me. > > > > > > > > > Thank you. > > > > > > > > Rahul- Hide quoted text - > > > > > > > > - Show quoted text -- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib Users" 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 -~----------~----~----~----~------~----~------~--~---
