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

    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 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>(
    at org.smslib.Service.<init>(
    at examples.modem.Main.doIt(
    at examples.modem.Main.main(
    Java Result: 1

    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.

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

Similar Threads

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