Transcript
Page 1: Study of the Source code of Google's  Android App mytracks

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

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

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 6: Study of the Source code of Google's  Android App mytracks

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

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

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

Mapping codeMapsClient

GDataServiceClientMAPS_BASE_FEED_URL

MyTracksMapFragmentMAP_FRAGMENT_TAGgetDefaultLatLngGoogleMapupdateStartAndEndMarkersupdateWaypoints

Page 10: Study of the Source code of Google's  Android App mytracks

AggregatedStatsActivityTripStatistics

getTripStatisticsAggregatedStatsActivity

getChartUrl

ChartURLGenerator

Page 13: Study of the Source code of Google's  Android App mytracks

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.