study of the source code of google's android app mytracks
DESCRIPTION
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.TRANSCRIPT
![Page 1: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/1.jpg)
MyTracksA Cool Open Source Google Android App that use
GPS, location, Google doc implementations.by Mike Yen
![Page 2: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/2.jpg)
Source code location
Full source code can be downloaded from:http://www.google.com/mobile/mytracks/
Cool features:Maps GPS IntegrationGoogle Docs import/export/share
![Page 3: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/3.jpg)
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 otherparts of project.
![Page 4: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/4.jpg)
www.srcmap.org/p=mytracks.1.1.11.....
![Page 5: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/5.jpg)
Start / Stop Recording
startRecordingButtonstopRecordingButton
![Page 6: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/6.jpg)
Menu actions
menu_searchmenu_start_gpsmenu_refreshmenu_settingsmenu_import_allmenu_export_all
![Page 7: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/7.jpg)
Google Drive integrationDIALOG_CONFIRM_SWITCH_ACCOUNT
DIALOG_CONFIRM_DRIVE_SYNC_ON
handleDriveAccess
MultiAccountsSyncTest
![Page 8: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/8.jpg)
Maps integrationssettings_map_key
settings_chart_key
settings_sharing_key
settings_sensor_key
settings_backup_reset_key
![Page 9: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/9.jpg)
Mapping codeMapsClient
GDataServiceClientMAPS_BASE_FEED_URL
MyTracksMapFragmentMAP_FRAGMENT_TAGgetDefaultLatLngGoogleMapupdateStartAndEndMarkersupdateWaypoints
![Page 10: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/10.jpg)
AggregatedStatsActivityTripStatistics
getTripStatisticsAggregatedStatsActivity
getChartUrl
ChartURLGenerator
![Page 11: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/11.jpg)
Interesting code: Bike sensor and heart rate monitor
settings_sensor_ant_reset_combined_bike_sensor_key
settings_sensor_ant_reset_heart_rate_monitor_key
![Page 12: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/12.jpg)
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.
![Page 13: Study of the Source code of Google's Android App mytracks](https://reader033.vdocuments.site/reader033/viewer/2022060110/556219f4d8b42acb1e8b538d/html5/thumbnails/13.jpg)
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.