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 11th July 2008, 10:21 AM
fxxxxxx fxxxxxx is offline
Junior Member
 
Join Date: Jul 2008
Posts: 14
Default [APP]Water-level/spirit-level

Current version is SpiritLevel_0.9.1.zip http://forum.xda-developers.com/atta...chmentid=98776

Now I re-engineered the spirit level app a little bit.
It can now also show the raw X, Y and Z tilt data. Thus, you can easily see how much the g-sensor might need to be calibrated. Just check the option "Show Raw Sensor Data" from the menu.

Calibrating for this app ONLY available in SpiritLevel_SVC0.9.zip
Attached Files
File Type: zip SpiritLevel_SVC.zip (8.9 KB, 1914 views)
File Type: zip SpiritLevel_SVC0.9.zip (8.9 KB, 3267 views)
File Type: zip SpiritLevel_0.9.1.zip (9.1 KB, 24282 views)

Last edited by l3v5y; 14th August 2008 at 09:44 PM.. Reason: new upload, Read the announcement, and you will know.
Reply With Quote
Sponsored Links

  #2  
Old 11th July 2008, 10:39 AM
TML1504 TML1504 is offline
Senior Member
 
Join Date: Nov 2007
Location: Vienna
Posts: 157
Default

works very well, thx!
__________________
HTC HD2 (Miri HD2 WM6.5.X (28205/23518) V1.4B)
HTC Diamond
HTC Trinity
FSC Pocket Loox n560
Reply With Quote

  #3  
Old 11th July 2008, 10:40 AM
tomchap tomchap is offline
Senior Member
 
Join Date: Apr 2006
Posts: 201
Default

Great little App, nice one! The trick is using it on a surface that is flat and level to get an accurate reading.

Putting it on my desk at work:

x: 1 degree
y: 7 degree

x Tilt: -19
y Tilt: 117
z Tilt: -879

This keeps changing tho, which would indicate that the surface isnt very level.

Also looking at where the indicators are, it looks slightly off, but not enough to worry me thinks.

Congrats on the useful little app. Cheers!
__________________
1017 mile bike ride for charity, please sponsor us http://www.blazingsaddles2008.co.uk

Please checkout these sites:

My ebay auctions http://search.ebay.co.uk/_W0QQsassZoneoffdealsQ5fcom
Quality webhosting, with the personal, professional touch www.mooedia.co.uk
My Musicwww.myspace.com/tomismixedup

Phone History:
SPV Classic/E200/C500/Nokia 6250/Ngage + QD/XDA + II/SPV M2000/T610i, Razr V3/O2 XDA mini s/M5000/SPVM3100/C600/Ameo/Prada/Viewty/Touch + Dual now Diamond.
Reply With Quote

  #4  
Old 11th July 2008, 11:38 AM
timn2087's Avatar
timn2087 timn2087 is offline
Senior Member
 
Join Date: Jan 2007
Location: Melbourne
Posts: 227
Default

Great app, but what if the g-sensor is not completely accurate?

as in this thread
http://forum.xda-developers.com/show...ghlight=sensor
__________________
Telstra HTC Touch Diamond (DIAM 130) with unsigned Hard SPL OliNex (here) Shine On 2.4 Light ROM with dynamic pagepool by panosha (here) and I use 1.00.25.08 radio (here). This radio gives the best signal strength of all radios currently available when using Telstra's Next G network in regional areas - signal strength is on a par with phones from LG and Samsung that Telstra give the "regional tick".
Reply With Quote

  #5  
Old 11th July 2008, 12:14 PM
fxxxxxx fxxxxxx is offline
Junior Member
 
Join Date: Jul 2008
Posts: 14
Default

Well, I could add an option that (somehow) calibrates the g-sensor, but only for this app. E.g. a menu entry "Calibrate" which, then asks you to put it on a perfect spot with 0° on X and Y axis and then maybe to 90 ° on X and Y axis. Maybe it will come - depends on my time. Maybe there is also a registry entry for this for the g-sensor.
Reply With Quote

  #6  
Old 11th July 2008, 12:29 PM
menkul menkul is offline
Member
 
Join Date: Jul 2004
Location: Drensteinfurt
Posts: 38
Default

Quote:
Originally Posted by fxxxxxx View Post
Well, I could add an option that (somehow) calibrates the g-sensor, but only for this app. E.g. a menu entry "Calibrate" which, then asks you to put it on a perfect spot with 0° on X and Y axis and then maybe to 90 ° on X and Y axis. Maybe it will come - depends on my time. Maybe there is also a registry entry for this for the g-sensor.

thanks ;-)

Menkul
Reply With Quote

  #7  
Old 11th July 2008, 01:00 PM
teddyen66's Avatar
teddyen66 teddyen66 is offline
Senior Member
 
Join Date: Sep 2005
Posts: 200
Default

GREAT app ;-)
And even better if a calibration option is added.
This would help alot of people :-)
__________________
Qtek 8310 + HTC Touch Diamond + HTC Advantage X7500
http://www.kimfyrst.dk
http://www.mytouch.dk (comming soon)
http://www.sponsorcar.dk/default.asp...&refere=211872
Reply With Quote

  #8  
Old 11th July 2008, 01:13 PM
foegie foegie is offline
Junior Member
 
Join Date: Jul 2008
Posts: 8
Default

Quote:
Originally Posted by fxxxxxx View Post
Well, I could add an option that (somehow) calibrates the g-sensor, but only for this app. E.g. a menu entry "Calibrate" which, then asks you to put it on a perfect spot with 0° on X and Y axis and then maybe to 90 ° on X and Y axis. Maybe it will come - depends on my time. Maybe there is also a registry entry for this for the g-sensor.

this would be a great option. Currently the app displays x tilt: 270 when my phone is laying down on my desk. and it would be great if i could calibrate it from this position so that X an Y are back to 0
Reply With Quote

  #9  
Old 11th July 2008, 01:25 PM
fxxxxxx fxxxxxx is offline
Junior Member
 
Join Date: Jul 2008
Posts: 14
Default

Ok, there is a new version in post #1. With that version you can calibrate the g-sensor, but ONLY for the spirit-level/water-level application. Currently it has no other effect. I am not sure if there is a way to "calibrate" the g-sensor globally.

Last edited by fxxxxxx; 11th July 2008 at 01:28 PM..
Reply With Quote

  #10  
Old 11th July 2008, 01:33 PM
TML1504 TML1504 is offline
Senior Member
 
Join Date: Nov 2007
Location: Vienna
Posts: 157
Default

On the table in my office I get:

X: 3-4°
Y: 355-357°
X Tilt: -59
Y Tilt: -59
Z Tilt: 820

But the values are not steady, even if I do not move the device the numbers
are changing about twice a second.

Do others have the same behavior?
__________________
HTC HD2 (Miri HD2 WM6.5.X (28205/23518) V1.4B)
HTC Diamond
HTC Trinity
FSC Pocket Loox n560
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 10:15 PM.


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