Go Back   xda-developers > HTC Diamond: Touch Diamond, MDA Compact IV > Touch Diamond, MDA Compact IV Themes and Apps


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th July 2008, 05:21 PM
j0bro's Avatar
j0bro j0bro is offline
Member
 
Join Date: May 2006
Location: Eindhoven
Posts: 92
Lightbulb [APP][Updated 07/18/2008] BubbleLevel v1.02

BubbleLevel v1.02

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)

v1.00
- Initial release
Attached Images
File Type: jpg BubbleLevel.jpg (42.2 KB, 15970 views)
Attached Files
File Type: cab BubbleLevel.CAB (26.4 KB, 16539 views)
__________________
Creator of BubbleLevel!

HTC Hero White

Last edited by j0bro; 27th October 2008 at 11:03 AM.. Reason: Update to v1.02
Reply With Quote
Sponsored Links

  #2  
Old 14th July 2008, 05:25 PM
TomInMB's Avatar
TomInMB TomInMB is offline
Senior Member
 
Join Date: Jan 2007
Location: Myrtle Beach
Posts: 155
Thumbs up

You developers never cease to amaze me. Great work! XDA-Dev is wonderful!
Reply With Quote

  #3  
Old 14th July 2008, 05:26 PM
Da9L's Avatar
Da9L Da9L is offline
Senior Member
 
Join Date: Jan 2007
Posts: 599
Default

Sounds nice ! So this software will let us be able to calibrate the Touch Diamonds Accelerometer?

I have downloaded the cab and installed it but how to use it?
__________________
HTC Touch Diamond | HTC Prophet
HTC Vox | HTC Typhoon | HTC Canary ()
all operated by Windows Mobile
Reply With Quote

  #4  
Old 14th July 2008, 05:27 PM
akito akito is offline
Senior Member
 
Join Date: May 2006
Posts: 124
Default

I'm going to try this!! Thanks for posting it and letting us try :-D
Reply With Quote

  #5  
Old 14th July 2008, 05:30 PM
j0bro's Avatar
j0bro j0bro is offline
Member
 
Join Date: May 2006
Location: Eindhoven
Posts: 92
Default

Quote:
Originally Posted by Da9L View Post
Sounds nice ! So this software will let us be able to calibrate the Touch Diamonds Accelerometer?

I have downloaded the cab and installed it but how to use it?
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
__________________
Creator of BubbleLevel!

HTC Hero White
Reply With Quote

  #6  
Old 14th July 2008, 05:41 PM
Da9L's Avatar
Da9L Da9L is offline
Senior Member
 
Join Date: Jan 2007
Posts: 599
Default

Quote:
Originally Posted by j0bro View Post
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..
__________________
HTC Touch Diamond | HTC Prophet
HTC Vox | HTC Typhoon | HTC Canary ()
all operated by Windows Mobile

Last edited by Da9L; 14th July 2008 at 05:46 PM..
Reply With Quote

  #7  
Old 14th July 2008, 05:51 PM
feridoun feridoun is offline
Member
 
Join Date: Nov 2006
Location: London
Posts: 58
Default

Brilliant!

Now if the Diamond had a flat back cover, I could actually use this for a bit of DIY
__________________
Orange HTC Diamond: bepe's Elite 0.54
O2 XDA Orbit: Oops Black v1.0
Reply With Quote

  #8  
Old 14th July 2008, 06:34 PM
akito akito is offline
Senior Member
 
Join Date: May 2006
Posts: 124
Default

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
Reply With Quote

  #9  
Old 14th July 2008, 06:40 PM
horstborsch's Avatar
horstborsch horstborsch is offline
Senior Member
 
Join Date: Jan 2008
Posts: 192
Default

can anyone post some screens? my diamond is up and away for repair

edit: sorry my browser took some while to load the pic on the first post so I didn´t see it.
__________________
Phone: O2 XDA Diamond
original ROM
ROM-Version: 1.93.207.2 GER
ROM-Date: 08/12/08
Radio: 1.0025.05
Protocol: 52.29.25.12U
Reply With Quote

  #10  
Old 14th July 2008, 06:52 PM
Blob8me's Avatar
Blob8me Blob8me is offline
Senior Member
 
Join Date: Nov 2006
Location: Spalding
Posts: 425
Default

Quote:
Originally Posted by j0bro View Post
BubbleLevel v1.0

My first attempt at utilizing the Touch Diamond's accelerometer. And it's free!
That is soo cool. Thanks Bro - great work.

.
__________________


Current ROM: Duttys Leo Holy Grail V.01
Current Device: HTC HD2 Leo
Old Devices:
HTC HD (for sale)
HTC Touch Pro
Touch Diamond
Touch Dual
Kaiser
Hermes
Wizard

Please - Do Not Get Upset about anything written on here! we're all here to:

-help each other
-guide each other
-test each other
-and occasionally have a little smile with or at each other!

Blob8me:
1958 - The Blob - Steve McQueen - One of the Greatest Actors of all time

Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:52 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.