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. hi,.. i have used this code to sending sms. It see
View Tutorial          By: dana at 2008-08-05 03:38:48

2. This solve my problem to use toString() method. Th
View Tutorial          By: Simon at 2009-07-31 08:56:36

3. can you have a user input tutorial for LinkedList]
View Tutorial          By: joedjoaquin at 2013-01-22 01:59:23

4. Hi
I have done all the steps mentioned abo

View Tutorial          By: Asela at 2012-01-26 18:53:51

5. It encourage the learners

Learners

View Tutorial          By: sureshkumar p at 2010-12-22 04:13:04

6. FilenameFilter only = new OnlyExt("html"
View Tutorial          By: joyes at 2009-08-25 11:34:13

7. Hi Jim, to get the code for this clock, right clic
View Tutorial          By: Rajan at 2008-04-11 08:25:03

8. your code error

because i try to ru

View Tutorial          By: Nasser at 2013-01-09 10:33:34

9. I like your linked list program. i've one doubt di
View Tutorial          By: silambarasan at 2013-01-25 03:11:48

10. Nice explanation with appropriate example
View Tutorial          By: VL at 2009-04-09 06:17:37