A software engineer living in Vancouver, Canada - http://www.antonypranata.com/
antonypr | 01 November, 2007 22:58
The blogosphere has been hot since yesterday about accelerometer on Nokia N95. Apparently, Nokia 95 has a built-in accelerometer. You can find discussion about this on:
In the latest firmware, we can even get the raw data from the accelerometer using Sensor Plug-in for S60 3rd Edition. You can download the plug-in and start experimenting with accelerometer on Nokia N95
The usage of the API is very straightforward. You just need to create an instance of CRDAccelerometer and then receives the accelerometer data from its observer, MRDAccelerometerObserver. Note that the API still has "RD" prefix in the class name and file name; so it is still an R&D version.
Having access to accelerometer raw data gives us many possibilities. For example, we can use it as control for games. Arto Holopainen has shown similar idea; but he is using human muscle to control games.
As developers, the first question that you may have is, how to process raw data from the accelerometer. You need to know about "g" unit, which is a standard unit of acceleration. There are several papers that discuss "g" unit in accelerometer, for example:
General, Symbian C++ |
Permalink |
Comments (15) |
Trackbacks (9)