My first attempt at utilizing the Touch Diamond's accelerometer. And it's free!
The sensor is a Kionix KXSD9.
Donate a cup of coffee!
Thanks for donating on my birthday: Damien (€2,00)
and another thank you for Nuno (€1,00)
Features:
- Measure the slope of a surface using the 'bubble level' concept
- Display the slope angle in degrees
- Real time display and calibration of sensor data
- Can be used upside down too (go measure yer ceiling matey!)
Changelog:
v1.02
- Added verbose calibration screen
- Real time sensor data monitoring
- Implemented two-direction calibration method (for absolute sensor bias compensation as suggested by Kionix)
- Calibration data is stored to memory (used for BubbleLevel only!)
v1.01
- Added icon and placed shortcut in Programs (instead of Start Menu)
- Fixed bug of bubble flying away >42 lightyears when device is tilted at 90 degrees, causing a warp core breach (thanks akito)
The shortcut's in your Start Menu. Click the Windows flag to get to it; I will find a nice icon and add a decent Programs shortcut later on
Okay got it working now.. But when i calibrate and exit the program it resets the settings back to before it was calibrated.. So it doesnt save the calibration..
Windows Mobile HTC HD2 | HTC HD | HTC Universal | HTC Touch Diamond | HTC Prophet | HTC Vox | HTC Typhoon | HTC Canary
Bug found ;)
Whether calibrated or not, when I hold my phone completely vertical making it show about 87 degrees of more the program crashes... actually my whole phone crashes cause I can't exit the program anymore and need to push the reset button :-p
If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?