Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,857 Members 44,157 Now Online
XDA Developers Android and Mobile Development Forum

[APP]metal detector - v1.0.0.0

Tip us?
 
6Fg8
Old
(Last edited by 6Fg8; 12th April 2010 at 10:44 PM.)
#1  
6Fg8's Avatar
Retired Senior Moderator - OP
Thanks Meter 5
Posts: 1,150
Join Date: Apr 2008
Location: Vienna
Default [APP]metal detector - v1.0.0.0

metal Detector for HTC HD2
idea & code: 6Fg8
artwork: youmeus



supported devices
HTC HD2, nothing else!

How it works
The built-in compass uses the earth's magnetic field to calculate the deviation from magnetic north. As with every compass, if you put a piece of metal nearby, it gets deviated. Thats what i use here to detect metal.

Testing
Place your device flat on a surface. After starting the app, the gauge should show zero. If it doesnt, take your device and write a couple of "eights" in the air (this is to get rid of magnetism which might get stuck in the sensors).
Then use a pair of scissor or something the like and move it slowly to the right side of your device. At a distance of approx. 5 cm. the gauge should start to move. Take your device and move it with its right side near metals, and see if the gauge shows values.

How to recalibrate the electronic compass
Info
Video


Version history
v1.0
- detection algorithm improved (tilt compensation)
- sensitivity slider (red) now working
- continous ticking after app exit solved
- new app icon, thanks jaguaralani
- now uses HW accelerated opengl (problem with silvermoon solved, thanks Phippu)
v0.2
changed skin, added sound ticks and vibration
v0.1
first public release (alpha)

download metal detector


planned for future versions
DONE new skin
DONE sound ticks
DONE- vibration
DONE adjustable sensitivity (offset no longer needed)
DONE improved detection algorithm
- 3rd party skinning options
- save vibrate and sound settings

-additional skin:

My devices
Current: Samsung Galaxy S3
History: iPhone 3GS, HTC HD, HTC HD2, HTC Desire, HTC Desire HD

My projects
Power Radio | metal detector HD2 | HD2 taskbar WM6.5.x | m9editor | bluescreen splash | T8285 splash | SASHIMI regexport mod


if you appreciate my work!




The Following User Says Thank You to 6Fg8 For This Useful Post: [ Click to Expand ]
 
djcedric
Old
#2  
djcedric's Avatar
Senior Member
Thanks Meter 114
Posts: 3,213
Join Date: Feb 2008
Location: geraardsbergen

 
DONATE TO ME
very nice,will test it
 
6Fg8
Old
#3  
6Fg8's Avatar
Retired Senior Moderator - OP
Thanks Meter 5
Posts: 1,150
Join Date: Apr 2008
Location: Vienna
Quote:
Originally Posted by djcedric View Post
very nice,will test it
Hey DJ, always one of the first
My devices
Current: Samsung Galaxy S3
History: iPhone 3GS, HTC HD, HTC HD2, HTC Desire, HTC Desire HD

My projects
Power Radio | metal detector HD2 | HD2 taskbar WM6.5.x | m9editor | bluescreen splash | T8285 splash | SASHIMI regexport mod


if you appreciate my work!




 
djcedric
Old
#4  
djcedric's Avatar
Senior Member
Thanks Meter 114
Posts: 3,213
Join Date: Feb 2008
Location: geraardsbergen

 
DONATE TO ME
Quote:
Originally Posted by 6Fg8 View Post
Hey DJ, always one of the first
i try to see it all you know,btw i really like to follow you and what your dooing again and of course very impressed as i know its coming from a girl

Tested and working fine,also when i turn my device to the right the nail is gooing up but when the device is flat its working fine,thanks.
 
bulla666
Old
#5  
Member
Thanks Meter 2
Posts: 46
Join Date: Jan 2010
Location: Wakefield
works ok but if you turn device up side down it dosn't work:/
 
javielo1974
Old
#6  
Member
Thanks Meter 1
Posts: 35
Join Date: Oct 2007
Location: TORREMOLINOS
Quote:
Originally Posted by bulla666 View Post
works ok but if you turn device up side down it dosn't work:/
And if you turn your deviceupside down you canīt see the screen...

Works awesome, but need a better interface...
 
samsamuel
Old
#7  
samsamuel's Avatar
Senior Member
Thanks Meter 1047
Posts: 9,105
Join Date: Nov 2006
Quote:
Originally Posted by bulla666 View Post
works ok but if you turn device up side down it dosn't work:/
Yes it does....


Good job, lol, nice little plaything
ViperOneM8 VIPER4Android

O2 UK automated free sim unlock form.

Want to say thanks? Do you buy stuff on eBay? Click HERE to donate to me FOR FREE
 
Russiwluv
Old
#8  
Russiwluv's Avatar
Member
Thanks Meter 1
Posts: 30
Join Date: May 2009
Cool device man! Keep on the good job...


are there already results? Can we say that this app is accurate?


I can use it very good but I need to rely on it that it shows the right values...
[B]If you're not part of the cure, you're part of the problem..
..[B]

Device: HD2
Rom: Duttys Leo HG V1 576mb WWE
Radio: 2.08.50.08_2
 
madindehead
Old
#9  
madindehead's Avatar
Senior Member
Thanks Meter 82
Posts: 2,242
Join Date: Apr 2009
Location: Glasgow
Um, how can this work? I thought it was a digital compass that was in the phone, not a genuine magnetic compass... Not doubting your hard work here. I just didn't think it was a genuine physical compass in either the HD2 or the iPhone.

Sorry, a bit confused.
 
samsamuel
Old
#10  
samsamuel's Avatar
Senior Member
Thanks Meter 1047
Posts: 9,105
Join Date: Nov 2006
Quote:
Originally Posted by madindehead View Post
Um, how can this work? I thought it was a digital compass that was in the phone, not a genuine magnetic compass... Not doubting your hard work here. I just didn't think it was a genuine physical compass in either the HD2 or the iPhone.

Sorry, a bit confused.
It is a real sensor, a magneto-inductive sensor that can pick up the earths magnetic field and work out its direction of flow, and hence north. Although we think of them as 'digital compasses', they are more accurately 'electronic compasses' with no moving parts.
ViperOneM8 VIPER4Android

O2 UK automated free sim unlock form.

Want to say thanks? Do you buy stuff on eBay? Click HERE to donate to me FOR FREE

Tags
compass, detector, hd2, leo, metal
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Enjoy Wallpaper Overload with PhotoPhase

We don’t usually feature live wallpapers on the XDA Portal unless they are somewhat innovative … more

Monitor What Your Phone’s Camera Sees with Android Wear

Having a smart device strapped to your wrist certainly has its merits. A … more

Mod Lets You Have Stereo Speakers on Your Sony Xperia Z1 (Sort Of)

The stereo speakers onthe Sony Xperia Z2areprobably a relatively large … more

Give Your Screen Some Color with HexaTime Live Wallpaper

We don’t often cover very many live wallpapers here on the XDA Portal. You may … more