After the comment from Twiddle I had a look for a suitable app and there are loads! They apparently work by detecting the localised magnetic variation by using the inbuild compass. My test detected that there is a strong magnetic field around my laptop!!