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



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. The above code works for me. When I run the progra
View Tutorial          By: Avinash at 2011-12-01 10:20:19

2. Hi...i know java but little....
give simple

View Tutorial          By: Murshidha at 2012-02-06 09:52:52

3. Hi Chriz,
Yes it should work on any site. B

View Tutorial          By: William at 2010-07-10 20:54:24

4. it very usefull to introduse the j2me to me

View Tutorial          By: Sudhir at 2011-08-31 13:05:40

5. i have been trained in java stream. But i dont kno
View Tutorial          By: savio at 2013-01-23 10:15:51

6. hi guys,
its working in a good manner impre

View Tutorial          By: saran at 2012-12-18 13:15:12

7. thank you, this best for student like us,
View Tutorial          By: Srinath at 2012-05-12 15:04:03

8. Thanks for the useful tutorials abt strtus 1 vs St
View Tutorial          By: Sudharsan at 2011-12-03 11:54:58

9. No main class found
need favour
help

View Tutorial          By: Mudasir at 2012-11-10 17:09:57

10. thank you
View Tutorial          By: latif mohammad khan at 2013-01-18 09:53:18