Jimmy Shih
0fad5840f3
Code cleanup: DeleteTest.java
2014-01-31 14:36:08 -08:00
Jimmy Shih
09102ab6db
Code cleanup: SettingsTest.java
2014-01-31 14:12:33 -08:00
Jimmy Shih
abb9b6e302
Code cleanup: PauseResumeTest
2014-01-31 12:35:41 -08:00
Jimmy Shih
58b36e01f0
Code cleanup: CreateTrackTest
2014-01-31 10:52:21 -08:00
Jimmy Shih
9a059add14
Code cleanup: MyLocationTest
2014-01-30 16:33:37 -08:00
Jimmy Shih
0e766261d1
Code cleanup: MenuItemsTest
2014-01-30 16:19:13 -08:00
Jimmy Shih
9655dcbff9
Code cleanup: ViewTest.java
2014-01-30 15:11:44 -08:00
Jimmy Shih
062d687cdb
Cleanup ExportAllAndImportAllTest
2014-01-30 14:19:11 -08:00
Jimmy Shih
0e7d909646
Cleanup logging in end to end tests
2014-01-28 18:20:06 -08:00
Jimmy Shih
98ef2a8975
Code cleanup: GoogleUtils
2014-01-28 14:30:29 -08:00
Jimmy Shih
bb5758f5bd
Code cleanup: EndToEndTestRunner and RunConfiguration
2014-01-28 11:11:30 -08:00
Jimmy Shih
e8c9661776
Fix unit tests
2014-01-28 09:59:07 -08:00
Jimmy Shih
381022fde0
Fix a null pointer in TrackDataHub
2014-01-24 15:28:41 -08:00
Jimmy Shih
0691975a4d
Allow following a recorded track by pressing the my current location button
2014-01-24 14:02:09 -08:00
Jimmy Shih
409621a240
Bug fix, don't adjust zoom level when keeping screen visible
2014-01-24 11:14:58 -08:00
Jimmy Shih
d42b6e5361
Allow horizontal scroll in chart view
2014-01-23 10:38:04 -08:00
Jimmy Shih
07428663c5
Update manifest for My Tracks 2.0.6 rc5
2014-01-22 14:10:30 -08:00
Jimmy Shih
8fefdd580b
Update translated strings
2014-01-22 13:17:40 -08:00
Jimmy Shih
18cd3d49fa
Upgrade to robotium 5.0.1
2014-01-22 11:19:09 -08:00
Jimmy Shih
974d7434d7
Bug fix, display csv numbers is US locale
2014-01-17 14:35:19 -08:00
Jimmy Shih
b5d40baeba
Code cleanup: improve ChooseActivityDialog using ViewHolder pattern
2014-01-17 13:39:22 -08:00
Jimmy Shih
28801a1332
bug fix, handle the case when gx:value in kml is empty
2014-01-17 13:06:06 -08:00
Jimmy Shih
0ccd70a7b9
Bug fix, set hasPhoto state immediately to prevent race condition that the TrackDetailActivity is recreated
2014-01-16 14:44:15 -08:00
Jimmy Shih
9f45405d89
Use a dialog fragment to show map layer
2014-01-16 14:03:12 -08:00
Jimmy Shih
a4cf0518c4
Bug fix, hide feedback button for gingerbread phones
2014-01-16 09:54:05 -08:00
Jimmy Shih
aec0721757
Improve delete all dialog message
2014-01-15 14:49:04 -08:00
Jimmy Shih
150ce66a46
Handle screen rotation in help activity
2014-01-15 13:14:24 -08:00
Jimmy Shih
770e00968b
Bug fix, use marginBottom for image view
2014-01-14 16:15:20 -08:00
Jimmy Shih
ec34e4cfb3
Improve empty track list view
2014-01-14 15:11:25 -08:00
Jimmy Shih
8a1574be72
Update unit tests for FixedSpeedTrackPathDescriptor
2014-01-14 14:53:51 -08:00
Jimmy Shih
5f436abbda
Fix bug: in dialog, get all the views first inside onCreate
2014-01-14 12:57:01 -08:00
Jimmy Shih
2f64785a63
Codeclean: accessibility content description
2014-01-13 14:25:33 -08:00
Jimmy Shih
f43d2ab766
Update request permission title
2014-01-13 13:21:37 -08:00
Jimmy Shih
9f6d412c98
Fix bug with slow speed preference and unit conversion
2014-01-13 13:13:25 -08:00
Jimmy Shih
3a1e1bc7f8
In default track name, add an option for Date + Location
2014-01-13 10:53:40 -08:00
Jimmy Shih
0743835893
Code cleanup of EulaUtils
2014-01-10 12:45:26 -08:00
Jimmy Shih
6ab9f0716b
Fix startup sequence to set the preferred unit if not set
2014-01-10 12:37:34 -08:00
Jimmy Shih
e62e821fc3
Improve track list empty view
2014-01-10 11:15:55 -08:00
Jimmy Shih
a5c01977bd
update launcher icon
2014-01-09 14:36:42 -08:00
Jimmy Shih
73c96a49a4
Code cleanup, remove period from single sentence
2014-01-08 17:47:05 -08:00
Jimmy Shih
68f84c5d39
Add menu items to Help and Feedback page
2014-01-08 15:46:41 -08:00
Jimmy Shih
33886cc2ad
Merge help and feedback into one menu item
2014-01-08 14:36:34 -08:00
Jimmy Shih
7f124aa76b
Code cleanup for enable and disable google sync
2014-01-08 14:05:31 -08:00
Jimmy Shih
071e33719e
Cleanup code to enable sync to Google Drive
2014-01-08 13:15:58 -08:00
Jimmy Shih
68685828ca
Prompt user to sync to drive after first recording
2014-01-08 11:32:04 -08:00
Jimmy Shih
5efd745562
Code cleanup: update no account message
2014-01-07 17:28:19 -08:00
Jimmy Shih
29cffa96e6
Update sync to Google Drive setting
2014-01-07 17:02:02 -08:00
Jimmy Shih
76e44794ff
Code cleanup, remove fragmentActivity as instance variable inside fragments
2013-12-26 17:17:10 -08:00
Jimmy Shih
5bc7f2f973
Inline account chooser in export dialog
2013-12-26 16:56:35 -08:00
Jimmy Shih
e1f6a57df2
inline choose account in share trak dialog
2013-12-26 14:25:43 -08:00
Jimmy Shih
c8629cc92a
Code cleanup: cleanup AbtractSendToGoogleActivity
2013-12-19 12:44:20 -08:00
Jimmy Shih
3b5b2461bb
Hide menu items when track list is empty
2013-12-18 16:10:25 -08:00
Jimmy Shih
a49a74fc6b
Update contextual action bar title
2013-12-18 15:30:54 -08:00
Jimmy Shih
da5df06298
Remove backup and restore, move reset to advanced setting
2013-12-17 18:06:03 -08:00
Jimmy Shih
33fb7cee81
Use finish for navigation up from marker detail page
2013-12-17 17:34:20 -08:00
Jimmy Shih
8b546459bf
Update text for allow sharing setting
2013-12-17 17:29:50 -08:00
Jimmy Shih
1dbebf0529
UX improvement, not showing total time when not recording
2013-12-17 17:20:12 -08:00
Jimmy Shih
e31550c524
Update marker list and marker detail title
2013-12-13 15:19:33 -08:00
Jimmy Shih
18ac53b6ce
update list_activated_holo.9.png and increase margin on marker detail view
2013-12-13 14:35:53 -08:00
Jimmy Shih
39387fa1c6
Fix bug on acquiring wake lock
2013-12-13 11:08:05 -08:00
Jimmy Shih
08cb38554f
Bug fix, fix importing markers
2013-12-13 10:52:46 -08:00
Jimmy Shih
4bf5b41cfa
Bug fix: only add folder tag when playing multiple tracks
2013-12-11 15:09:08 -08:00
Jimmy Shih
20bd0287dc
Improve delete marker confirmation tite and message
2013-12-11 10:30:33 -08:00
Jimmy Shih
7cbda8a9d5
Bug fix, fix layout on 4x1 widget
2013-12-09 15:51:20 -08:00
Jimmy Shih
e826ef1754
Use CheckPermissionAsyncTask in GoogleSettingsActivity
2013-12-09 15:10:36 -08:00
Jimmy Shih
61cf316fb5
Rename refresh to sync now
2013-12-09 14:42:10 -08:00
Jimmy Shih
a28c39bea9
Use asynctask to check for permission
2013-12-09 14:22:17 -08:00
Jimmy Shih
caa1680dc6
Explicitly grant and revoke read permission when playing a track
2013-12-06 11:11:41 -08:00
Jimmy Shih
61bc8f5bbe
Bug fix, do not cache folder id across sync requests to handle the case of switching account
2013-12-05 17:33:48 -08:00
Jimmy Shih
07edfde08d
Bug fix: set the final track name when the track ends
2013-12-05 16:25:05 -08:00
Jimmy Shih
3d0846bec6
Bug fix: fix index used when play multiple tracks
2013-12-05 15:59:36 -08:00
Jimmy Shih
5a40b83065
Set photo size first in the maker list
2013-12-05 14:57:39 -08:00
Jimmy Shih
d52715c513
When in imperial unit, use 150 lb as the default
2013-12-05 13:05:53 -08:00
Jimmy Shih
9085b777a7
Remove X clear button next to text widget for entering weight
2013-12-05 12:44:08 -08:00
Jimmy Shih
68afba0c31
Add latitude and longitude in marker detail page
2013-12-05 12:37:07 -08:00
Jimmy Shih
384efcbfdc
align list icon to top when there is only one line
2013-12-05 11:06:16 -08:00
Jimmy Shih
0a83728b82
Add text shadow when displaying photo in marker detail page
2013-12-05 10:45:53 -08:00
Jimmy Shih
7fe603c5fe
Add text shadow when displaying photo
2013-12-04 15:55:54 -08:00
Jimmy Shih
f0cfc65540
Set photo bitmap to transparent to avoid showing the old bitmap
2013-12-04 11:51:47 -08:00
Jimmy Shih
c2e4381a50
Use relative time display only on track list
2013-12-04 10:16:57 -08:00
Jimmy Shih
65bfa15553
Improve marker layout spacing
2013-12-03 17:34:53 -08:00
Jimmy Shih
1fbc38d38d
Update gallery during import cleanup
2013-12-03 11:00:20 -08:00
Jimmy Shih
df8ed8e678
My Tracks 2.0.6 rc1
2013-12-02 18:12:13 -08:00
Jimmy Shih
9c4ccb2da9
Update gallery when photo markers are deleted
2013-12-02 15:50:08 -08:00
Jimmy Shih
4043bd8696
Update alert dialog title divider color
2013-12-02 13:09:24 -08:00
Jimmy Shih
93ddc27566
During import, add photo markers to gallery
2013-12-02 10:59:48 -08:00
Jimmy Shih
d0a9885a50
Add custom error message when trying to make a track public in Google Drive
2013-11-27 14:23:38 -08:00
Jimmy Shih
48ecf26a42
No longer waiting for buffer to be fill before setting grade, elevation, and max speed values
2013-11-27 14:06:15 -08:00
Jimmy Shih
6b8ccc8a83
Fix unit tests
2013-11-27 13:56:23 -08:00
Jimmy Shih
8f9b07dcb4
Bug fix, use Math.round to convert double to long
2013-11-27 12:50:26 -08:00
Jimmy Shih
f40484f16c
Rename to play multiple
2013-11-27 11:29:07 -08:00
Jimmy Shih
2c0515c597
Add back option to export to google drive
2013-11-27 10:45:07 -08:00
Jimmy Shih
e813995b34
Add new location setting policy
2013-11-26 15:45:33 -08:00
Jimmy Shih
8bb8a1c266
Code cleanup, move google location settings logic to GoogleLocationUtils
2013-11-26 13:01:12 -08:00
Jimmy Shih
abcf7cddff
Code refactor of GoogleLocationUtils
2013-11-26 12:38:44 -08:00
Jimmy Shih
2ae1d7fe29
Set dialog title divider for preference dialogs
2013-11-25 15:52:12 -08:00
Jimmy Shih
8506b340e8
Move setting preferences under the settings package
2013-11-25 15:26:19 -08:00
Jimmy Shih
ab1226fa31
Set dialog title divider for dialogfragment
2013-11-25 15:09:12 -08:00
Jimmy Shih
0947ae2291
bug fix: fix vertical layout in choose_activity_type_.xml
2013-11-25 13:11:27 -08:00
Jimmy Shih
c91bc2086c
Use application theme for progress dialog
2013-11-25 10:42:47 -08:00
Jimmy Shih
be2d66d4ab
Revert menu icon color for froyo phones
2013-11-25 10:11:53 -08:00
Jimmy Shih
47c189409e
Add menu option for merge and play
2013-11-24 12:56:42 -08:00
Jimmy Shih
1e4451ce41
Prepend MyTracks to photo folder
2013-11-22 16:09:57 -08:00
Jimmy Shih
bb5d4069cd
fix layout issue for gingerbread
2013-11-22 15:35:02 -08:00
Jimmy Shih
dfe7606dd5
Add scrollview around alert dialog content
2013-11-22 14:02:47 -08:00
Jimmy Shih
9442416844
Remove choose activity type dialog beore starting a new one. Remove clear button next to text edit for api level < 11
2013-11-22 11:43:49 -08:00
Jimmy Shih
74713239fb
list item, select entire item. not show markers in action bar. Message when photo marker is canceled
2013-11-22 10:37:20 -08:00
Jimmy Shih
76c06f68fb
use custom spinner color
2013-11-21 14:42:08 -08:00
Jimmy Shih
03145839f3
Add custom color for radio button
2013-11-21 14:14:00 -08:00
Jimmy Shih
b90d3193ab
Improve alert dialog theme
2013-11-21 13:37:05 -08:00
Jimmy Shih
41f5206c63
Improve the default activity type preference
2013-11-20 17:49:15 -08:00
Jimmy Shih
0d65e5cafc
Code refactor to reuse ChooseActivityTypeDialog in PreferenecActivity
2013-11-20 11:33:58 -08:00
Jimmy Shih
33fb24c5e5
Bug fix, only update calorie in statistics markers
2013-11-20 10:58:44 -08:00
Jimmy Shih
79f974ee2b
Bug fix, at the end of a track, only update the time if not paused
2013-11-20 10:50:42 -08:00
Jimmy Shih
0aa3903a52
merge branch
2013-11-20 10:44:32 -08:00
Jimmy Shih
63c1330f50
merge heads
2013-11-20 10:36:47 -08:00
Jimmy Shih
5ecb41adc2
Update calorie when activity recognition api sets the track category
2013-11-19 14:19:11 -08:00
Jimmy Shih
2571247829
Update stats waypoint calorie when changing activity type
2013-11-19 13:24:40 -08:00
Jimmy Shih
ca290bf664
Enable calorie in AggregatedStats and MarkerDetail page
2013-11-18 18:05:13 -08:00
Jimmy Shih
f5d8ca8dd2
During import, make sure track calorie and waypoint calorie are set correctly
2013-11-18 16:16:15 -08:00
Jimmy Shih
f5f0c56043
Code cleanup: use getTrackPointLocationIterator instead of getTrackPointCursor
2013-11-18 15:22:47 -08:00
Jimmy Shih
0b27765c30
Update stats marker calorie in TrackRecordingService
2013-11-18 14:36:53 -08:00
Jimmy Shih
2f8eda0810
Add a clear button at the end of the weight field
2013-11-14 17:16:42 -08:00
Jimmy Shih
d9c2f82656
Fix photo url during import
2013-11-14 16:29:54 -08:00
Jimmy Shih
857b53c4ca
remove weight from stats settings
2013-11-14 15:55:44 -08:00
Jimmy Shih
982828d0af
Apply text gradient only over text, fade out after clicking on image
2013-11-14 15:40:25 -08:00
Jimmy Shih
6b050d6236
Align stats's page grade bottom alignment
2013-11-14 15:11:33 -08:00
Jimmy Shih
7585c80906
Improve layout for entering weight
2013-11-14 14:31:56 -08:00
Jimmy Shih
2bd5734386
Adjust fade out duration and fix degree font size
2013-11-14 14:01:26 -08:00
Jimmy Shih
aef035923a
Update calorie when weight changes
2013-11-13 17:34:09 -08:00
Jimmy Shih
8e361610bc
add option to set weight in choose activity type dialog
2013-11-13 17:13:16 -08:00
Jimmy Shih
4a5f2406e7
Code cleanup for unit conversion
2013-11-13 13:41:44 -08:00
Jimmy Shih
801b597fa0
Update formulas in CalorieUtils
2013-11-13 12:56:05 -08:00
Jimmy Shih
fb0dac20c1
Cleanup calorie settings
2013-11-12 17:50:23 -08:00
Jimmy Shih
e3d7856e1c
Add activity icon next to calorie in stats page
2013-11-12 15:43:22 -08:00
Jimmy Shih
ea626847d6
add landscape view for stats page
2013-11-11 15:38:13 -08:00
Jimmy Shih
0dd563f16c
Code cleanup: remove android:orientation=horizontal
2013-11-07 17:29:58 -08:00
Jimmy Shih
a701d1ecd8
add generic track activity icon
2013-11-07 17:17:08 -08:00
Jimmy Shih
fd63a7f5f9
Improve decimal number formatting
2013-11-07 17:09:44 -08:00
Jimmy Shih
631d978ef5
Add paddingTop to stats unit to support superscript
2013-11-07 16:45:27 -08:00
Jimmy Shih
f4591fa22c
Improve stats layout
2013-11-07 16:13:26 -08:00
Jimmy Shih
45909e70b6
Update calorie when the activity type is set at the end of the track by the activity recognition api
2013-11-05 13:48:43 -08:00
Jimmy Shih
17428e1e94
Code cleanup: cleanup CalorieUtils.java
2013-11-04 16:51:59 -08:00
Jimmy Shih
d96c705953
Add menu option to view photo in gallery
2013-11-04 14:20:23 -08:00
Jimmy Shih
5867093895
Add fade out animation in marker detail view
2013-11-04 13:39:48 -08:00
Jimmy Shih
48ad505e55
Improve marker detail layout
2013-11-04 12:30:29 -08:00
Jimmy Shih
4b1eea2ed5
Fix StatsUtils to work with views from fragment
2013-11-01 11:28:06 -07:00
Jimmy Shih
5902af967c
merge heads
2013-11-01 10:14:47 -07:00
Jimmy Shih
33960e4264
Improve marker detail layout
2013-11-01 10:13:46 -07:00
youtaol
2be9f58545
Change code style.
2013-10-31 11:11:35 +08:00
Jimmy Shih
fe50678565
improvements to list item layout
2013-10-30 17:56:03 -07:00
Jimmy Shih
7354b5a438
Improve marker list view layout
2013-10-30 14:29:40 -07:00
Jimmy Shih
261327ed4a
merge heads
2013-10-30 10:54:41 -07:00
Jimmy Shih
961d8be8b9
Improve marker count layout in list view
2013-10-30 10:53:37 -07:00
youtaol
4907dc26a0
Change code style.
2013-10-30 17:42:24 +08:00
youtaol
7cc1f878b4
Merge heads
2013-10-30 11:16:07 +08:00
youtaol
7823ca4eec
Fix an issue when run SyncTest.
2013-10-30 11:13:50 +08:00
Jimmy Shih
64c03a40a7
Add marker count on the track list page
2013-10-29 15:35:59 -07:00
Jimmy Shih
2f9b8775e8
merge heads
2013-10-29 11:30:44 -07:00
Jimmy Shih
97e567e505
Two bug fixes. Fix rotation and cropping in BitmapLoader. Fix empty filename during import.
2013-10-29 11:29:47 -07:00
youtaol
008b0a435d
Merge heads
2013-10-28 20:36:36 +08:00
youtaol
0cea2faa92
Fix two issues of e2e test case.
2013-10-28 20:13:36 +08:00
youtaol
c43e9047bc
Remove the parameter of updateCalorie method of TrackRecordingService. Re-calculate the calorie of track and last marker in TrackRecordingService.
2013-10-25 14:41:21 +08:00
youtaol
c68ec5ed9a
After user edit the track. Update recorded track statistics immediately and update recording track statistics in track recording service.
...
Change some code style.
2013-10-23 17:14:45 +08:00
Jimmy Shih
f1ce31cfeb
Add a Photo Size option in Advanced settings
2013-10-22 17:32:38 -07:00
Jimmy Shih
44ea7dbfab
In kmz file, limit photo to 1M
2013-10-22 12:55:14 -07:00
Jimmy Shih
80f5a6252e
Handle the case the photo file is deleted when loading a bitmap
2013-10-21 14:53:08 -07:00
Jimmy Shih
dcd4b8026f
Cleanup eclipse warning
2013-10-21 12:41:39 -07:00
Jimmy Shih
b7604a11e4
Fix eclipse warnings
2013-10-21 12:32:04 -07:00
Jimmy Shih
2e4f4cc4c2
Improve marker list layout with photo markers
2013-10-21 11:28:16 -07:00
youtaol
d64b1c74f4
Update the calorie of both entire track and current segment. Change some code style.
2013-10-21 17:41:16 +08:00
Jimmy Shih
0e8de4c91a
Bug fix: delete a partially inserted track if unable to import
2013-10-18 10:59:41 -07:00
Jimmy Shih
b0dcd7be85
merge heads
2013-10-18 10:43:25 -07:00
Jimmy Shih
cff11657f0
Bug fix: Only update drive file if it is in the MyTracks directory
2013-10-18 10:42:20 -07:00
youtaol
7edf71c95f
Merge heads
2013-10-18 15:59:15 +08:00
youtaol
ed4ec20ad7
Fix test case issue of ExportAndImport test case.
2013-10-18 15:58:52 +08:00
Jimmy Shih
32834f08c5
Delete photo when marker or track is deleted
2013-10-17 16:32:06 -07:00
youtaol
a189f31f38
Merge heads
2013-10-17 10:10:35 +08:00
youtaol
18d98d5432
Fix an nullpointexception issue when run ChartFragmentTest.
2013-10-16 17:41:31 +08:00
youtaol
0b3f5ddca7
Fix an issue of test case testCalculateCalorieCycling.
2013-10-16 17:18:20 +08:00
youtaol
6231cf8663
Fix unit test issue of GpxFileTrackImporterTest and KMLFileTrackImporterTest after adding calorie code.
2013-10-16 16:53:35 +08:00
Jimmy Shih
24113a4d7f
Code refactor: move managing list of deleted tracks to DeleteAsyncTask
2013-10-15 11:08:06 -07:00
Jimmy Shih
cb3785de5c
Performance optimization, during sync, getFolderId only when needed
2013-10-14 16:53:37 -07:00
Jimmy Shih
75c58c556a
Reduce number of Google Drive api calls by using a list to keep track of the edits
2013-10-14 14:51:26 -07:00
youtaol
b7f8da5ec2
Compute the grade while recalculate the calorie.
2013-10-12 15:04:14 +08:00
Jimmy Shih
6676f6b760
Optimization, reduce drive api calls when files are moved to a new directory in Google Drive
2013-10-11 10:21:15 -07:00
Jimmy Shih
6549ebb361
Use modified time to detect sync changes. Can not use md5 checksum to detect changes in zip file.
2013-10-10 13:48:06 -07:00
Jimmy Shih
f893d4601b
merge heads
2013-10-10 11:08:42 -07:00
Jimmy Shih
134c54ca03
Handles when a merge fails and the track is deleted
2013-10-10 11:07:09 -07:00
youtaol
651034e2a8
Update the TripStatisticsUpdater after change the activity type of current recording calorie. Using the activity type but calorie value to determine whether show activity set button or not.
2013-10-10 19:19:02 +08:00
youtaol
e228918cca
Fix an issue after merge head.
2013-10-10 14:01:37 +08:00
youtaol
ddecd50ef6
Merge heads
2013-10-10 13:50:09 +08:00
youtaol
8e9be4fcf0
Change code style about calorie.
2013-10-10 11:16:58 +08:00
youtaol
800fabd5a0
Add test case about calculating cycling calorie.
2013-10-10 11:16:43 +08:00
Jimmy Shih
e94b7768dc
When inserting a new kml/kmz file in Google Drive, make the the file title and the track name are the same
2013-10-09 15:21:28 -07:00
Jimmy Shih
2b633c091c
Code cleanup: add getExtension and getName in FileUtils.java
2013-10-09 14:07:38 -07:00
Jimmy Shih
120c965e32
Code cleanup: specify directories inside the cache directory at FileUtils.java
2013-10-09 13:41:39 -07:00
Jimmy Shih
5ee710b7c5
Support renaming files on Google Drive when sync is enabled
2013-10-09 12:53:35 -07:00
youtaol
721bc83b9f
Fix an issue that the weight value unit is wrong when show the weight edit dialog after changing unit.
2013-10-08 16:35:12 +08:00
Jimmy Shih
8e907d9144
Add Google Drive sync for kmz files
2013-10-07 18:19:08 -07:00
Jimmy Shih
3827faa0e5
Code cleanup: FileUtils.java
2013-10-04 15:37:10 -07:00
Jimmy Shih
4161f8ff56
Codename: rename methods to FileUtils.getPath and FileUtils.getPathDisplayName
2013-10-04 15:30:53 -07:00
Jimmy Shih
5f00430795
Code cleanup: cleanup callers of FileUtils.buildUniqueFileName
2013-10-04 15:22:21 -07:00
Jimmy Shih
832397595d
Code cleanup: add try finally block for callers of SyncUtils.getFile
2013-10-04 15:04:23 -07:00
Jimmy Shih
6df5e2916f
Codecleanup: move TrackDataHub constants to its file
2013-10-04 11:12:40 -07:00
Jimmy Shih
39d26febc1
Code cleanup: remove TAG in Constants.java
2013-10-04 11:01:23 -07:00
Jimmy Shih
9c938b1260
Store photos in /MyTracks/pictures directory
2013-10-03 18:04:17 -07:00
Jimmy Shih
b182c1cb80
When play track, add a containing folder to contain all the merged tracks
2013-10-02 15:22:00 -07:00
Jimmy Shih
7594f6b516
Delete RemoveTempFileService
2013-10-01 14:05:01 -07:00
Jimmy Shih
c9f1422c42
Remove confirm play in earth dialog
2013-10-01 13:54:04 -07:00
Jimmy Shih
ea943548ec
Use a content provider url to play track in earth
2013-10-01 13:24:57 -07:00
Jimmy Shih
7078bad2ed
merge heads
2013-10-01 11:29:34 -07:00
Jimmy Shih
f61e65336d
update eclipse configuration
2013-10-01 11:28:29 -07:00
youtaol
1107543463
Make the default calorie to invalid. Fix an error while calculating the cycling calorie.
2013-09-10 16:16:25 +08:00
youtaol
02587dc27e
Add an activity setup button in stat page when the activity type is not support to calculate calorie.
2013-09-10 11:01:18 +08:00
youtaol
282c48f530
Re-calculate the calorie while user change the activity type of track. Show standard "value_unknown" (-) when the activity type is not supported.
2013-09-06 14:54:02 +08:00
Jimmy Shih
0e687d9e1b
Increase thread priority when import and export
2013-09-05 14:19:27 -07:00
Jimmy Shih
fefbc3c4ab
Codecleanup, rename package from export to exporter
2013-09-05 14:09:28 -07:00
Jimmy Shih
d9bb4fa024
Codecleanup: move importers to its own package
2013-09-05 13:55:30 -07:00
Jimmy Shih
9ced32f2df
Use same thread to export track
2013-09-05 13:34:11 -07:00
Jimmy Shih
429ebdbf3a
Handles interrupt and error cleanup during import
2013-09-05 13:02:03 -07:00
youtaol
7233137e93
Use the activity type of current track to calculate calorie.
2013-09-05 14:33:37 +08:00
Jimmy Shih
e0375050d2
Codecleanup: for importer, make sure inputstreams are closed properly
2013-09-04 16:26:27 -07:00
Jimmy Shih
396845a694
merge heads
2013-09-04 13:45:40 -07:00
Jimmy Shih
e4f6be4938
Import kmz or kml tracks
2013-09-04 13:44:39 -07:00
youtaol
88ce01dc46
Merge heads
2013-09-04 10:11:32 +08:00
Jimmy Shih
d11561f797
Code cleanup: move export classes to its own package
2013-09-03 15:40:03 -07:00
Jimmy Shih
298d0ae75b
Code cleanup: move closing a file output stream at the same level as opening it
2013-09-03 15:24:03 -07:00
Jimmy Shih
791e3a3492
Improve cancelling async task when exporting tracks
2013-09-03 14:43:33 -07:00
Jimmy Shih
aff5654bde
Code cleanup: remove unused interface
2013-09-03 13:39:41 -07:00
Jimmy Shih
71f03996f5
Export track in kmz or kml
2013-09-03 12:56:44 -07:00
youtaol
ad03336916
Add weoght parameter in TripStatisticsUpdater.addLocation() method.
2013-09-02 19:31:53 +08:00
Jimmy Shih
b8bd8d62ce
Code cleanup: Add TrackExporter interface
2013-08-28 15:25:55 -07:00
Jimmy Shih
ee7376919e
code cleanup: rename Importer classes
2013-08-28 12:17:17 -07:00
youtaol
c42abaac6b
Use dependency property to enable/disable weight preference. Change code style.
2013-08-28 10:43:46 +08:00
Jimmy Shih
0955e9f089
Rename TrackFormatWriter to TrackWriter
2013-08-27 18:09:34 -07:00
Jimmy Shih
efddcc1dcf
Rename TrackWriter to TrackExporter
2013-08-27 17:41:45 -07:00
youtaol
10a3e18e7a
Make the weight dialog always display after enable calorie display. Change code style.
2013-08-27 17:06:28 +08:00
Jimmy Shih
415b0afe38
Add a fix when UserRecoverableAuthException.getIntent throws a null pointer exception
2013-08-26 11:20:40 -07:00
youtaol
57ca65e3b6
Change code style about calorie.
2013-08-26 19:23:57 +08:00
Jimmy Shih
6ce0db575f
Fix null pointer exception with dataSourceManager in TrackDataHub
2013-08-23 12:51:53 -07:00
Jimmy Shih
635006efae
In KmlImporter, check that gx:multitrack is available before gx:track
2013-08-23 11:36:43 -07:00
Jimmy Shih
a2032af55a
check if getActivity is null in ChartFragment
2013-08-23 10:25:42 -07:00
youtaol
16ff92230a
Give an weight input dialog when the weight value is not set yet. Make the weight value/display can be changed by unit setting.
2013-08-23 12:30:24 +08:00
Jimmy Shih
511dca70da
merge heads
2013-08-22 15:29:53 -07:00
Jimmy Shih
c9a7a167ea
Use an async task to load bitmap
2013-08-22 15:28:16 -07:00
youtaol
2468062eff
Add show calorie and user weight preference in Stats settings page.
2013-08-22 17:05:10 +08:00
youtaol
b6b54923b2
Merge heads
2013-08-22 10:14:45 +08:00
youtaol
83b1fb67bf
Make constant to calculate calorie of cycling to fields. Change coe style.
2013-08-22 10:03:33 +08:00
Jimmy Shih
8f7bc30b10
Update Back and reset settings, remove are you sure on the dialog title
2013-08-21 11:32:12 -07:00
youtaol
b9fd09d043
Change code style about calorie calculation.
2013-08-21 10:23:36 +08:00
Jimmy Shih
b76d7fbb9c
Remove footer in share track dialog
2013-08-20 15:25:30 -07:00
Jimmy Shih
c7ba2bc5a1
Use list preference for chart x axis settings
2013-08-20 15:19:33 -07:00
Jimmy Shih
594f156a1f
Use a list preference for the preferred rate setting
2013-08-20 14:43:25 -07:00
Jimmy Shih
7a8a95853e
Use fitcenter to scale images
2013-08-20 11:32:15 -07:00
youtaol
d16949c139
Change code style about code of calorie calculation.
2013-08-20 11:06:37 +08:00
Jimmy Shih
f29cf16e13
Adjust UI layout for photos
2013-08-19 17:48:00 -07:00
Jimmy Shih
5f16df912a
merge heads
2013-08-19 15:55:45 -07:00
Jimmy Shih
ec3f0ddab3
Add play in earth with photo overlays
2013-08-19 15:54:32 -07:00
youtaol
cbd6d8158a
Change code style.
2013-08-19 11:30:56 +08:00
youtaol
4cf647b02c
Add raw calories feature. Add calories column in Track table. Add calories field and raw logic to calculate calories in TripStatistics. Display a raw calories text in Stats Fragment.
2013-08-15 20:19:36 +08:00
youtaol
75ac35bf53
Add unit test about CalorieUtils.java. And change the visiability of some methods to make them testable.
2013-08-15 10:16:27 +08:00
youtaol
d64b6a4d93
Merge heads
2013-08-15 09:46:14 +08:00
youtaol
4d8c44782e
Change code style.
2013-08-15 09:45:26 +08:00
Jimmy Shih
24a343661d
Add page viewer for marker detail page
2013-08-14 13:06:39 -07:00
youtaol
863f1373e4
Rename CaloricExpenditureComputation.java to CalorieUtils.java. Change code style.
2013-08-13 15:38:03 +08:00
Jimmy Shih
aed601fcda
merge heads
2013-08-12 14:45:00 -07:00
Jimmy Shih
79a38b2763
Added tag v2.0.5 for changeset 2a2a4e2c216a
2013-08-09 10:07:15 -07:00
Jimmy Shih
8f35da9576
display photos in marker list
2013-08-07 18:38:00 -07:00
youtaol
1d5d91c2bf
Add utils to calculate caloric expenditure.
2013-08-07 16:09:30 +08:00
Jimmy Shih
ba859b64e3
Fix two bugs.
...
- reload waypoint in MarkerDetailActivity onResume
- In list item, if time/distance field is not available, use INVISIBLE rather than GONE.
2013-08-06 13:55:16 -07:00
Jimmy Shih
517b792e43
Add feature to insert a photo marker
2013-08-06 12:55:02 -07:00
Jimmy Shih
6102536136
Update codeversion for My Tracks 2.0.5 rc4
2013-07-31 17:10:09 -07:00
youtaol
fe3fcdddaa
Make e2e test cases of Sync feature runs well.
2013-07-25 20:24:11 +08:00
youtaol
0744770a50
Merge heads
2013-07-25 20:16:22 +08:00
youtaol
3b8509ac39
Change code style.
2013-07-24 17:14:51 +08:00
Jimmy Shih
c555c201d6
Revert to original algorithm to calculate grade
...
Always use smoothed speed.
2013-07-23 12:31:30 -07:00
Jimmy Shih
928c62a237
Update elevation min,max and speed min,max after buffer is full
2013-07-23 10:21:39 -07:00
youtaol
0b7495a462
Merge heads
2013-07-17 15:41:41 +08:00
youtaol
604c5069ac
Change the check logic of testGPSMenu.
2013-07-17 15:41:27 +08:00
Jimmy Shih
720f747460
merge heads
2013-07-16 10:47:40 -07:00
Jimmy Shih
ab4ed7ed9f
Bug fixes: update menu after starting/stopping gps - to handle ICS phones of updating menu immediately after invalidating it
2013-07-16 10:45:52 -07:00
Jimmy Shih
d701ee81ba
Bug fix: use a different request code for google play services
2013-07-15 15:23:48 -07:00
youtaol
bc334d9ec1
Merge heads
2013-07-15 09:47:40 +08:00
youtaol
58ebedb7c3
Add distance and average speed checks in export/import test.
2013-07-15 09:47:29 +08:00
Jimmy Shih
64018fb02c
Handle the case that sync is active while deleting all tracks
2013-07-12 14:26:09 -07:00
Jimmy Shih
a6e9412a69
Record idle location to support zero speed when idle
2013-07-12 13:21:19 -07:00
youtaol
f4ccb8dbd4
Merge heads
2013-07-12 10:43:51 +08:00
Jimmy Shih
3f99263b5a
Make sure max speed is as large as avg moving speed
2013-07-11 17:22:52 -07:00
Jimmy Shih
8ba5980009
Code cleanup: reorg methods in TripStatistics
2013-07-11 17:06:14 -07:00
Jimmy Shih
deadd17c28
update version code to 60 for v2.0.5 rc3
2013-07-11 15:52:53 -07:00
Jimmy Shih
b94d6ab240
Code cleanup: fix lint warning
2013-07-11 15:44:43 -07:00
Jimmy Shih
203c56a7fe
Update translations for v2.0.5
2013-07-11 15:37:16 -07:00
Jimmy Shih
e7e671c1ff
Check if location speed and accuracy are available.
2013-07-11 14:38:09 -07:00
Jimmy Shih
4b6c9a875b
Improve elevation and grade calculation to take into account locations without altitude.
2013-07-11 13:53:34 -07:00
Jimmy Shih
9b0c14c9c7
In Stats view, only show speed and elevation when they are available.
2013-07-11 09:51:54 -07:00
youtaol
a484963572
Add test case to check the track details during export and import(Only check the altitude in this case).
2013-07-11 17:13:40 +08:00
youtaol
dad09f4a87
Merge heads
2013-07-11 10:36:14 +08:00
Jimmy Shih
e30d816765
Export altitude only when it is defined
2013-07-10 12:37:14 -07:00
Jimmy Shih
7deb589a75
Bug fix, reload cursor loader after deleting a track
2013-07-10 12:24:40 -07:00
Jimmy Shih
8bd5818a81
Support importing gpx and kml without altitude value.
2013-07-10 11:16:56 -07:00
youtaol
4debca0054
Merge heads
2013-07-10 14:19:41 +08:00
youtaol
fd3940fcd0
Fix an issue of share test.
2013-07-10 14:18:05 +08:00
Jimmy Shih
5a4860a45a
Add onPrepareOptionMenu to update menu state.
2013-07-09 15:54:32 -07:00
Jimmy Shih
e67bb581e6
Change defaut recording distance interval to 10m
2013-07-09 14:43:49 -07:00
Jimmy Shih
89b1c6debe
Chagne gps accuracy default tp 50m
2013-07-09 14:12:52 -07:00
Jimmy Shih
1ddb53ad47
Code cleanup: add ic_ prefix to icons
2013-07-09 11:53:25 -07:00
Jimmy Shih
ae456a498e
Code cleanup: add ic_ prefix to track icons
2013-07-09 11:12:13 -07:00
Jimmy Shih
834b0465fe
Code cleanup: add ic_launcher, ic_tab, ic_stat_notify prefix
2013-07-08 18:37:37 -07:00
Jimmy Shih
d50d9b6ef2
code cleanup: prefix menu icon with ic_menu
2013-07-08 18:14:39 -07:00
Jimmy Shih
45e5813f15
Set default units to imperial if in US
2013-07-08 13:15:46 -07:00
Jimmy Shih
876606df82
add ic_dialog_success.png
2013-07-08 12:32:46 -07:00
youtaol
97f6afae3b
Merge heads
2013-07-04 10:08:14 +08:00
youtaol
d106bc520e
Fix some issues of e2e tests.
2013-07-04 09:58:08 +08:00
Jimmy Shih
4b4fd603f1
Set text color to white for api level < 13
2013-07-03 16:59:17 -07:00
Jimmy Shih
0f86dcbcb1
remove DialogWhenLarge theme
2013-07-03 16:10:13 -07:00
Jimmy Shih
b850cb077f
Update track_recording.png and track_paused.png
2013-07-03 15:45:45 -07:00
Jimmy Shih
56c7d1cc6b
Add spacing betwen recording button and recording status in app widget.
...
center align text in warning message.
2013-07-03 15:42:53 -07:00
Jimmy Shih
1de84fa3da
Update send to google result dialog.
2013-07-03 15:08:45 -07:00
Jimmy Shih
a774693135
Fix updating list item background color
2013-07-03 13:24:05 -07:00
Jimmy Shih
189355a238
update icons
2013-07-03 10:52:38 -07:00
youtaol
b4e94b9af1
Merge heads
2013-07-03 11:19:22 +08:00
youtaol
7bee6470bd
Change code syle.
2013-07-03 11:13:10 +08:00
Jimmy Shih
449042b456
Fix wiget record button size.
...
Fix pause button.
2013-07-02 16:07:49 -07:00
Jimmy Shih
18b436195d
show map layer menu if room
2013-07-02 11:19:35 -07:00
Jimmy Shih
db8d767ca1
Update icons.
2013-07-02 11:11:39 -07:00
Jimmy Shih
ad8349b2b4
Code cleanup: move analytics constants to AnalyticsUtils
2013-06-28 13:18:37 -07:00
Jimmy Shih
a318b88ac8
Update manifest to 2.0.5 rc2 version 68
2013-06-25 17:11:21 -07:00
Jimmy Shih
c8c00f8391
Use ApiAdapter.invalidateMenu to refresh the action bar menu.
2013-06-25 16:42:55 -07:00
Jimmy Shih
f1b3a1495d
Fix froyo but where Bitmap.getConfig can return null
2013-06-25 14:04:48 -07:00
Jimmy Shih
30c9941286
Remove ldpi icons
2013-06-25 13:54:23 -07:00
Jimmy Shih
d343fd24ff
Add orange style for EditText, ListSelector, PogressBar, and Checkbox.
2013-06-25 13:50:14 -07:00
Jimmy Shih
bbce0b946e
merge heads
2013-06-25 09:57:20 -07:00
Jimmy Shih
5efada2a6e
Cleanup, rename string variables
2013-06-25 09:56:01 -07:00
youtaol
7dc86aaeb2
Fix e2e tests issues after code changes.
2013-06-25 19:04:38 +08:00
Jimmy Shih
d7f7114328
fix typo in strings.xml
2013-06-24 18:39:22 -07:00
Jimmy Shih
1f41fefa09
Use a async task to delete tracks and show a progress dialog.
2013-06-24 18:15:26 -07:00
Jimmy Shih
e7c1687565
Code cleanup: save a save_all option to SaveActivity.
2013-06-24 17:18:58 -07:00
Jimmy Shih
60ce1916f6
Code cleanup: move request code to AbstractSendToGoogleActivity
2013-06-24 16:46:42 -07:00
Jimmy Shih
d8e0d4ab73
Code cleanup: Cleanup method order in AbstractSendToGoogleActivity.
2013-06-24 14:37:31 -07:00
Jimmy Shih
2d4cabf4ef
Add menu option to Sync to Google Drive.
2013-06-24 14:09:25 -07:00
Jimmy Shih
176b2b05d3
Code cleanup. In SendRequest, rename to driveSync.
2013-06-24 11:03:12 -07:00
Jimmy Shih
27cea61edb
Code cleanup: rename to ConfirmSyncDialogFragment
2013-06-24 10:57:29 -07:00
Jimmy Shih
636ffbf39a
Update sync to Google Drive text
2013-06-21 18:22:18 -07:00
Jimmy Shih
ced42e3d86
Update confirmation messages
2013-06-21 18:13:01 -07:00
Jimmy Shih
85eba36d4c
Remove confirmation dialog when sharing via Google Drive.
2013-06-21 17:58:15 -07:00
Jimmy Shih
abd8f59a07
Improve the wording where there is no backup.
2013-06-21 17:38:43 -07:00
Jimmy Shih
8bb55ad5db
Support cases when there is no files to import or export.
2013-06-21 17:22:37 -07:00
Jimmy Shih
9609010906
Use external storage directory display name rather than the actual path.
2013-06-21 16:42:50 -07:00
Jimmy Shih
db124f4ca6
Code cleanup: use trackFileFormat.getExtension
2013-06-21 15:57:27 -07:00
Jimmy Shih
fcb2c9ea7f
For import/export, include the external storage location.
2013-06-21 15:44:00 -07:00
Jimmy Shih
021fa9668f
update menu_split_frequency icon
2013-06-21 13:54:29 -07:00
Jimmy Shih
d2243ccabc
merge heads
2013-06-21 13:32:32 -07:00
Jimmy Shih
429b13664d
update action bar icons
2013-06-21 13:31:51 -07:00
Jimmy Shih
97c72dfafd
Remove executable permission on png files.
2013-06-21 11:00:44 -07:00
Jimmy Shih
512167e536
Use a PrefereneList to select preferred units.
2013-06-20 17:53:08 -07:00
Jimmy Shih
2e8d9ea411
Adjust contextual menu based on the isRecording state.
2013-06-20 14:00:11 -07:00
Jimmy Shih
6e5365a8e8
Move select all in multiple select to an action bar item
2013-06-20 13:17:15 -07:00
Jimmy Shih
c1b39b1472
Not show map layer in the action bar
2013-06-19 16:23:08 -07:00
Jimmy Shih
ce756ec5eb
Add DialogWhenLarge Theme.
2013-06-19 16:13:16 -07:00
Jimmy Shih
bcf94161b6
For Holo theme, add a divider above borderless buttons.
2013-06-19 14:52:33 -07:00
Jimmy Shih
421dbe5632
In list view item, make the recording track the same height as recorded tracks.
2013-06-18 16:03:52 -07:00
Jimmy Shih
f2125150d4
Fix list view item selection to make sure all text are white when selected.
2013-06-18 15:40:45 -07:00
Jimmy Shih
2e84468785
Rename sync now to refresh
2013-06-18 14:12:29 -07:00
Jimmy Shih
071bca5353
Update text for sync with google drive.
...
Update text for accounts and sync settings.
2013-06-18 12:52:51 -07:00
Jimmy Shih
d00d6f0588
Set the terms of service text size to TextSmall
2013-06-18 11:31:42 -07:00
Jimmy Shih
8c421b2255
fix typo in track_detail_feedback menu id
2013-06-17 09:19:15 -07:00
Jimmy Shih
5262dd0bc2
Use ApiAdapter to disable Google Feedback for pre-ICS
2013-06-14 13:33:48 -07:00
Jimmy Shih
86a3f407ce
In TrackRecordingService, use SystemUtils to aquire wake lock
2013-06-14 13:00:57 -07:00
Jimmy Shih
d558e8f507
Code cleanup: use class name for timer name
2013-06-14 11:32:57 -07:00
Jimmy Shih
32f488be61
Use handler directly instead of using a timer in TrackRecordingService
2013-06-14 11:16:33 -07:00
Jimmy Shih
1d6710e30e
Code cleanup, in MyTracksLocationManager, use the same handler for content observer
2013-06-14 10:14:24 -07:00
Jimmy Shih
33b4b62ad0
Code cleanup: improve readability in TrackController
2013-06-14 09:57:01 -07:00
youtaol
001537863a
Add ShareTest test case.
2013-06-14 16:26:31 +08:00
youtaol
052d651ea0
Merge heads
2013-06-14 10:20:59 +08:00
Jimmy Shih
b720cf26ee
Code cleanup: add name to Timer thread HandlerThread
2013-06-13 15:22:11 -07:00
Jimmy Shih
501dbd1746
Use the handler to update SensorStateActivity
2013-06-13 14:43:25 -07:00
Jimmy Shih
0b75c95e93
Code cleanup: cleanup timer usage in TimerTaskExecutor
2013-06-13 12:39:40 -07:00
Jimmy Shih
9d6ff995f7
Fix spacing between x axis label and x axis marker.
2013-06-12 17:08:43 -07:00
Jimmy Shih
6cf06d9abe
Update antlib.jar
2013-06-11 17:55:33 -07:00
Jimmy Shih
21be96887d
Add links to the url in terms of service.
2013-06-11 14:48:36 -07:00
Jimmy Shih
434dd07cfa
Bug fix. Make sure the start marker location is valid when sending to Google Maps and Google Fusion Tables.
2013-06-11 11:00:49 -07:00
Jimmy Shih
849d5bdf1c
Display pace in mm:second format.
2013-06-10 15:59:47 -07:00
Jimmy Shih
053aae4d5a
Use StringUtils.getSpeedParts to geneate all the pace values in DescriptionGeneratorImpl.
2013-06-10 15:24:41 -07:00
Jimmy Shih
a6cae727bd
In TrackList, handle the case SHAREWITHME can be null
2013-06-10 14:05:19 -07:00
Jimmy Shih
f0a8dfc26e
Fix pace label typo, should be minutes per mile/kilometer
2013-06-10 11:29:26 -07:00
youtaol
e9bb0d84a6
Update Robotium to 4.1.
2013-06-09 20:06:16 +08:00
youtaol
e1d2a09207
Change SendToGoogleTest to ExportSingleTrackTest. Fix strings change issues.
2013-06-08 18:03:01 +08:00
youtaol
d1055ef5ee
Merge heads
2013-06-08 13:12:39 +08:00
Jimmy Shih
0a0854a367
update android manifest for 2.0.5 versionCode 67
2013-06-07 15:04:38 -07:00
Jimmy Shih
f7d2bbc34c
Fix view pager view for froyo and gingerbread phones.
2013-06-07 14:55:24 -07:00
Jimmy Shih
0c7f61891e
Place kml before gpx
2013-06-07 13:58:12 -07:00
Jimmy Shih
636f78f78a
use system color for list view selected background color
2013-06-07 13:33:37 -07:00
Jimmy Shih
12e9559e96
Update export menu.
...
Improve export dialog layout.
Rearrange tralist list menu.
Remove unused method in MenuItemTest.
2013-06-07 13:13:59 -07:00
Jimmy Shih
9571afa286
Improve share track dialog
2013-06-07 10:10:55 -07:00
youtaol
7a09e89041
Add all "export all" tests into one new file. And remove two redundant tests.
2013-06-07 15:02:26 +08:00
Jimmy Shih
4efd2a3f5e
Improve export all strings.
2013-06-06 17:33:48 -07:00
Jimmy Shih
3cc0e10031
Code cleanup. Remove track.getMapId and track.getTableId.
2013-06-06 15:45:54 -07:00
Jimmy Shih
738d73937b
merge heads
2013-06-06 14:59:37 -07:00
Jimmy Shih
efa6f53fdf
Add make track public in sharing dialog.
2013-06-06 14:58:12 -07:00
youtaol
5ec245fcdd
Change save one track to SD card to save all tracks to SD card.
2013-06-06 19:08:12 +08:00
Jimmy Shih
c8736b7f72
Code cleanup, in SendRequest, remove support for sharing a map url.
2013-06-04 17:26:56 -07:00
Jimmy Shih
fe3b063790
After exporting to external storage, add option to share the file.
2013-06-04 17:05:45 -07:00
Jimmy Shih
864129488f
Remove share track setting.
2013-06-04 16:36:55 -07:00
Jimmy Shih
2e81f981ca
Remove ChooseMapActivity.
2013-06-04 16:13:17 -07:00
Jimmy Shih
f89c6696b3
Combine save and send to google into export.
2013-06-04 15:32:19 -07:00
Jimmy Shih
5a5b1431eb
Rename save all to export all.
...
Rename save to export.
Remove send to google menu option.
2013-06-03 17:40:15 -07:00
Jimmy Shih
56e272c5d4
Remove Google Drive item from Send to Google dialog.
2013-06-03 15:54:12 -07:00
Jimmy Shih
8cda9df762
Set list view track name font size to medium.
...
Change list view activated background color.
Change contextual mode background color.
2013-06-03 13:58:45 -07:00
Jimmy Shih
44e994f420
Change tab background color for android v11 and higher
2013-06-03 13:06:30 -07:00
Jimmy Shih
d5aaebc44d
update the android support library to version 13
2013-05-31 15:30:07 -07:00
Jimmy Shih
063083f1a4
On contextual menu, only delete all if the number of tracks is greater than 1.
2013-05-31 11:06:38 -07:00
Jimmy Shih
125b21ef30
In TrackDataHub, do not automatically register for preferences change.
2013-05-29 14:16:54 -07:00
Jimmy Shih
5a14ef080c
Remove SELECTED_TRACK type from TrackDataHub.
2013-05-29 14:08:14 -07:00
Jimmy Shih
53bde78293
In MyTracksMapFragment, remove dependency on onSelectedTrackChanged.
2013-05-29 14:01:13 -07:00
Jimmy Shih
0a0753c4c5
Remove selected_track_id_key.
2013-05-29 11:23:08 -07:00
Jimmy Shih
aafe93b723
Code refactor. Remove DynamicSpeedTrackPathDescriptor's dependency on selected_track_id_key.
2013-05-29 11:06:23 -07:00
Jimmy Shih
55861ecf0e
Fix Map View to improve the initial camera position after screen rotation.
...
If showing a marker, after rotation, will zoom to the marker.
If showing a track, after rotation, will zoom to the current location
if is recording and is in tracking mode, else will zoom to the track.
2013-05-29 10:34:15 -07:00
Jimmy Shih
4f13b62a81
merge heads
2013-05-28 14:18:09 -07:00
Jimmy Shih
9dbf0b0c4b
Fix displaying a marker on the map view.
2013-05-28 14:16:40 -07:00
youtaol
ecbd7ea769
Add checks in testShareActivity_withDrive about the share result in the destination account.
2013-05-27 11:02:02 +08:00
youtaol
bc36ac5afe
Change testTrackControllerPostion to make it can run when API level less than 13.
2013-05-27 10:58:28 +08:00
Jimmy Shih
468ed40a5d
Code cleanup, refactor onResume logic in MyTracksMapFragment.
2013-05-24 12:38:57 -07:00
Jimmy Shih
d6cfdd007a
In StatsFragment, remove dependency on onSelectedTrackChanged.
2013-05-24 10:58:45 -07:00
Jimmy Shih
0d38d1b38d
Make sure the start marker is always shown during a recording.
2013-05-23 12:53:09 -07:00
Jimmy Shih
640f960bd0
In MyTracksMapFragment, initialize googleMap in onActivityCreated instead of onCreateView.
2013-05-23 11:02:55 -07:00
Jimmy Shih
ef4063fcd8
During a recording, keep the current location visible by default.
2013-05-23 10:49:50 -07:00
Jimmy Shih
8b19bd8917
Code cleanup, do not backup some shared preference keys.
2013-05-23 10:32:10 -07:00
Jimmy Shih
cad06c712a
Improve MyTracksLocationManager thus LocationClient is only started when necessary.
2013-05-22 17:58:33 -07:00
Jimmy Shih
aa3d170e1f
Add activity recognition.
2013-05-22 17:42:51 -07:00
Jimmy Shih
4eb8f4fff3
Remove location listener from TrackDataHub.
2013-05-22 15:00:35 -07:00
Jimmy Shih
4a9f7778bd
Change MyTracksMapFragment to not listen to location changes.
2013-05-22 14:36:58 -07:00
Jimmy Shih
0369b5b79f
merge heads
2013-05-22 14:29:45 -07:00
Jimmy Shih
433687930f
Code cleanup SearchListActivity, remove one instance variable.
2013-05-22 14:05:15 -07:00
Jimmy Shih
2e199d633c
Code cleanup for MyTracksLocationManager
2013-05-22 11:09:07 -07:00
Jimmy Shih
cffd72fa07
In MapFragment, use MyTracksLocationManager directly to obtain the current location.
2013-05-21 14:03:48 -07:00
Jimmy Shih
b37fe0ff35
To save power, modify StatsFragment to not listen to location changes.
2013-05-21 10:54:26 -07:00
Jimmy Shih
f8116ab6e0
Use TrackRecordingService to start/stop gps.
2013-05-20 15:16:01 -07:00
Jimmy Shih
1a68435eb4
Add methods to TrackRecordingService to start and stop GPS.
...
No longer unregister location listener before registering it.
2013-05-20 14:04:10 -07:00
Jimmy Shih
5329ccd37f
In TrackListActivity, use MyTracksLocationManager to check if gps is enabled.
2013-05-20 12:39:22 -07:00
Jimmy Shih
82b6b63fc5
In SearchListActivity, only start MyTracksLocationManager when needed.
2013-05-16 18:22:39 -07:00
Jimmy Shih
68180b2436
When starting a track, set the track icon based on track category.
2013-05-16 18:07:47 -07:00
Jimmy Shih
65f8762b4e
Update to Android ADT v17
2013-05-15 17:16:59 -07:00
Jimmy Shih
18eff91510
Clean up Constants.java
2013-05-15 16:26:44 -07:00
Jimmy Shih
5ace0242b4
Use LocationClient to request for location updates.
2013-05-15 15:39:48 -07:00
Jimmy Shih
81ed568ed7
Use LocationClient to obtain last known location.
2013-05-15 14:30:44 -07:00
Jimmy Shih
6b7ddc8522
Update to google play services v7
2013-05-15 13:28:27 -07:00
Jimmy Shih
3291eef752
Change logic for updating gps provider state.
2013-05-15 13:17:45 -07:00
Jimmy Shih
bd6f30f320
merge heads
2013-05-13 10:49:08 -07:00
Jimmy Shih
129149fb23
Remove unused code for obtaining heading from sensor
2013-05-13 10:48:16 -07:00
youtaol
232e314ca3
Change stat settings e2e test case as source code changes.
2013-05-13 20:31:22 +08:00
youtaol
61bcf078a9
Fix an error of TripStatisticsUpdaterTest.
2013-05-13 18:05:38 +08:00
youtaol
d911419cf2
Add checks about the display and hide of record controller.
2013-05-09 16:31:52 +08:00
youtaol
e8a832fb2c
Merge heads
2013-05-09 11:27:28 +08:00
Jimmy Shih
5d93747b13
clear google_account_key before enabling drive sync in startup sequence
2013-05-08 16:37:40 -07:00
Jimmy Shih
da00033e6f
Add playing multiple tracks in Google Earth
2013-05-08 13:58:57 -07:00
Jimmy Shih
c0900491d6
Modify ConfirmDialogFragment to pass in an array of track ids
2013-05-08 13:09:00 -07:00
Jimmy Shih
9ccae3e3a9
Add private constructor to utility classes
2013-05-08 12:56:52 -07:00
Jimmy Shih
52f8bd8565
Move Google Earth helper methods in GoogleEarthUtils.java
2013-05-08 12:44:19 -07:00
Jimmy Shih
feb479d9b9
Change TrackFormatWriter to be able to write multiple tracks to a file
2013-05-07 15:58:37 -07:00
Jimmy Shih
dfa60a44f6
Update stats view layout
2013-05-07 09:51:00 -07:00
Jimmy Shih
afa47ba26e
rename stats_large_label and stats_separator color
2013-05-06 14:25:14 -07:00
Jimmy Shih
f7c5b7f1cc
Modify StringUtils.java to return null if a value is invalid
2013-05-03 11:34:24 -07:00
youtaol
b9e944a9e5
Add test case to check the multi-select and then delete. And fix an e2e test error in EndToEndTestUtils.
2013-05-03 15:53:12 +08:00
youtaol
14b796b27a
Add test case to check the position of track controller view.
2013-05-03 12:29:44 +08:00
youtaol
3f208a7b65
Move some e2e test cases to a new package, and make these test are easy to run.
2013-05-03 11:56:04 +08:00
youtaol
3303d70c1c
Fix e2e test error after code changes.
2013-05-02 20:08:50 +08:00
Jimmy Shih
b0215058d2
show/hid track controller when search is shown/dismissed
2013-05-01 15:30:01 -07:00
Jimmy Shih
244219bdde
Add landscape mode for track controller
2013-05-01 14:29:06 -07:00
Jimmy Shih
8c26cb2aa3
Use FileTypeDialogFragment to select a file type for import all, save all, and save
2013-04-30 16:14:24 -07:00
Jimmy Shih
b880b731b4
Use a dialog fragment to select the import all type
2013-04-30 15:01:13 -07:00
Jimmy Shih
b593fa3550
fix various lint warnings
2013-04-30 14:09:38 -07:00
Jimmy Shih
027ae7b2dd
display '-' if elapse time is negative
2013-04-30 13:35:56 -07:00
Jimmy Shih
67fbb47639
clean up colors.xml
2013-04-30 13:27:47 -07:00
Jimmy Shih
9e194021c5
Change track controller background color, remove line at the bottom of track controller, use bracket for distance
2013-04-30 11:45:45 -07:00
Jimmy Shih
520ae87f14
Add support for multiselect
2013-04-30 11:11:58 -07:00
Jimmy Shih
6a74a18e99
Modify DeleteMarkerDialogFragment to delete one or multiple markers
2013-04-29 18:04:27 -07:00
Jimmy Shih
ccfe7dc335
Fix style to reference theme attribute textAppearanceListItemSmall
2013-04-29 17:48:13 -07:00
Jimmy Shih
3a26501aec
merge heads
2013-04-29 17:43:37 -07:00
Jimmy Shih
e890f02d97
Create a DeleteTrackDialogFragment that can delete one, multiple, or all tacks
2013-04-29 17:42:47 -07:00
Jimmy Shih
ce80f4e39a
merge heads
2013-04-29 12:33:54 -07:00
Jimmy Shih
9a2b7f8987
Use dp for home screen widget textSize
2013-04-29 11:32:51 -07:00
Jimmy Shih
cc27b4329d
fix various styles errors
2013-04-29 11:25:16 -07:00
youtaol
97defda41c
Merge heads
2013-04-28 21:01:47 +08:00
youtaol
c514f55496
Fix test error.
2013-04-28 21:01:05 +08:00
Jimmy Shih
e31c5e7a68
Add the menu_stop_gps icon
2013-04-26 11:50:07 -07:00
Jimmy Shih
9fd22081fa
Invert icon image shown in Spinner for API level < 11
2013-04-26 11:10:55 -07:00
Jimmy Shih
d9f897bc53
Use a spinner for the activity icon in TrackEditActivity
2013-04-25 17:32:04 -07:00
Jimmy Shih
826ff2f79f
Fix spacing in activity icon dialog.
2013-04-25 13:41:29 -07:00
youtaol
1d4f96d5d9
Merge heads
2013-04-24 21:00:59 +08:00
youtaol
e0ccac0289
Fix some e2e test errors.
2013-04-24 21:00:27 +08:00
youtaol
7cd9990cfb
Add testSendLargeTrackToGoogle test case to test send a big track(which has more than 100 points) to Google.
2013-04-24 16:21:09 +08:00
Jimmy Shih
c972917b3a
Upgrade support library to version 12
2013-04-23 12:59:30 -07:00
Jimmy Shih
7d995f2fc9
Add swipet behavior (pager) to the TrackDetail tabs.
2013-04-23 10:35:20 -07:00
youtaol
2654a1484c
Change test case of share as the share ui is changed.
2013-04-23 18:49:35 +08:00
Jimmy Shih
9bb05e6717
Fix sending a large track to Fusion Tables.
2013-04-22 17:55:12 -07:00
Jimmy Shih
6bd2dabd60
merge heads
2013-04-22 15:12:55 -07:00
Jimmy Shih
743e5a0755
Fix navigation up thus up has the zoom in effect.
2013-04-22 15:11:39 -07:00
youtaol
f49d6f31a5
Change some generic_ok buttons to generic_yes.
2013-04-22 21:51:44 +08:00
youtaol
b74df8186d
Remove welcome dialog and change cancel button to no, ok button to yes.
2013-04-22 20:28:52 +08:00
Jimmy Shih
30d611e295
update google play services to version 6
2013-04-19 11:23:05 -07:00
Jimmy Shih
c21bfd84c1
Add option to share as a file.
2013-04-18 15:50:51 -07:00
Jimmy Shih
c38ee02d4b
Combine share via drive and share via maps url into a share button.
...
Use settings to choose between drive and maps.
2013-04-18 13:34:30 -07:00
Jimmy Shih
c4d7b544cb
merge heads
2013-04-17 18:19:42 -07:00
Jimmy Shih
c7db1cebec
Add generic_yes and generic_no strings and use them in confirmation dialogs.
2013-04-17 18:18:11 -07:00
Jimmy Shih
ff2a6fd241
Remove welcome screen
2013-04-17 17:17:00 -07:00
youtaol
d66bf7b395
Merge heads
2013-04-17 19:51:58 +08:00
youtaol
3d6f9a1a2d
Delete tracks on Google Maps
2013-04-17 13:32:46 +08:00
youtaol
e80b8b19c4
Make test runs well on Android 2.3.3
2013-04-17 11:33:49 +08:00
Jimmy Shih
9410ed0acc
Code cleanup. Remove PermissionCallback and remove checkPermission in GoogleSettingsActivity.
2013-04-15 15:59:53 -07:00
Jimmy Shih
b5331c5f5a
Use a non-UI fragment to check for credential when sending a track to google.
2013-04-15 14:53:04 -07:00
Jimmy Shih
179229821b
When rotating screen, zoom to the last known location.
2013-04-11 18:35:33 -07:00
Jimmy Shih
5b28f4b1c9
If a trackId is not longer valid, use the last track.
...
Fix app widget launching My Tracks with an invalid track id.
2013-04-11 15:21:19 -07:00
Jimmy Shih
86410b1f80
Change getLastTrack to return the last track on the track list.
2013-04-11 14:28:38 -07:00
Jimmy Shih
5447b357d2
Update widget on software update.
2013-04-11 13:55:39 -07:00
Jimmy Shih
19020f686f
In App Widget, only update the size if it has changed.
2013-04-11 13:27:52 -07:00
Jimmy Shih
1ebe7baf7c
When SendRequest used in sending to Google when rotating screen
2013-04-11 10:28:24 -07:00
Jimmy Shih
ed520de514
Added tag v2.0.4 for changeset b1661e784e79
2013-03-17 20:22:05 -07:00