This Java SMS source code can be used to send SMS text messages to mobile phones from a Java SMS application by using HTTP requests and responses.

java-sms-example-http2.jpg


If you want to send SMS messages from a Java SMS application, HTTP provides the simplest method to send data from your application to another, since Java has native method calls to submit HTTP requests.

It allows you to transmit SMS messages to you SMS gateway by using HTTP GET or HTTP POST method.

Prerequisites to implement this solution:

Last edited Apr 7, 2015 at 9:24 AM by ozekiltd, version 3