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



Ask a Question

Subscribe to Tutorials

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. it is perfectly working...
View Tutorial          By: Venkatesh at 2014-09-21 06:54:39

2. frnds i want serial communication over beaglebone
View Tutorial          By: Rajneesh at 2015-04-12 11:23:16

3. man i really havnt got your last example. how it g
View Tutorial          By: rakesh at 2013-02-21 08:20:29

4. I am not able to open the rar file, can you please
View Tutorial          By: Chandra at 2008-08-07 10:35:59

5. the example is from herbert schildt complete ref..
View Tutorial          By: dui_prithibi at 2012-11-26 12:59:15

6. How can I submit my query in here?
View Tutorial          By: Kafedha Rwezaula at 2010-06-04 01:32:30

7. Thanks heaps, I had the file already there but it
View Tutorial          By: Jb at 2009-05-14 08:13:08

8. to Donovan Aces #61, thank you, I am new to java &
View Tutorial          By: Joe at 2011-09-14 22:40:19

9. Easy to understand.good work
View Tutorial          By: Deepika at 2013-12-13 09:33:55

10. FileOutputStream will create the file if it does n
View Tutorial          By: Peter at 2012-02-07 13:25:16