Commit Graph

53 Commits

Author SHA1 Message Date
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
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 3bf9e9343d Update menu_share_drive icons. 2013-02-14 15:36:29 -08:00
Jimmy Shih 3dd578064e Fix bug in generating the time string. 2013-02-14 14:37:51 -08:00
Jimmy Shih c9fa895ba4 Add the owner of the shared with me tracks. 2013-02-14 14:16:39 -08:00
Jimmy Shih 10b714210b Improve start time layout in list view.
Display share via drive before share via map url.
2013-02-14 12:56:52 -08:00
Jimmy Shih 66fd25365b Add share via drive in the contextual menu. 2013-02-14 10:46:24 -08:00
Jimmy Shih 0b5af64ca1 Improve the list view layout. 2013-02-13 15:28:53 -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 111cebf0ec Add Google Fusion API v1. 2013-02-07 15:29:02 -08:00
Jimmy Shih 26f1261ac2 Fix memory leak in SectionResourceCursorAdapter. 2013-02-06 17:56:33 -08:00
Jimmy Shih 891005a65e Fix memory leak in TrackDetailActivity due to TrackController. 2013-02-06 16:53:25 -08:00
Jimmy Shih f8ecf409ca Fix TrackDetailActivity to just finish instead of launching
the TrackListActivity during a error.
2013-02-06 16:06:23 -08:00
Jimmy Shih 760223029a Improve transition after deleting a track or a marker. 2013-02-06 15:21:05 -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 fdf37bc19d Fix eclipse warnings. 2013-02-06 10:33:14 -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 b5fa77a98d Do not allow editing "Shared with me" tracks.
Do not allow editing/deleting "Shared with me" markers.
2013-02-04 09:45:24 -08:00
Jimmy Shih 6559bfa8e0 Handle context menu for Shared with me tracks in
track list, search list, and marker list.
2013-02-02 14:11:08 -08:00
Jimmy Shih e53df3cff1 Update the contextual action menu to not show edit option
for "Shared with me" tracks and markers.
Also not show the delete option for markers from
"Shared with me" tracks.
2013-02-02 13:54:24 -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 327336ee10 When selecting a google account the first time, don't show the
confirm message.
2013-01-29 16:48:52 -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 707985a081 merge heads 2013-01-29 14:51:47 -08:00
Jimmy Shih 51c24d5712 revert 2013-01-29 14:49:11 -08:00
Jimmy Shih f009e1aa39 Update proguard for google drive api 2013-01-28 18:36:53 -08:00
Jimmy Shih 642a843397 When updating a track based on google drive changes, revert
if the google drive file is invalid.
2013-01-25 15:50:08 -08:00
Jimmy Shih 19131fe4a0 Cancel any request permissions after the user has granted permission. 2013-01-25 15:19:41 -08:00
Jimmy Shih 19675f74ab Add Sending a track to Google Drive. 2013-01-25 15:00:31 -08:00
Jimmy Shih bf6369e1b7 Add Send to Drive in ChooseUploadServiceDialogFragment 2013-01-25 13:06:25 -08:00
Jimmy Shih 97cad0b36c Fix style in SendFusionTablesActivity.java 2013-01-25 12:47:56 -08:00
Jimmy Shih ff375c1eb5 Add two-ways sync to Google Drive. 2013-01-23 17:00:33 -08:00
Jimmy Shih 77e6dc1b73 Add columns driveid, modifiedtime, and sharedwithme
Add tombstone when a track is deleted
2013-01-23 13:06:28 -08:00
Jimmy Shih 07cd1dcdbb Allow importer to update an existing track. Add clearTrack in MyTracksProviderUtils 2013-01-23 11:04:15 -08:00
Jimmy Shih 6b5f9c976b Add drive_deleted_list and drive_largest_change_id 2013-01-23 09:59:31 -08:00