Android compass app based on magnetometer measurements.