Can you download and try with this example:
http://smslib.googlecode.com/svn/smslib/tags/v3.3.3/src/java/examples/modem/ReadMessages.java


On Apr 22, 4:43 pm, iliali16 <[email protected]> wrote:
> well now I did everything as it was instructed in the docs and then I
> went to netbeans and even added the jdkDIR/jre/lib/ext to my libraries
> so it can see the comm.jar and all other RXTXcomm files. do I need to
> do something more specific for netbeans
>
> On Apr 22, 3:35 pm, iliali16 <[email protected]> wrote:
>
> > Do u think it might not make connection to my phone or maybe it does
> > not support my phone?
>
> > On Apr 22, 10:55 am, Thanasis <[email protected]> wrote:
>
> > > Hi,
>
> > > This is a very vague error. It can be anything, most probably it must
> > > be an incorrect javacomm installation.
> > > Try to enable the debug in order to see what's really wrong.
>
> > > On Apr 22, 4:44 am, iliali16 <[email protected]> wrote:
>
> > > > Hy guys I have managed to plug the smslib in netbeans 6.5 but I have
> > > > this problem when I run the ReadMessages.java I receive the following
> > > > errors:
>
> > > > 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.0
> > > > java.lang.NullPointerException
> > > >         at examples.modem.ReadMessages.doIt(ReadMessages.java:158)
> > > >         at examples.modem.ReadMessages.main(ReadMessages.java:203)
> > > > BUILD SUCCESSFUL (total time: 1 second)
>
> > > > Any help will be apreciated if you can explain what is exactly leading
> > > > to this errors thansk in advance!- 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to