Tuesday, May 3, 2011

Introducing Way2Droid - Way2SMS for Android !

This is one of the very few android apps that I have managed to get into a publishable state. This is a simple app that allows you to quickly send SMS messages using your data plan/wifi for free with a valid Way2SMS.com account. It uses way2sms-php library (read below for description of the library)!

Features include:
  • Add any way2sms account
  • Easy to use editor
  • Pick your contacts
  • Set upto 9 speed dials
  • Send messages of any length ( no 140 character limit )
  • Log sent messages in stock SMS
  • Send in background
Download APK: Link here!


Open Source Way2SMS API

I have developed and a free API for sending SMS using Way2SMS as the gateway. The API has been developed using PHP.

To use the API and send SMS, simply send a HTTP request to the following URL:
The fields enclosed in curly braces are the parameters and they are fairly self explanatory!

A sample usage in Python is as follows:
>>> import urllib2
>>> f = urllib2.urlopen('http://www.foamsnet.com/smsapi?username=username&password=password&to=12345&msg=hello+from+api')
>>> print f.read()
Sent successfully to 12345

Yes. Its that simple! Source code for the library can be found at: http://code.google.com/p/way2sms-php