SMS 4 Geeks!



Info    Setup    Samples    Controls   

Info

This app will turn your android device into an SMS gateway where you can send and receive SMS'es on your own web page or programming code.

It is meant to be used by developers so if you are just a normal user this is probably not for you.

Some ideas what this can be used for:


Please note:

Install and setup

Installation:
  1. Download the app and install it on your phone
  2. Start the app and enter a desired username and password
Outgoing SMS'es:
  1. Login to https://sms4geeks.appspot.com and go to the controls menu
  2. Try to send a SMS to a number to verify that all is working
Incoming SMS'es:
  1. Login to https://sms4geeks.appspot.com and go to the controls menu
  2. Enter 'test' as keyword and an the URL of your server, i.e. 'www.yourservername.com'
  3. Send an SMS to your phone that starts with test, i.e. 'test hello server'
  4. Go to your servers access log and verify that you have received a hit
  5. The hit will contain two post parameters: msisdn and message
Uninstall:
If the app for some reason does not work for you please uninstall it by clicking: menu->unregister
This will remove the account on googles push servers, the device and on the server.

Code samples

HTML

<form method='post' action='https://sms4geeks.appspot.com/smsgateway' accept-charset="UTF-8">
<input type='hidden' name='action' value='out'>
<input type='hidden' name='username' value='YourUserName'>
<input type='hidden' name='password' value='YourPassword'>
Phone: <input type='text' name='msisdn' placeholder="555123456">
Message: <input type='text' name='msg' value='Sent from server :-)'>
<input type='submit' value='Send SMS'>
</form>
Just change 'YourUserName' and 'YourPassword' and enter a valid phonenumber in the form above before testing.

NB: only expose this page to users you trust or it can be misused.

<form method='post' action='https://sms4geeks.appspot.com/smsgateway' accept-charset="UTF-8">
<input type='hidden' name='action' value='notification'>
<input type='hidden' name='username' value='YourUserName'>
<input type='hidden' name='password' value='YourPassword'>
Message: <input type='text' name='msg' value='Sent from server :-)'>
Vibrate: <input type='checkbox' name='vibrate'/>
Popup: <input type='checkbox' name='showpopup'/>
<input type=text name='popup'>
<input type='submit' value='Show notification'>
</form>

Bash script

curl "https://sms4geeks.appspot.com/smsgateway?action=out&username=YourUserName&password=YourPassword&msisdn=555123456&msg=hello"

Controls

Please login first