This is a no-frills, simple SMS Gateway that can be used on an Android phone to initiate communications from SMS to a Web server. The logic to this app is the complexity of the data processing will be done in the cloud. The basic workflow of the app is:
User sends an SMS to the phone running Simple SMS Gateway -> Simple SMS Gateway App receives the message and forwards to your choice of website -> Your website processes the message and prints out a reply->Simple SMS Gateway reads your website's reply and sends it back to the User.
Note that this app must be kept active in the foreground to work (i.e. it is assumed the android phone is a 'dedicated' sms gateway). The phone must also have an active internet connection at all times.
Once installed, simply point the app to a valid website address (i.e. http://yourdomain.com/smsprocessor/index.php) that is designed to process the data received from this App.
The app sends out data using HTTP GET protocol in the following format:
It is up to you to code what your website will do with the values stored in msg and callerid (Store in a database, process, feed to a search engine, etc.).
Meanwhile, the App will be waiting for a reply from the webpage by reading the webpage content. It will then attempt to send back via text whatever you display in the webpage. For example, below is php code to basically echo back to the sender the message he sent:
/*Message format should be http://yourdomain.com/index.php?msg=[SMS-MSG]&callerid=[SENDER-NUMBER]*/
echo "$phone - $msg";
To breakdown long text into multiple SMS messages use | in the message. ex: This is message 1 | This is message 2 | This is message 3 | etc.. If you don't use | only the first 160 characters will be sent in a single message.
Note that this was never designed to process hundreds of sms messages simultaneously!
This App was developed by EACOMM Corporation and is currently being utilized for text-based search services, incident/event reporting, text-based surveys/research, and the like.