Study of the Source code of Google's Android App mytracks

3,955 views

Published on

Study of the Source code of Google's Android App Mytracks.

Learn how to code GPS, integration with Google Map, upload chart, graph to google docs.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,955
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
58
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Study of the Source code of Google's Android App mytracks

  1. 1. MyTracks A Cool Open Source Google Android App that use GPS, location, Google doc implementations. by Mike Yen
  2. 2. Source code location Full source code can be downloaded from: http://www.google.com/mobile/mytracks/ Cool features: Maps GPS Integration Google Docs import/export/share
  3. 3. Tool / website www.srcmap.org Website/tool used http://www.srcmap.org/s/sl.htm/p=mytracks.1.1.11 #c=P&d=/proj_src/mytracks.1.1.11/&p=mytracks.1.1.11 Deep link into source code. All the identifiers on screen are links and cross referenced to other parts of project.
  4. 4. www.srcmap.org/p=mytracks.1.1.11.....
  5. 5. Start / Stop Recording startRecordingButton stopRecordingButton
  6. 6. Menu actions menu_search menu_start_gps menu_refresh menu_settings menu_import_all menu_export_all
  7. 7. Google Drive integration DIALOG_CONFIRM_SWITCH_ACCOUNT DIALOG_CONFIRM_DRIVE_SYNC_ON handleDriveAccess MultiAccountsSyncTest
  8. 8. Maps integrations settings_map_key settings_chart_key settings_sharing_key settings_sensor_key settings_backup_reset_key
  9. 9. Mapping code MapsClient GDataServiceClient MAPS_BASE_FEED_URL MyTracksMapFragment MAP_FRAGMENT_TAG getDefaultLatLng GoogleMap updateStartAndEndMarkers updateWaypoints
  10. 10. AggregatedStatsActivity TripStatistics getTripStatistics AggregatedStatsActivity getChartUrl ChartURLGenerator
  11. 11. Interesting code: Bike sensor and heart rate monitor settings_sensor_ant_reset_combined_bike_sensor_key settings_sensor_ant_reset_heart_rate_monitor_key
  12. 12. srcmap tools, website. ● The www.srcmap.com and www.srcmap.org websites will be always free to use. ○ You can cross reference source code of Linux kernel, FreeBSD kernel, Nginx, Apache, MyTracks, openstacks and other software packages.
  13. 13. srcmap.org (cont.) ● In the near future, you will be able purchase, download and run srcmap software in your own system (Linux, Windows, Mac). ○ ● You can cross reference your own proprietary software within your own server. Limited free license will be available to the developers/students who document the open source packages in google docs and make it available to everyone. ○ Now you know why I am doing this. :-) ■ ○ Follow my other works here: http://www.slideshare.net/MikeYen/ If you like to get free srcmap license, sign up and start document your favorite open source package asap before the limited free license run out.

×