nguillaumin/osmtracker-android — pull request #40 by chrisgee (2014-04-10 14:13:51+00:00)
Title: Compass

This modification stores current magnetic compass heading with track- and waypoints, allows to export those values to the gpx file in either the cmt field or in a field within (configurable by user). It also displays the current compass reading in the logging gui.

There is one hunk in GpsStatusRecord that is not directly related to this: in onGpsStatusChanged, I look at how many of the visible satellites are actually being used in the fix to determine the signal indicator and in addition if this number goes to zero, the buttons are disabled (since location might not be the current one anymore). I don't know if that fits your philosopy. One probably also want's to disable the hardware button functions, when buttons are disabled. However I did not manage to figure out where to do that...

Hope you like this.