Open Source Android Apps for Developers: MyTracks for Android
My Tracks is a popular Android app owned by Google, which records your GPS tracks and shows live statistics such as time, speed, distance, and elevation – while hiking, cycling, running or participating in other outdoor activities. Now it has been released as the open souce Android app by My Tracks team at Google:
“As many of you had already heard from me, we’re releasing the full source code to My Tracks. It has now been posted entirely to the Google Project Hosting website.”
My Tracks records your GPS tracks and shows live statistics such as time, speed, distance, and elevation – while hiking, cycling, running or participating in other outdoor activities. Once recorded, you can share your tracks, upload them to Google Spreadsheets and visualize them on Google My Maps.
My Tracks Features includes:
While recording tracks, you can:
1. See location / progress on a map
2. Monitor real-time statistics: time, distance, speed, elevation
1. View elevation profile by time or distance
2. Zoom, pan elevation profile
3. Create waypoints
4. Create statistics waypoints (splits tracks into subtracks)
To share tracks, you can:
1. Upload to Google Map (example)
2. Upload to Google Docs (example)
3. Email as a Google My Map link
4. Embed Google Map on a website
5. Email as .gpx or .kml attachments
6. Export as .gpx or .kml to phone SD card
7. Tweet your My Map link on Twitter using Twidroid
My Tracks team at Google
You can download the latest package on the download section at My Tracks project home.
First Create your own clone
Create a clone of the mytracks repository hosted at Google Code.
A repository clone is a server-side copy of a project’s repository and can be created by anyone that wants to contribute to a project. For more information, see the Mercurial FAQ.
Then use the Command-line access:
Get a local copy of the mytracks repository with this command:
hg clone https://mytracks.googlecode.com/hg/ mytracks
Version control Overview
My Tracks uses Mercurial, a distributed version control system. What this means is that, even though this page hosts a central repository, there can be many clone repositories with changes of their own, and then some of those can be merged back into the main repository.
The model we’ve chosen for developing My Tracks is the following:
1. Each developer creates an google code hosting clone of the main mytracks repository. This clone is hosted on Google servers.
2. The developer then makes a local clone of his code hosting clone, which is then at his local machine.
3. The developer writes new code into his local clone and commits it locally
4. When a change is ready to be integrated back into the main repository, that change is pushed from the developer’s local clone to his code hosting clone
5. He then requests a code review by opening a new issue under “Issues” above, saying which clone has the code to be reviewed, what it’s supposed to do, and what are the relevant changesets
6. The code will be reviewed on the user’s clone – if any further changes are suggested, the process repeats from (3)
7. Once the change is approved, a member of the My Tracks team will merge it back into the main repository
Even though this may sound complicated, this process makes code reviews easy and allows a lot of people to work on changes in parallel.
Posted by Cute Android
Related Android Apps:
- Open Source Android Apps for Developers: android-scripting
- Open Source Android Apps for Developers: Dex2jar
- Open Source Android Apps for Developers: AndTweet
- Open Source Android Apps for Developers: Android2cloud
- Open Source Android Apps for Developers: Open-gpstracker
- Open Source Android Apps for Developers: WebSMSdroid
- Open Source Android Apps for Developers: Reader (Android client for Google Reader)
- Open Source Android Apps for Developers: Big-planet-tracks (An Offline Maps Enabled GPS Tracking App for Android-powered Phones)
- Open Source Android Apps for Developers: Android-analyzer
- Open Source Android Apps for Developers: Talkmyphone (Get informations from your android phone over xmpp)