Hi Waikeong, Negative, I think your plan is not possible. To emulate send SMS process you need the "thing" that act as modem. I never see one, but maybe it's available somewhere out there.
Maybe this will work for you: use SMSServer to send SMS via Clickatell gateway <http://smslib.org/doc/smsserver/gateways/#Clickatell_%28Http%29>, not a modem. Once SMSServer is running, you can send SMS by filling the outbound data on any interfaces available <http://smslib.org/doc/smsserver/interfaces/>. Aryo Sanjaya http://facebook.aryosanjaya.net On Tue, Mar 24, 2009 at 16:15, wai keong <[email protected]> wrote: > > Hi Aryo, > > Thank you very much for pointing me out the Java Comm 2 for Windows! > > Besides, I want to verify is that my concept / planning is correct or > not. > As you know, I want to write a Java program to send sms, lets call the > class SmsSender.java. Can I send sms from SmsSender.java to > SmsServer.java to simulates sending sms to gsm modem? > Pls correct me if i am wrong. > > Thank you! > > - waikeong - > > On Mar 24, 4:31 pm, Aryo Sanjaya <[email protected]> wrote: > > Hi, > > > > Maybe you miss this one:http://smslib.org/doc/installation/? > > You need to provide SUN Java Comm 2 for Windows environment. > > > > The minimal requirement is a regular cellular phone that AT Command > > supported, and a cable data to connect it to the PC/notebook. You may use > > yours, or your friend's phone to try it :) > > > > Aryo Sanjayahttp://facebook.aryosanjaya.net > > > > On Tue, Mar 24, 2009 at 15:18, wai keong <[email protected]> > wrote: > > > > > Thanks for your promptly reply, Aryo > > > . > > > I was hitting the following error when I try to start SMSServer.java. > > > "Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > > > SolarisSerialParallel in java.library.path > > > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > > > loading driver com.sun.comm.SolarisDriver" > > > > > Then, I did some google and found out that the java comm package is > > > only support several *nix platform. > > > "Implementations of the API are currently available for Solaris SPARC, > > > Solaris x86, and Linux x86." > > > source:http://java.sun.com/products/javacomm/ --> paragraph 3. > > > > > I dont hv gsm modem. Due to some $$ issue, my company dont want to > > > invest (buy a gsm modem) before I able to prove the concept and show > > > bosses a prototype of sending SMS via GSM modem. What to do? Economy > > > downturn nowadays.. > > > > > Thank you! > > > > > On Mar 24, 4:04 pm, Aryo Sanjaya <[email protected]> wrote: > > > > Just wanna confirm, SMSServer is running well on my Windows. > > > > And yes, SMSLib is what you need. > > > > > > Why don't you use a real phone/gsm modem to try it? > > > > > > Aryo Sanjayahttp://facebook.aryosanjaya.net > > > > > > On Tue, Mar 24, 2009 at 14:59, wai keong <[email protected]> > > > wrote: > > > > > > > Is that possible to send sms to some phone emulator? > > > > > Besides, is this library support windows? > > > > > As i see, its making use of some java communication package (that > can > > > > > not run in windows) in SMSServer.java. > > > > > What i want to do is making a simple SMS Client that able to send > SMS > > > > > to GSM modem/phone. > > > > > Is that SMSLib suites my needs? > > > > > > > Pls comment. Thank you! > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
