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. I need the multiple record store RMS code.Pls help
View Tutorial          By: Raghuvir at 2009-05-13 23:03:44

2. I have altered the code as described (xml addition
View Tutorial          By: Spijker at 2015-10-14 12:27:47

3. Very Good Example Dude!

Note for re

View Tutorial          By: Erwin at 2009-12-06 20:20:24

4. Thank for simple and nice code. Pls,
1. li

View Tutorial          By: Sherif at 2011-12-26 14:12:12

5. i want to learn j2me basic to ....
View Tutorial          By: gopiraj at 2012-12-21 11:52:01

6. Hi. I put the file .cert in two paths:
C:\P

View Tutorial          By: ALFREDO at 2012-09-18 16:22:16

7. yesh this is very help full for every body.
View Tutorial          By: venkat at 2010-06-29 12:18:57

8. a bit extra information on robust
View Tutorial          By: mahesh at 2010-02-02 12:05:37

9. Hello sir, I observe that in the first version of
View Tutorial          By: Ganny at 2012-08-13 17:04:58

10. this is simple example but need to more explanatio
View Tutorial          By: Ramalingam at 2012-01-05 06:25:12