tymicki / android-mock-location-gpx Goto Github PK
View Code? Open in Web Editor NEWAndroid mock location utility app
Android mock location utility app
I tried to use a GPX file directly from a smart watch and it was failing. I found out that the date format was not being accepted by this app even though https://en.wikipedia.org/wiki/ISO_8601#Times states that decimal fraction of seconds can be added.
Could this be fixed?
I have to change
<time>2020-11-03T06:56:14.000Z</time>
to
<time>2020-11-03T06:56:14Z</time>
for the GPX to work.
Example of my GPX data:
<?xml version="1.0" encoding="UTF-8"?>
<gpx creator="Garmin Connect" version="1.1"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/11.xsd"
xmlns:ns3="http://www.garmin.com/xmlschemas/TrackPointExtension/v1"
xmlns="http://www.topografix.com/GPX/1/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://www.garmin.com/xmlschemas/GpxExtensions/v3">
<metadata>
<link href="connect.garmin.com">
<text>Garmin Connect</text>
</link>
<time>2020-11-03T06:56:01.000Z</time>
</metadata>
<trk>
<name>Cycling</name>
<type>cycling</type>
<trkseg>
<trkpt lat="51.123456789" lon="16.123456789">
<ele>400.123456789</ele>
<time>2020-11-03T06:56:14.000Z</time>
<extensions>
<ns3:TrackPointExtension>
<ns3:atemp>20</ns3:atemp>
<ns3:hr>100</ns3:hr>
</ns3:TrackPointExtension>
</extensions>
</trkpt>
<trkpt lat="51.223456789" lon="16.223456789">
<ele>401.123456789</ele>
<time>2020-11-03T06:56:15.000Z</time>
<extensions>
<ns3:TrackPointExtension>
<ns3:atemp>20</ns3:atemp>
<ns3:hr>100</ns3:hr>
</ns3:TrackPointExtension>
</extensions>
</trkpt>
</trkseg>
</trk>
</gpx>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.