Commit Graph

36 Commits

Author SHA1 Message Date
Jimmy Shih d4fb45748f merge branches 2013-02-20 13:05:48 -08:00
Jimmy Shih 37dbff6025 Handle the case that some tracks can be uploaded to Google Drive before sync is enabled. 2013-02-20 13:03:58 -08:00
Jimmy Shih 9394031177 Do not show the EnableSyncDialogFragment if sync is already enabled. 2013-02-20 09:09:59 -08:00
youtaol 439b508619 Merge heads 2013-02-20 17:35:00 +08:00
youtaol 95cb4db92c Change code style. 2013-02-20 17:08:08 +08:00
youtaol 6ff0509124 Change to using OAuth2 and the new spreadsheet gdata library. Update the SendToGoogleTest as the new code changes. 2013-02-20 17:01:17 +08:00
Jimmy Shih 883596b388 In the start up flow, ask the user if he wants to enable Google Drive sync. 2013-02-19 18:41:26 -08:00
Jimmy Shih 63319b78f9 Remove a testing constructor in ChooseMapsAsyncTask that is no longer used. 2013-02-19 16:25:28 -08:00
Jimmy Shih 583de3606d Move ChooseAccountActivity as an AbstractSendToGoogleActivity. 2013-02-19 15:32:24 -08:00
Jimmy Shih bf46ca115b Fix the flow for sharing via maps url to first choose an account, then
choose an activity.
2013-02-19 13:49:37 -08:00
Jimmy Shih c4fd180f40 merge branches 2013-02-19 13:31:15 -08:00
youtaol 9d6ba74a6d Change the the return value of SyncUtils.getMyTracksFolder(context, drive) from string to File object. 2013-02-18 19:50:21 +08:00
Jimmy Shih 13ed536065 Add a ChooseAccountDialogFragment. 2013-02-15 14:42:59 -08:00
Jimmy Shih 15a2024614 Add AddEmail after choosing an account. 2013-02-15 13:05:54 -08:00
Jimmy Shih d1db798f16 Minor improvements to dialog fragment. 2013-02-14 17:10:52 -08:00
Jimmy Shih c9fa895ba4 Add the owner of the shared with me tracks. 2013-02-14 14:16:39 -08:00
Jimmy Shih 4f8e8adc23 Rename to Google Spreadsheets. 2013-02-12 17:38:26 -08:00
Jimmy Shih c93b487483 Update gdata api for Google spreadsheet. 2013-02-12 16:16:38 -08:00
Jimmy Shih bc0a2e3404 When sending to Google Fusion Table, allow either new public tables
or new private tables.
2013-02-08 16:40:44 -08:00
Jimmy Shih ab61869956 Upgrade send to fusion table to Fusion Table api v1. 2013-02-08 15:55:14 -08:00
Jimmy Shih cbfe96cdc5 When updating files, check the md5 checksum. 2013-02-06 13:31:54 -08:00
Jimmy Shih 14f776721c When deleting all tracks, also disable sync to Google Drive. 2013-02-06 11:01:12 -08:00
Jimmy Shih 04f83e77d2 Handle the case a Shared with me track can be trashed. 2013-02-06 10:16:49 -08:00
Jimmy Shih 08bcfde5c7 Add retry for SyncAdapter. 2013-02-05 17:50:35 -08:00
Jimmy Shih 49d055ce36 Add retry when sending a track to Google Drive. 2013-02-05 14:37:47 -08:00
Jimmy Shih c0ec72f66a For "Shared with me" tracks, do not allow sending to Google Drive,
do not allow sharing with Google Drive.

For Drive tracks, exclude shared tracks.
2013-02-05 13:06:10 -08:00
Jimmy Shih 69f2b18f10 Add a "Shared with me" section. 2013-02-05 10:58:49 -08:00
Jimmy Shih f26a8799fa Also sync "Shared with me" KML files. 2013-02-02 13:16:04 -08:00
youtaol 0fac9767fe Merge heads 2013-02-01 13:05:31 +08:00
youtaol a1a86432d3 Change some code style. 2013-02-01 11:08:05 +08:00
Jimmy Shih ccd4398e4b Add Locale.US for all SimpleDateFormat constructor. 2013-01-31 11:22:20 -08:00
Jimmy Shih 71900213c0 Fix warnings of not closing cursors. 2013-01-31 11:02:27 -08:00
youtaol 880f153ed2 Add some test cases about sync feature. 2013-01-30 21:39:15 +08:00
Jimmy Shih 3f173d4434 Add option to share a track via Google Drive. 2013-01-29 16:40:01 -08:00
Jimmy Shih f9bd84dba0 Same the same confirmation dialog fragment for all action confirmation. 2013-01-29 15:59:31 -08:00
Jimmy Shih 51c24d5712 revert 2013-01-29 14:49:11 -08:00