and when i try to run ReadMessages.java below exception is coming and i 
think the problem is in connection of PC with mobile

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.5.2
Exception in thread "main" java.lang.NoClassDefFoundError: Could not 
initialize class org.smslib.Service
at examples.modem.ReadMessages.doIt(ReadMessages.java:115)
at examples.modem.ReadMessages.main(ReadMessages.java:162)



On Thursday, 16 August 2012 22:23:17 UTC+5:30, bagri wrote:
>
> hi all,
>
> i have install SMSLib using this site and successfully imported the java 
> code .but when i run src/misc/CommTest.java it is not working properly 
> it is showing this line 
> Searching for devices...
>
> Test complete.
>
> which means it is not able to make communication with gsm mobile(acc to my 
> understanding)
> please correct me or solve this problem..or tell me if i was wrong in 
> installation of files 
>
> PS: in some files i removed annotation (@Override) it was giving compile 
> error
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/smslib/-/G8gA1UEEn68J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to