This is ad free (no ads) version of https://play.google.com/store/apps/details?id=com.gamma.metaldetector
Metal Detector app uses your devices magnetic sensor to measure magnetic field values and turns any Android into a real metal detector. Data is displayed in T (micro Testla). 1T = 10mG (milli Gauss). The magnetic field in nature ranges from 25 to 65 T (0.25 to 0.65 G). Any higher measurement is an indication of metal in the area. When there is metal in the area, magnetic field increases. App works best detecting ferromagnetic materials, such as iron and cant detect non-ferromagnetic materials such as aluminum. App works best detecting metals up to 15cm away.
Metal Detector app is simple to use, just open it and move it around. If the magnetic field values rise there is metal in the area. Accuracy of the app is entirely dependent on the magnetic sensor in your device and is affected by electrical equipment such as TVs, PCs due to electromagnetic waves.
If the app does not work as it should then the problem is in your magnetic sensor. Maybe your device does not have one. Or try to initialize the sensors by pointing your phone up and rotate it in a figure 8 pattern. Remove magnetic covers from your device for accurate readings. Magnetic covers will influence the magnetic sensor in your Android device. If your device's case contains metal elements remove the case before using the app.
Ghost hunters also use Metal Detectors for ghost detection as they claim that ghosts have an influence on magnetic fields. I am not sure about that but please let me know if its true.