With best regards,
Marko Mäkelä (OSM user skela)
Sorry for being so slow, but I guess I have to admit that my day job as C and C++ programmer is exhausting me.
I would like to get rid of MyTracks and use OsmAnd for GPX logging. But, I would like to record some extra attributes. I do not care about real-time display; it is enough to have the extra data in the GPX file.
I was wondering if this is doable with Android intentions. When recording, OsmAnd would send an event 'gpxext' every 1s. If any logging extension apps are enabled, they would respond with a string that is to be stored with the next GPS sample in the extension tag.
Or would this be better doable with some plugin and registering cal
I see the point Yes, in deed, this could be probably possible and also maybe not very hard. OsmAnd would define an intent, which could say what data to log in gpx. The part of the intent would be the data, probably if osmand should write it immediately (with latest location) or immediately with actual location, or if it should wait for its log interval and write down the data it has. This way, any number of programs can be sending data to OsmAnd (well, this seems from user perspective a nightmare to setup however).So the idea of OsmAnd plugin would be, that user can select what to monitor there, and plugin will be sending the data to OsmAnd with intenet, and OsmAnd will store them (or only last entry) until it logs the event down with the current possition.Something like this?
Hi Pavol,
We could also keep the communication simple and unidirectional, if OsmAnd started recording automatically when receiving the extra logging intents.