New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
j0bro
Old
(Last edited by j0bro; 27th October 2008 at 11:03 AM.) Reason: Update to v1.02
#1  
j0bro's Avatar
Senior Member - OP
Thanks Meter 49
Posts: 287
Join Date: May 2006
Location: Eindhoven
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 Thumbnails
Click image for larger version

Name:	BubbleLevel.jpg
Views:	17995
Size:	42.2 KB
ID:	99253  
Attached Files
File Type: cab BubbleLevel.CAB - [Click for QR Code] (26.4 KB, 19645 views)
Creator of T-Mobile TV, LockPicker (Android), BubbleLevel (WM)

Samsung Galaxy S III GT-i9300
 
TomInMB
Old
#2  
TomInMB's Avatar
Senior Member
Thanks Meter 1
Posts: 178
Join Date: Jan 2007
Location: Myrtle Beach
You developers never cease to amaze me. Great work! XDA-Dev is wonderful!
 
Da9L
Old
#3  
Da9L's Avatar
Senior Member
Thanks Meter 9
Posts: 843
Join Date: Jan 2007
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?

Windows Mobile
HTC HD2 | HTC HD | HTC Universal | HTC Touch Diamond | HTC Prophet | HTC Vox | HTC Typhoon | HTC Canary

Android
HTC Dezire Z | HTC Tattoo | HTC Hero

-= ! HTC FTW ! =-

Color indicates device currently in use
 
akito
Old
#4  
Senior Member
Thanks Meter 0
Posts: 125
Join Date: May 2006
I'm going to try this!! Thanks for posting it and letting us try :D
 
j0bro
Old
#5  
j0bro's Avatar
Senior Member - OP
Thanks Meter 49
Posts: 287
Join Date: May 2006
Location: Eindhoven
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 T-Mobile TV, LockPicker (Android), BubbleLevel (WM)

Samsung Galaxy S III GT-i9300
 
Da9L
Old
(Last edited by Da9L; 14th July 2008 at 04:46 PM.)
#6  
Da9L's Avatar
Senior Member
Thanks Meter 9
Posts: 843
Join Date: Jan 2007
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..

Windows Mobile
HTC HD2 | HTC HD | HTC Universal | HTC Touch Diamond | HTC Prophet | HTC Vox | HTC Typhoon | HTC Canary

Android
HTC Dezire Z | HTC Tattoo | HTC Hero

-= ! HTC FTW ! =-

Color indicates device currently in use
 
feridoun
Old
#7  
Member
Thanks Meter 0
Posts: 78
Join Date: Nov 2006
Location: London
Brilliant!

Now if the Diamond had a flat back cover, I could actually use this for a bit of DIY
Samsung Galaxy 7.7
~ Sony Ericsson Xperia Ray
~ ~ Samsung Galaxy S
~ ~ ~ HTC HD2
~ ~ ~ ~ HTC Touch Diamond
~ ~ ~ ~ ~ HTC XDA Orbit
 
akito
Old
#8  
Senior Member
Thanks Meter 0
Posts: 125
Join Date: May 2006
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
 
horstborsch
Old
#9  
horstborsch's Avatar
Senior Member
Thanks Meter 2
Posts: 209
Join Date: Jan 2008
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: HTC HD2
original ROM
ROM-Version: 1.66.407.1 GER
ROM-Date: 01/11/10
Radio: 2.07.51.22_2
Protocol: 15.32.50.07U
 
Blob8me
Old
#10  
Blob8me's Avatar
Senior Member
Thanks Meter 1
Posts: 476
Join Date: Nov 2006
Location: Spalding
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:
Renovate V1.0 Rx.x

Current Devices:
HTC One
HTC HD7


Old Devices:
HTC One X; HTC Sensation; Advent Vega Tablet; HTC Desire HD; HTC Desire; Sony Xperia X10 Mini; HTC HD2;
HTC HD; HTC Touch Pro; Touch Diamond;
Touch Dual; Kaiser; Hermes; Wizard

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



XDA PORTAL POSTS

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more