Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.



Comment Added by : Ramlak

Comment Added at : 2009-01-29 20:03:14

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi Braj,
You are probably using threads to send sms. Maybe the one of the thread is still using the port while another thread tries to send out. You could probably use a queue. Save the messages you want to send out in a database first. Then write a program that picks up one by one from this database and sends out. Once sent out, set a flag so that it wont be sent again.

Do not give up. Many people have used and implemented this code successfully, it only needs a bit of a tweak here and there based on your own setup.


View Tutorial



Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Hy plz help me for also draw to flowchart.........
View Tutorial          By: khadija at 2010-11-13 11:38:31

2. buffer reader??????????????????
View Tutorial          By: sunil bisht at 2010-10-21 02:05:38

3. How i can comment in server?Some another message
View Tutorial          By: Youjizz at 2013-04-09 00:30:47

4. hello,
how can i add a specific variable va

View Tutorial          By: Abdulla at 2014-12-05 15:30:27

5. really superb in simple english with examples. Exp
View Tutorial          By: hariharan at 2009-01-14 22:22:32

6. i am developing a video streaming pc server to j2m
View Tutorial          By: ziathegreat at 2009-05-19 13:19:15

7. I am certifed java Business Component Developer, m
View Tutorial          By: Kobs at 2013-02-26 11:58:22

8. What is the use of "SMSConnector" in thi
View Tutorial          By: Mudra at 2010-06-04 15:04:55

9. very nice but i want some more exapmles
View Tutorial          By: prasad lengare at 2010-10-03 23:12:47

10. it is working....great
View Tutorial          By: mahesh maduranga at 2011-03-27 23:01:57