August 16th, 2006
SMS Java, Processing, etc
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 receieve 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.
3 Responses to “SMS Java, Processing, etc”
SMS Java, Processing, etc (Part 2) at Hybrids Research Log said it on August 22nd, 2006 at 1:58 am[…] [Part 1] For the last several days, I have struggled to get SMSLib for Java up and running. I finally realized that my copy of RxTx was out of date, which explained my inability to establish a bluetooth serial connection with my phone. I grabbed the new universal RxTx library and now it is working. Unfortunately, the SMSServer example that comes with SMSLib did not play nicely with MySql out of the box. The documentation was a bit outdated and I had to do some serious database interface hacking/redsign to get it running. […]
Edmund Ochieng said it on August 4th, 2008 at 3:55 amHi, I would like to inquire if you managed to setup SMSLib for java with your Sony T610. I have a Sony Ericsson K750i which I intend to use to send and recieve sms. If you managed, kindly send me the potion in which you create a sms gateway. I suppose the Sony T610 shares a similar architecture to the Sony Ericsson phones.
Christopher Baker said it on August 4th, 2008 at 3:00 pmHi Edmund — since this post, I have converted to mostly using a custom non-SMSLib framework and I often use the ultra sms library. I have used SMSLib with the T610 successfully, but I didn’t really make any changes to the original code. As far as I know, SMSLib has been upgraded several times since this post and should be working great now. Hope that’s somewhat helpful!