how to check magnetic sensor in android