Use your phone as a GPS logger, for example in order to geotag photos. This app turns on GPS and records your location to a log file in standard GPX format.