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. how can i give me a assign value to mutldimentiona
View Tutorial          By: shinde datta at 2013-01-12 10:41:15

2. I want inserted switch statement in my program,
View Tutorial          By: shah at 2011-02-07 01:11:12

3. Thanx................!!!!!!!!!!!
View Tutorial          By: ankita at 2012-01-21 19:16:54

4. You saved my but by posting this. Thank You. I j
View Tutorial          By: cranakis at 2014-09-19 16:10:20

5. i m student ,can any one help me in above code str
View Tutorial          By: devendra kumar at 2010-03-09 04:34:10

6. Dear All...................,
I have run the

View Tutorial          By: Ashraf Abu Aisheh at 2008-12-01 13:52:42

7. Hi..
i a'm Sajid mestri (Maha,sangli)

View Tutorial          By: sajid at 2010-10-30 00:32:15

8. error is main fuuction declaration
void mai

View Tutorial          By: T.M.Prakash.MCA. at 2012-09-20 12:26:52

9. Excellent example Jagan. By the way I have a quest
View Tutorial          By: Shrihas at 2012-01-07 14:12:48

10. helpful :)
View Tutorial          By: ravinder at 2012-03-22 11:52:19