Results 1 to 2 of 2
  1. #1
    ajaxjagadish is offline Member
    Join Date
    Feb 2010
    Posts
    2
    Rep Power
    0

    Default SerialModemGateway() Usage

    Hi there,
    I am doing a project which requires me to send sms from PC via GSM phone. I have googled on this topic and found a very good library relating it. It's SMSLib. I have gone through the library and it's example, but to my surprise I saw every program showing exceptions.
    I am using NetBeans and have created a project over there. I have added SMSLib to this project. When I execute the SendMessage.java file which is present in the SMSLib folder, I get exception like this.

    This software is distributed under the terms of the Apache v2.0 License.
    Web Site: SMSLib
    Version: 3.4.5
    Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
    at org.smslib.helper.Logger.<init>(Logger.java:34)
    at org.smslib.Service.<init>(Service.java:100)
    at examples.modem.Main.doIt(Main.java:28)
    at examples.modem.Main.main(Main.java:79)
    Java Result: 1
    Main=SendMessage.

    The main problem I'm facing is the usage of SerialModemGateway();
    I don't understand the parameter of the function. I have connected my N72 NOkia phone to PC through USB port, I don't understand what are the parameters I need to use for this function. Please help me out guys.
    :confused:

  2. #2
    dOnie is offline Member
    Join Date
    Mar 2010
    Posts
    1
    Rep Power
    0

Similar Threads

  1. Usage of List
    By vasavi.singh in forum New To Java
    Replies: 0
    Last Post: 03-12-2009, 02:51 PM
  2. HashMap usage
    By vasavi.singh in forum New To Java
    Replies: 4
    Last Post: 03-05-2009, 04:50 PM
  3. Usage of HTTPS
    By Sayed in forum Advanced Java
    Replies: 8
    Last Post: 12-06-2008, 10:02 AM
  4. Need help with AST usage on Eclipse! Thanks!
    By j_aquino314 in forum Eclipse
    Replies: 0
    Last Post: 10-08-2008, 07:15 PM
  5. JVM memory usage
    By lardum in forum New To Java
    Replies: 7
    Last Post: 06-26-2008, 03:30 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •