[smslib] Re: how to run the main of smsserver from my GUI main

2009-03-24 Thread Dhiraj
I have added the code in the run in my main() like the following and again ran the prog. but still no data in database tables. try { this.run(); this.srv.getLogger().logInfo("SMSServer exiting normally.", null, null); } catch (Exception e) {

[smslib] Re: Please Urgent: mysql not storing any data though connected

2009-03-24 Thread Dhiraj
> with those in the configuration file - I suspect a typo here... > Also check that all fields are there (the schema is here: > http://smslib.org/doc/smsserver/interfaces/database/) > > On Mar 24, 8:15 pm, Dhiraj wrote: > > Oh sorry, I forgot to send the complete file. > &

[smslib] Re: how to run the main of smsserver from my GUI main

2009-03-24 Thread Dhiraj
To add to it, I am getting New Inbound message detected from Gateway: 10001 in the debug file when I sent a msg to my cell phone when debug was running. I am able to send and receive msg only database is a prob. On Tue, Mar 24, 2009 at 11:16 AM, Dhiraj wrote: > Thanks a lt for t

[smslib] Re: A Beginner's Problem

2009-03-24 Thread Dhiraj
On Aug 13 2008, 11:01 am, kito wrote: > thnks again > > On Aug 13, 1:55 pm, Thanasis wrote: > > > Yes, this is an incompatibility. > > Please use another phone. > > > 2008/8/13 kito > > > > Here it is: > > > > Example: Read messages from a serial gsm modem. > > > SMSLib: A Java API library fo

[smslib] Re: how to run the main of smsserver from my GUI main

2009-03-24 Thread Dhiraj
Thanks a lt for that. Here is a debug log of the run. please check if it supports *CNMI* or is that a problem. 0 [AWT-EventQueue-0] INFO org.smslib - Version: 3.3.3 0 [AWT-EventQueue-0] INFO org.smslib - JRE Version: 1.6.0_02 0 [AWT-EventQueue-0] INFO org.smslib - JRE Impl Version: 1.6.0_02-b0

[smslib] Re: Please Urgent: mysql not storing any data though connected

2009-03-24 Thread Dhiraj
Oh sorry, I forgot to send the complete file. it was declared like this: # Here is an example of a Database interface. interface.0=db1, Database db1.url=jdbc:mysql://localhost:3306/bitssms?autoReconnect=true db1.driver=com.mysql.jdbc.Driver db1.username=root db1.password=admin db1.type=mysql db1.

[smslib] Please Urgent: mysql not storing any data though connected

2009-03-24 Thread Dhiraj
queues. # Values can be "sync" and "async". settings.send_mode = async # Allowed dispatch time-fames per priority settings.timeframe.low=0900-2200 settings.timeframe.normal=-2359 settings.timeframe.high=-2359 Please

[smslib] how to run the main of smsserver from my GUI main

2009-03-24 Thread Dhiraj
Hello How to run the main of smsserver from my GUI main. I tried to provide a gui look but ended up having 2 mains. How can i run the main of smsserver from the main of the gui. Thanks. -- Regards Dhiraj --~--~-~--~~~---~--~~ You received this message because

[smslib] MySql database connection

2009-03-23 Thread Dhiraj
Hello I have been struggling with this for days now. i have connected the sql database in netbeans to my application. But I don't know how to use the smsserver inbuilt methods for filling the data in the table. 1. Do I need to create the tables with the names used in smsserver or it will a

[smslib] Re: Helw needed with XML interface

2009-03-22 Thread Dhiraj
So how do I poll the IN directory for new files? On Sun, Mar 22, 2009 at 1:16 PM, Thanasis wrote: > > Hmm... You can't do that. > All you need to do is to poll the IN directory for new files. > > On Mar 22, 9:40 pm, Dhiraj wrote: > > Thanks for that. > > >

[smslib] Re: Helw needed with XML interface

2009-03-22 Thread Dhiraj
hould > create the necessary XML files in the OUT directory if you wish to > send messages. > > On Mar 21, 10:53 pm, Dhiraj wrote: > > Hello > > > > I am planning to use xml . But I have little idea how to do it. I went > > through the installation documentation but

[smslib] Helw needed with XML interface

2009-03-21 Thread Dhiraj
Hello I am planning to use xml . But I have little idea how to do it. I went through the installation documentation but had few problems. How to execute the xml file? Do we have to create the files for inbound and outbound messages or they will be created automatically. I tried out something lik

[smslib] Re: Support of regional sms

2009-03-15 Thread Dhiraj
Oh ya, The cell phone didn't support text in Hindi. Thanx :) On 3/15/09, Thanasis wrote: > > Are you sure that the recipient's phone supports this? Does this phone > display Hindi if you send it from another phone (for example)? > > On Mar 15, 8:37 pm, Dhiraj wrote: &g

[smslib] Re: How to issue AT command?

2009-03-15 Thread Dhiraj
(EventDispatchThread.java:121) Please help out. Also where can I download the trunk version from? -- Regards Dhiraj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, sen

[smslib] Re: Support of regional sms

2009-03-15 Thread Dhiraj
do you mean "regional sms"??? > You've tried to send a unicode message. Where did it arrive as spaces? > At the recipient phone or you try to read it via SMSLib? > > On Mar 15, 1:23 pm, Dhiraj wrote: >> Hello >> >> I tried the following for sending region

[smslib] Re: How to issue AT command?

2009-03-15 Thread Dhiraj
Hello I am not able to fine the send() AT handler method in the modem gateway class. Please help me out. On 3/14/09, bodat wrote: > > Thanks to that Thanasis. It helps. > You guys are great. > > > -- Regards Dhiraj --~--~-~--~~~---~--~~

[smslib] Re: How to issue AT command?

2009-03-15 Thread Dhiraj
Hello Aren't these methods in the smslib v3.3.3 1) to create group: Service.createGroup("MyParents"); 2) to get phone book from the mobile these i have got from the trunk. Iif they are not in v 3.3.3 but in v 3.4 how can we use them? Thanks. --~--~-~--~~~---~--~-

[smslib] Support of regional sms

2009-03-15 Thread Dhiraj
Hello I tried the following for sending regional sms but what is sent to the cellphone is just blank spaces. msg = new OutboundMessage(no,mes); msg.setEncoding(MessageEncodings.ENCUCS2); srv.sendMessage(msg); and this is what the outbound msg comes Gateway Id: 1

[smslib] Re: data backup

2009-03-10 Thread Dhiraj
Thanks for the help. Can we extend smslib with some AT commands? If so how to proceed about it? -- Regards Dhiraj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to

[smslib] Re: data backup

2009-03-09 Thread Dhiraj
Thanks for your reply Is there any other library which can be used for data backup ? -- Regards Dhiraj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, sen

[smslib] data backup

2009-03-08 Thread Dhiraj
Hello Is there a provision in smslib to backup data like videos, pictures to the computer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to SMSLib@google

[smslib] Re: build-server

2009-02-25 Thread Dhiraj
2/25/09, sandeep wrote: > Hi Dhiraj, > > How did you solve this . I am facing the same proble i.e NoSuchPort > exception. Do help me in this. > > Regards, > Sandeep. > > On Feb 21, 4:50 pm, Dhiraj wrote: >> Hello >> >> I resolved all the problems and a

[smslib] Re: build-server

2009-02-21 Thread Dhiraj
Hello I resolved all the problems and am able to send sms. Thanks a lot! On Sat, Feb 21, 2009 at 2:54 AM, Dhiraj wrote: > Hello > > I think the previous error was because i didn't add the comm library to the > netbeans. Now that I did that > I am getting the

[smslib] Re: build-server

2009-02-21 Thread Dhiraj
rrect port. Please help me out. Thank you. On Sat, Feb 21, 2009 at 2:17 AM, Dhiraj wrote: > Ya I did that only previously but still got the error. > > So I just used the provided jar file and imported it into Netbeans > Now I am getting the following error > > Except

[smslib] Re: build-server

2009-02-21 Thread Dhiraj
557 and so on. Please help me out with this. Thank you. On Sat, Feb 21, 2009 at 12:35 AM, Thanasis wrote: > > Hi, > > Sorry, there is obviously an error in the docs. > The command is "ant build-smsserver". Run "ant" to see the available > targets. > > O

[smslib] build-server

2009-02-21 Thread Dhiraj
Hello i am getting a error while building SMSserver in the installation as follows: ant build-server Buildfile: build.xml BUILD FAILED Target "build-server" does not exist in the project "smslib" Please help. Thanks!! --~--~-~--~~~---~--~~ You received this mes