Prototyping: Retrieving values from a phone accelerometer
Posted January 17th
In an effort to keep my final project turning over, I decided to begin work on a prototype that provides some basic functionality of the finished product. Hopefully doing this and experimenting with settings and scenario’s I shall be able to refine my idea and let it evolve into something better!
I was originally going to create a Flash application in Flash Lite and run that from the phone, however I have since learned that for the mobile operating system S60 (which my development handset runs) the simplest, most integrated and supported language to write scripts for is Python.
The Nokia forums & Wiki provide an excellent resource for python development; http://wiki.forum.nokia.com/index.php/Category:Python
I have managed to set up a development environment on my phone and Macbook that allows me to very easily write and debug scripts on the phone very quickly, via Bluetooth. This Bluetooth connection is also what allows me to send the accelerometer data from my phone directly to Max/MSP on my Macbook.
Instructable on making the Bluetooth link between phone and OS X; http://www.instructables.com/id/SRSP943F6B7SYBG/
Instructable on setting up PUTools (allows file synchronizing across OS X & phone); http://www.instructables.com/id/SPSD55IF6B7T24U/
MobileLenin - An impressive achieve of fantastic beginner mobile python scripts; http://www.mobilenin.com/pys60/menu.htm




