hello,
i'm actually trying to run ReadMessage example in eclipse(windows)
I've included following .jar file to the project in eclipse:
>smslib-3.4.0
The output of the program is:
-------output-----------
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.0
java.lang.NullPointerException
        at ReadMessages.doIt(ReadMessages.java:158)
        at ReadMessages.main(ReadMessages.java:203)
-------------------------

Do i need to include other files to get this working.
Im using Sony Ericsson w700
I tried to run CommTest.java
And the output was:
-------output--------

Searching for devices...

Test complete.
------------------------

I think i've not included some or the other file because of which this
does not detect any com ports.
M new to smslib api.
Plz guide me to using this api in eclipse(windows).



On Mar 7, 7:26 pm, Ramesh NPR <[email protected]> wrote:
> Hi Piyush,
>
> Today i downloaded smsLib and tested in Eclipse  IDE. Its working for
> me.
> I followed the step which mentioned in the website.
>
> In which OS (windows or linux) you are testing?
>
> I am tested in windows.
>
> I copied win32com.dll in both system and system32 dir. and coiped
> javax.comm.properties in JRE lib folder and also in JDK lib folder.
>
> Regards,
> N P R
>
> On Mar 5, 1:48 pm, Piyush Dhamija <[email protected]> wrote:
>
> > Hi Thanasis,
>
> > I am not able to run smsLib on eclipse ide,I have follow all the steps
> > mentioned in website.tree structure is coming in my IDE but when i run
> > SendMessage .java message comes main does not exist..please help me.........
>
> > Can you explain me more eboratly..it would be appreciable if you teach me
> > step by step to execute smsLib...
>
> > Always Thanks for your support and cooperatio.
>
> > Waiting for your positive reply
>
> > Regards,Piyush
>
> > On 3/4/09, Thanasis <[email protected]> wrote:
>
> > > Hi,
>
> > > You should import the entire "src/java/org/smslib" tree ("org.smslib"
> > > package) in Eclipse.
>
> > > On Mar 4, 8:53 am, Piyush Dhamija <[email protected]> wrote:
> > > > Hi All,
>
> > > > I follow all the steps given in smsLib.org installation instruction
> > > except
> > > > ant tool even then i am not able to where to start compiling .
>
> > > > I am able to import smsLib in eclipse and dont know which file will have
> > > to
> > > > compile.Please help me to sort out this.
>
> > > > Thanks in advance..
>
> > > > On 3/2/09, Thanasis <[email protected]> wrote:
>
> > > > > See this:http://smslib.org/doc/
>
> > > > > On Mar 2, 12:39 pm, Piyush Dhamiaj <[email protected]> wrote:
> > > > > > Hi All,
>
> > > > > > I am very new to smsLib and do not know where to start installation
> > > > > > and how to configure.Can you guys help to install this.Please 
> > > > > > explain
> > > > > > step by step .
>
> > > > > > Thanks in advance ..
>
> > > > > > Regards,Piyush
>
> > > > --
> > > > Best Regards
> > > > Piyush Dhamija
>
> > --
> > Best Regards
> > Piyush Dhamija

--~--~---------~--~----~------------~-------~--~----~
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