Christopher Baker

SMS Java, Processing, etc

16 August 2006

For a current project, I would like to be able to receive SMS messages, email messages, and voice messages in Processing (or other Java applications). So here’s the solution I’ve got. First of all, it is very easy to send an SMS message from one’s computer to a cell phone for free (e.g. Google’s Free SMS Service). Unfortunately, it is cheaper to give than to receive. So, since I use T-Mobile, I have decided to sign up for an unlimited SMS package, which will cost $14.99/month. They offer several other plans, such as 400 messages for $4.99 or 1000 messages for $9.99. But, since there is a bit of grant money available, a couple months of unlimited SMS doesn’t seem so bad.

So, in order to get the messages in and out of Processing, I will use the SMSLib for Java. It looks like a simple solution [edit: It’s not!]. One can connect to the phone via Bluetooth and send and receive SMSes as needed. Luckily I have access to an old Sony T610 and a new Nokia 6103. One of the two should work. Ideally, I would like to parse and route the messages straight into a MySQL database for archival and use in multiple applications.

Bongos Artists using SMS