Compare commits

...

1987 Commits

Author SHA1 Message Date
Dennis Guse b34805272f Bugfix: not connecting to heart rate sensor - need to start BluetoothRemoteSensorManager.
Introduced in bc5ab0d7e5
2019-11-09 00:02:20 +01:00
Dennis Guse 98443dba99 Cleanup. 2019-11-08 22:45:34 +01:00
Dennis Guse dd6e733d8c Release v3.2.5 2019-11-08 22:31:49 +01:00
Dennis Guse 92d3439c3b Re-enable SummaryProvider for default_activity. 2019-11-08 07:58:30 +01:00
Dennis Guse bd155cd600 Use SummaryProvider.
Fixed #46.
2019-11-08 07:36:45 +01:00
Dennis Guse e14e53c0ae Fix hack to update summary of statsRate if statsUnit change. 2019-11-07 23:32:28 +01:00
Dennis Guse 77a6a63174 Re-initialize PreferenceFragment, when sharedpreferences were reset. 2019-11-07 22:24:15 +01:00
Dennis Guse 40f2463f09 Fail safety: if settings cannot loaded (invalid data in sharedpreferences), reset it and try again. 2019-11-07 19:15:17 +01:00
Dennis Guse e5d1048c8d Bugfix reset settings: really clear sharedPreferences before settings default values. 2019-11-07 19:15:17 +01:00
Dennis Guse bf3b529fb2 Add link to Transifex for localization.
Fixes #27.
2019-11-07 19:15:17 +01:00
Dennis Guse d0fde46027 Android does not allow referencing integer in string-arrays: store everything as string and parse it later (also for tests). 2019-11-06 18:40:58 +01:00
Dennis Guse 0f348dff10 Android does not allow referencing integer in string-arrays: store everything as string and parse it later. 2019-11-06 18:16:40 +01:00
Dennis Guse d3f5080e73 Fixed issues introduced in 353c958ae0 and 2a60aa8f59. 2019-11-06 07:42:15 +01:00
Dennis Guse a453c8ec1e TrackDetailActivity: disable activity type changer in view mode.
Fix #3.
2019-11-05 22:45:29 +01:00
Dennis Guse 2a60aa8f59 Settings: removed some default definitions from code into xml. 2019-11-05 22:02:23 +01:00
Dennis Guse 41e7870509 Settings: removed some default definitions from code into xml. 2019-11-05 21:13:51 +01:00
Dennis Guse 57f66b77ab Reorganized settings (sharedpreferences and keys); xml only. 2019-11-05 21:13:51 +01:00
Dennis Guse 53572406e9 Mark foreground service to use location and connection to other devices, so it can run properly on Android 10+ when app is in the background.
Might fix #61.
2019-11-05 21:13:51 +01:00
Dennis Guse a288255ab1 Added issue and feature templates. 2019-11-05 19:33:57 +01:00
Dennis Guse 353c958ae0 Moved accessing sharedPreferences into PreferencesUtils. 2019-11-03 01:44:46 +01:00
Dennis Guse bc5ab0d7e5 Removed unnecessary RemoteSensorManagerFactory.
TrackRecordingService is only using BluetoothRemoteSensorManager and thus factory pattern is not required.
2019-11-03 00:21:51 +01:00
Dennis Guse 9d915b5640 Cleanup. 2019-11-03 00:13:14 +01:00
Dennis Guse 3aaee270eb Release v3.2.4 2019-11-01 23:54:34 +01:00
Dennis Guse d53a7156e2 Bugfix: removed custom dialogs to set voice/split frequency preferences from the context menu directly.
Fixed #49.
2019-11-01 23:38:07 +01:00
Dennis Guse 3af24ea3d0 Release v3.2.3 2019-10-31 22:07:21 +01:00
Dennis Guse 5483212b06 Fixed StringUtils.formatDecimal to work with decimals of 0. 2019-10-30 23:02:02 +01:00
Dennis Guse 419279fe5e Cleanup. 2019-10-30 22:36:22 +01:00
Dennis Guse 501e899b27 StatsFragment: need to reconnect to TrackRecordingService in onResume as it is unbound in onStop.
Fixed #50.
2019-10-30 22:36:16 +01:00
Dennis Guse 3bb9edb009 Connect to new sensor if settings are changed.
Fixed #52.
2019-10-30 07:48:29 +01:00
Dennis Guse e52b1188a3 Cleanup. 2019-10-29 23:05:17 +01:00
Dennis Guse 9e877e4762 Removed stale verify. 2019-10-29 22:39:51 +01:00
Dennis Guse 5711757110 If sharing multiple tracks, share them as separate files. 2019-10-29 17:43:23 +01:00
Dennis Guse e1c33dad43 Move to Android ShareSheet. 2019-10-29 17:34:21 +01:00
Dennis Guse 4b2400774c TravisCI: start emulator, which is required for testing. 2019-10-28 23:25:07 +01:00
Dennis Guse afd4a59622 CI: enabled tests.
Fixed #6.
2019-10-27 16:50:28 +01:00
Dennis Guse bdce437470 Removed AnnoucementPeriodTaskTest as these were broken beyond repair. 2019-10-27 16:46:56 +01:00
Dennis Guse 33479cda11 Fixed TrackRecordingService tests: start service properly if needed. 2019-10-27 15:58:50 +01:00
Dennis Guse 385cee3dc7 Fixed Date parsing test (account for
rounding up microseconds).
2019-10-27 13:45:43 +01:00
Dennis Guse d0bbd7655b Ignore KML waypoints that do not have a type. 2019-10-27 13:40:06 +01:00
Dennis Guse a83b8f62fe Repaired Track importer tests. 2019-10-27 13:24:20 +01:00
Dennis Guse 0cd9176703 Heart rate must be larger than zero to be shown while tracking. 2019-10-26 14:35:03 +02:00
Dennis Guse d8e526923d Removed RemoteSensorManager as abstraction was not used anymore. 2019-10-26 14:26:16 +02:00
Dennis Guse 3a6f417662 Added disconnect toast message. 2019-10-26 14:23:38 +02:00
Dennis Guse 7d807a7f11 Refactor Bluetooth LE stack to use autoReconnect.
Removed additional timerTask to reconnect (was not working anymore).

Fixed #41.
2019-10-26 14:11:55 +02:00
Dennis Guse e9d5718495 Cleanup. 2019-10-23 18:47:32 +02:00
Dennis Guse 0dd7f74a11 Removed temporary sensor manager (was not used anymore). 2019-10-22 21:15:11 +02:00
Dennis Guse 9bd4ba489c Release: v3.2.2 2019-10-21 23:00:13 +02:00
Dennis Guse dd55b50dad Re-added actionbar (actually toolbar) to SettingsActivity. 2019-10-21 22:54:23 +02:00
Dennis Guse 1719d21a5b Bugfix: export now really includes sensor data (as double) and import is done as float. 2019-10-21 22:34:33 +02:00
Dennis Guse 75ef8d99d4 SensorDataSet: data unavailable is now NaN. 2019-10-21 22:34:28 +02:00
Dennis Guse ae06fd1680 Bugfix: export sensor data if available and allowed. 2019-10-20 18:39:31 +02:00
Dennis Guse 2b03f7dea8 Use LinearLayout for SearchActivity (show toolbar correctly). 2019-10-20 17:05:09 +02:00
Dennis Guse 7591b012b4 Extracted ShareActionProvider setup code into a separate class. 2019-10-20 16:55:28 +02:00
Dennis Guse 0e089f49f3 Re-added application logo to material design toolbar. 2019-10-19 12:27:11 +02:00
Dennis Guse 5ad1856b13 Removed context menu from ListActivities. 2019-10-17 21:32:55 +02:00
Dennis Guse 965dbbe829 Removed custom action bar style. 2019-10-17 21:26:31 +02:00
Dennis Guse 262c9886df Removed aggregated stats activity. 2019-10-17 21:22:07 +02:00
Dennis Guse ac5a9ea65d Use Androidx compat's toolbar instead of actionbars.
ListView's multiselect still uses actionbar.
2019-10-17 21:19:14 +02:00
Dennis Guse ed9b4c8f3d Add workaround for Compat's ShareActionProvider, which is not available when inflating in a AbsListView.MultiChoiceModeListener. 2019-10-17 18:33:45 +02:00
Dennis Guse 209aa6a8a5 Hide share action from SearchActivity as it is not (yet) functional. 2019-10-17 07:58:11 +02:00
Dennis Guse 81ee6ac1fa Do not use custom style for AlertDialogs, so PreferenceDialogs and AlertDialogs look the same. 2019-10-17 06:38:05 +02:00
Dennis Guse 024dd603cb Migration to Androidx PreferenceCompat. 2019-10-17 06:00:47 +02:00
Dennis Guse 50654c6baf Release v3.2.1 2019-10-15 18:36:40 +02:00
Dennis Guse 8c9bf60fc6 Update Settings if the units (metric/imperial) are changed. 2019-10-15 17:29:59 +02:00
Dennis Guse a83eb0b983 Added de-DE description. 2019-10-13 12:19:27 +02:00
Dennis Guse ab3cbfea0f Metadata: adjust to fastlane layout. 2019-10-13 12:19:27 +02:00
Dennis Guse c93e5ca1a6 Settings: moved to Androidx Compat and use one screen only. 2019-10-12 18:00:51 +02:00
Dennis Guse c2841092da Settings: moved setup into helper. 2019-09-19 22:30:28 +02:00
Dennis Guse 8b11e1d611 DialogFragments: do not save state. 2019-09-19 22:30:28 +02:00
Dennis Guse 6375a851b2 Moved ChooseActivityTypeDialog to be a real DialogFragment.
Note: This breaks RecordingsSettingsActivity.
2019-09-19 22:28:04 +02:00
Dennis Guse f21200a7ec UnitConversation: always use double for division.
Fixed wrong computation (00:00) of total time.
2019-09-19 19:29:49 +02:00
Dennis Guse 5752cebdec Released 3.2.0 2019-09-19 19:14:34 +02:00
Dennis Guse fa6329c157 Fdroid: downgraded to Gradle 5.5 2019-09-19 19:08:04 +02:00
Dennis Guse 98a9884798 Fdroid: added link in README and moved metadata to fastlane folder. 2019-09-19 19:04:17 +02:00
Dennis Guse 1f7f615411 Import/Export: first option is KMZ containing all data. 2019-09-16 23:43:30 +02:00
Dennis Guse a79345ccf9 Grant ACCESS_FINE_LOCATION for TrackRecordingServiceTest. 2019-09-16 22:47:37 +02:00
Dennis Guse 732e0e76f9 Removed custom styling of title divider of used dialogs (just too much code). 2019-09-16 22:37:37 +02:00
Dennis Guse 63d29f2097 Cleanup. 2019-09-16 19:44:34 +02:00
Dennis Guse 9dd2f7d1c1 KML/KMZ export and share: add configuration to export with trackdetail without the rest.
Fixed some issues in TRACK_ONLY mode as too much data was exposed.
2019-09-15 09:47:48 +02:00
Dennis Guse afd25363b3 For export and import: KMZ first as it contains all data incl. photos. 2019-09-15 09:22:10 +02:00
Dennis Guse 2eb5a42099 When it should be KMZ, make it KMZ. 2019-09-15 08:45:11 +02:00
Dennis Guse 9c753034b4 Update title in MarkerDetailActivity when viewpager changes. 2019-09-15 00:31:53 +02:00
Dennis Guse 95b7c701a2 Cleanup: do not assume first waypoint contains (always) TripStatistics. 2019-09-15 00:14:15 +02:00
Dennis Guse 56685a9dec Bugfix: export of images via KMZ is now working. 2019-09-14 23:35:28 +02:00
Dennis Guse 45b13ea813 Removed tab icons as they were not shown anyhow. 2019-09-14 22:43:26 +02:00
Dennis Guse b0feed84bb Removed voice frequency menu icon as it not shown anyhow. 2019-09-14 22:34:58 +02:00
Dennis Guse 0e2da83e1f Removed snowboarding and skiing due to lack of icons. 2019-09-14 22:20:29 +02:00
Dennis Guse fa364a150d Styling for progress bar via tint. 2019-09-14 21:50:10 +02:00
Dennis Guse 6ec78d77a9 Changed gps menu item icon to represent actual state of the gps (and not the action to be executed). 2019-09-14 13:25:23 +02:00
Dennis Guse 8853bb5408 Replaced drawables with vectors (SVG) for TrackController.
- ic_button_pause
- ic_button_record
- ic_button_stop
2019-09-14 02:58:05 +02:00
Dennis Guse e4d6355875 Replaced drawables with vectors (SVG) for TrackListActivity.
- ic_pause
- ic_record
- ic_arrow_long
2019-09-14 01:34:41 +02:00
Dennis Guse 1e08d72cc9 Removed resources of indetermined progressbar (unused). 2019-09-14 00:22:35 +02:00
Dennis Guse ea82d2df94 Fixed tabhost resource id. 2019-09-13 23:55:39 +02:00
Dennis Guse 71c0114f8f Fixed lint error. 2019-09-13 23:14:14 +02:00
Dennis Guse a3955c7c37 Made generic activity type selectable.
Decreased icon size.
2019-09-13 23:00:12 +02:00
Dennis Guse e610b70590 Use logo (white) for generic track (replaces similar a png with gradient). 2019-09-13 22:55:25 +02:00
Dennis Guse 7f4d47d7b5 Foreground service notification now uses the logo directly (vector). 2019-09-13 22:38:39 +02:00
Dennis Guse fd27ec11a2 Replaced chartViews current position marker with logo. 2019-09-12 23:52:04 +02:00
Dennis Guse 2aa036f3aa Material design icons for dialogs. 2019-09-12 23:44:21 +02:00
Dennis Guse 2c49a4f3f1 Introduced material design icons. 2019-09-12 23:24:19 +02:00
Dennis Guse 10e4a52947 Fixed stats_content. 2019-09-12 20:39:13 +02:00
Dennis Guse 9f3936e180 Removed unused icons. 2019-09-12 20:17:29 +02:00
Dennis Guse a3a76ce0c3 Disabled lint for AppCompatResource. 2019-09-12 20:15:03 +02:00
Dennis Guse 545db52f94 Cleanup. 2019-09-12 18:33:45 +02:00
Dennis Guse bfa02a97ee Upgrade appcompat library. 2019-09-12 17:57:33 +02:00
Dennis Guse 3a2eeaa204 Fixed lint warnings in stats_content layout. 2019-09-12 17:57:33 +02:00
Dennis Guse 42b3a5dfc9 Refactored stats_content layout to contain all content (not use include). 2019-09-12 17:57:28 +02:00
Dennis Guse b5cb47a0c7 Refactored TrackRecordingServiceConnection: made static methods object methods. 2019-09-10 22:45:20 +02:00
Dennis Guse 443e069a13 Refactored TrackRecordingServiceConnection.
- implemented interfaces directly
- moved static methods from TrackRecordingServiceConnectionUtil
2019-09-10 22:37:54 +02:00
Dennis Guse 9c432c3110 Removed unused menu from SearchListActivity. 2019-09-10 21:20:41 +02:00
Dennis Guse 79934d51ac Revert "Moved from onTouch to onClick listeners."
This reverts commit 025dee68
2019-09-10 21:20:41 +02:00
Dennis Guse 496cf9145b Removed usage of Broadcast (were used by Widget). 2019-09-10 21:20:40 +02:00
Dennis Guse 264bb3746f Removed ControlRecordingService.
It was implemented to enable other apps to start and stop track recordings.
2019-09-10 21:19:11 +02:00
Dennis Guse 7b1ccf4507 Cleanup AndroidManifest. 2019-09-10 21:18:55 +02:00
Dennis Guse a326265dba Fixed searchview, which did not trigger SearchListActivity. 2019-09-10 21:18:25 +02:00
Dennis Guse 0864bc8104 Cleaned up ContentProviderUtils's factory pattern. 2019-09-10 21:18:03 +02:00
Dennis Guse f5656470a9 Removed Parcelable from all data classes as it not needed anymore. 2019-09-10 21:17:45 +02:00
Dennis Guse 5bc773f1aa Removed modifiedtime from Track - was likely a Google Drive leftover. 2019-09-10 21:17:18 +02:00
Dennis Guse 6bfd8c8db8 Cleanup: Use Pair instead of String[2]. 2019-09-10 21:16:58 +02:00
Dennis Guse df2865456e Removed obsolete workaround for DateUtils.formatElapsedTime(). 2019-09-10 21:16:38 +02:00
Dennis Guse fc6d5f1f23 Removed Widget. 2019-09-10 21:16:16 +02:00
Dennis Guse 96dab8c81b Build: enabled abort on lint errors. 2019-09-10 21:16:00 +02:00
Dennis Guse 1d13d51f0c Cleanup. 2019-09-10 21:12:56 +02:00
Dennis Guse 87d92d25f9 Cleanup: mainly code formatting and made LocationIterator implement autoclosable. 2019-09-08 12:39:40 +02:00
Dennis Guse 025dee6821 Moved from onTouch to onClick listeners. 2019-09-08 12:39:40 +02:00
Dennis Guse 796d086615 Cleanup.
Cleanup.
2019-09-08 12:39:37 +02:00
Dennis Guse bb1ef08474 Splitted TrackRecordingServiceTest into two files and fixed issue about calling Looper.prepare() only once for all tests. 2019-09-05 22:44:27 +02:00
Dennis Guse cc770d8bb4 Fixed (some) AnnoucementPeriodicTask[Factory] tests. 2019-09-05 07:41:16 +02:00
Dennis Guse 8a56c262cb Cleanup. 2019-09-04 22:09:22 +02:00
Dennis Guse c0a9958b5b Fixed (some) TrackRecordingServiceTests. 2019-09-04 21:33:30 +02:00
Dennis Guse 7351cd3377 TrackDataHubTest is beyond repair and thus removed. 2019-09-04 20:41:39 +02:00
Dennis Guse 7b3d5848b9 Fixed ControlRecordingService: only unbind if connected. 2019-09-04 17:43:24 +02:00
Dennis Guse 0f311e062e Fixed ContentProviderUtils tests.
Account for using a real (non-empty) database and thus non-predictable object ids.
2019-09-03 21:32:35 +02:00
Dennis Guse 57930a8d86 Added changelog for 2991/v3.1.0 2019-09-03 21:32:35 +02:00
Dennis Guse 7c0069394f Release v3.1.0 2019-09-02 19:42:40 +02:00
Dennis Guse 379913fb3e Cleanup. 2019-09-02 19:39:58 +02:00
Dennis Guse 542d9ccb77 Request storage permission on import all and export all. 2019-09-02 19:37:55 +02:00
Dennis Guse c8ae3b83b5 Added option to show statistics while recording without unlocking the device. 2019-09-02 18:36:31 +02:00
Dennis Guse 0a046fc100 Cleanup. 2019-09-02 18:02:43 +02:00
Dennis Guse c551a38a8b Show full version name based upon git describe --tags on startup and also in AboutActivity. 2019-09-02 16:05:24 +02:00
Dennis Guse 72b1ca82ed Moved debug warnings into Startup. 2019-09-02 15:50:35 +02:00
Dennis Guse 1ef81c45db Build: do not minify code for release.
The amount of space saved is too small to be of a real benefit while stack traces become unreadable.
2019-09-02 15:50:35 +02:00
Dennis Guse 08e6ae76f2 Fix TravisCI for Android-29 (#34) 2019-09-02 15:44:21 +02:00
Dennis Guse 6e410e049d Bugfix: creating waypoint from camera works now.
Introduced in commit 677b691ef1
2019-08-26 22:57:00 +02:00
Dennis Guse 22b7962940 Upgraded to Gradle 5.6 and AndroidStudio 3.5.0. 2019-08-26 21:55:40 +02:00
Dennis Guse 5788f99b20 Catch ActivityNotFound exception for starting geo-data intents. 2019-08-25 22:20:08 +02:00
Dennis Guse 8685e43dc2 Fixed ShareContentProvider and KMZ mime type. 2019-08-25 21:37:47 +02:00
Dennis Guse b8bea27155 Added AndroidStudio coding style configuration. 2019-08-25 16:21:20 +02:00
Dennis Guse c9226d3b79 Fixed CustomContentProvider tests. 2019-08-25 16:20:27 +02:00
Dennis Guse 9701feff04 Removed duplicate registration of images at MediaScanner. 2019-08-25 08:42:36 +02:00
Dennis Guse b8b40a88ef Show Marker menu entry at defined position. 2019-08-25 08:41:11 +02:00
Dennis Guse adcf7b388b Finish MarkerDetailActivity after storing marker. 2019-08-25 00:26:04 +02:00
Dennis Guse 3a7562d96c Modified "show on map" functionality to only share locations and no other track data. 2019-08-25 00:21:36 +02:00
Dennis Guse 2753cf7d0b Removed search suggestion configuration. 2019-08-24 18:48:50 +02:00
Dennis Guse 5841415a0b Refactored TrackWriter instantiation. 2019-08-24 18:14:32 +02:00
Dennis Guse d79fa07834 Share multiple tracks from TrackListActivity. 2019-08-24 17:51:57 +02:00
Dennis Guse ff6caf706e Added show on map to TrackDetailActivity. 2019-08-24 17:51:57 +02:00
Dennis Guse c953fbc67a Implemented "Share" from TrackListActivity's context menu. 2019-08-24 09:37:38 +02:00
Dennis Guse 55870cca85 Bugfix: import/export all now react to back button. 2019-08-24 08:49:59 +02:00
Dennis Guse 0123242be6 Bugfix: use correct entries/values for track name. 2019-08-24 08:44:43 +02:00
Dennis Guse 81a6d7b53a Added release recipe for FDroid. 2019-08-24 08:39:13 +02:00
Dennis Guse f423b07cee Added Changelogs for v3.0.0, v3.0.1, and the upcoming release. 2019-08-24 08:27:31 +02:00
Dennis Guse 33231bdbb1 Renaming to AbstractListActivity. 2019-08-23 07:37:03 +02:00
Dennis Guse 677b691ef1 Moved special intent creation to IntentUtils. 2019-08-23 07:33:58 +02:00
Dennis Guse 5e74e80a9a Use correct mime type for KML and KMZ. 2019-08-23 07:19:40 +02:00
Dennis Guse 70b5d799a2 Share marker works everywhere and share track from TrackDetailActivity. 2019-08-23 07:01:14 +02:00
Dennis Guse 16f18fe16f Removed search suggestion provider as it only provided recent searches. 2019-08-21 22:25:16 +02:00
Dennis Guse 8538c79dd8 Extracted content uri definition. 2019-08-21 22:20:18 +02:00
Dennis Guse f8e3b28e51 Removed landscape mode for TrackDetailActivity as it was broken and portrait mode needs heavy refactoring first. 2019-08-21 07:18:57 +02:00
Dennis Guse 9f665e07fd Show on map: everything is handled by one content provider alone.
To avoid issues forwarding a requests from (temporarily) exported content provider to internal content provider only one content provider is used.
2019-08-20 22:55:32 +02:00
Dennis Guse b7c010c086 Show on map: draft via virtual file (with two content providers).
Exported content provider that temporary needs to grant access to the internal content provider.
2019-08-20 22:49:54 +02:00
Dennis Guse 8296c0194d Show on map: draft via sharing temporary file. 2019-08-20 22:48:05 +02:00
Dennis Guse f537cc7321 Cleanup: automatic code inspection via Android Studio. 2019-08-18 14:46:43 +02:00
Dennis Guse 4fa2401b27 Removed CustomContentProvider.openFile() as it was used for Google Earth integration. 2019-08-18 13:22:41 +02:00
Dennis Guse f30e3cd5cd Removed contentDescription for logo (was still MyTracks). 2019-08-18 13:13:11 +02:00
Dennis Guse b73353120f PreferenceCategory import/export all: now uses Tracks as title. 2019-08-18 11:00:04 +02:00
Dennis Guse 7fa9df1f99 Cleanup. 2019-08-17 00:58:52 +02:00
Dennis Guse ea3de8a987 Renamed SensorManager to RemoteSensorManager. 2019-08-16 21:20:00 +02:00
Dennis Guse c159e1eba4 Version v3.0.1 2019-08-16 19:53:38 +02:00
Dennis Guse 420d538a73 Preferences: Import all/Export all has now transparent background and back button works as desired. 2019-08-16 18:53:26 +02:00
Dennis Guse 36672d6857 Fixed ChartFragmentTest. 2019-08-16 07:49:47 +02:00
Dennis Guse 51dc6f8e8d Tests: accept permission automatically. 2019-08-16 07:13:58 +02:00
Dennis Guse 9a6c9eeace Set android:allowBackup=false to prevent backups as this also includes cloud-based storages (e.g., Google Drive). 2019-08-15 23:14:52 +02:00
Dennis Guse bfb7f781ec Enabled TravisCI (just building, no tests). 2019-08-15 23:03:30 +02:00
Dennis Guse 8ca24b877c Moved Import all/Export all functionality to Settings. 2019-08-15 22:38:51 +02:00
Dennis Guse 01ef5cfa6f All test are now executable (but all are not working). 2019-08-14 18:03:48 +02:00
Dennis Guse 08825fcf04 Cleanup: typo. 2019-08-14 08:05:37 +02:00
Dennis Guse 4f5e87f87d Enabled some TrackDataHub tests. 2019-08-14 08:05:00 +02:00
Dennis Guse 45b1fafdd5 Fixed test and implementation of DescriptionGenerator. 2019-08-13 23:04:09 +02:00
Dennis Guse e89258c173 Fixed some tests by using the application context.
Fixed some tests by using the application context.

Fixed some tests by using the application context.

Fixed some tests by using the application context.
2019-08-13 22:49:41 +02:00
Dennis Guse d47d37afd2 Import/Exporter tests now compile (do not work). 2019-08-13 22:09:56 +02:00
Dennis Guse d9effc80a7 Enabled TrackRecordingServiceTest (mainly failing). 2019-08-13 20:59:29 +02:00
Dennis Guse 03d2b05ffd Allows SharedPreferences to contain int as well as String. 2019-08-13 20:56:07 +02:00
Dennis Guse e2cac6ee60 More tests executable (but not passing). 2019-08-12 18:47:48 +02:00
Dennis Guse f749ddb5ae Cleanup. 2019-08-12 18:47:48 +02:00
DanielJorn 6bb409fed0 Fixed typo in Readme.md 2019-08-11 09:25:53 +02:00
Dennis Guse 6da2d9d104 Export to KML and KMZ as requested by user. 2019-08-11 09:07:31 +02:00
Dennis Guse cd267123e7 KML export: write close tag for last segment.
Closes #21.
2019-08-10 14:00:38 +02:00
Dennis Guse 617ee719c8 Add heart rate sensor UI for landscape (BUG: still not visible). 2019-08-07 07:26:39 +02:00
Dennis Guse 4edad610ee Moved SensorSettingsActivity into SettingsActivity. 2019-08-06 20:07:22 +02:00
Dennis Guse fda95bbec9 Integrated ChartSettingsActivity in SettingsActivity. 2019-08-06 19:52:57 +02:00
Dennis Guse 1028e09888 Removed actionbar back button.
It was complicating the code base too much.
2019-08-06 19:46:01 +02:00
Dennis Guse 4abd07694c Use a custom dialog to reset preferences. 2019-08-06 19:08:11 +02:00
Dennis Guse a53b3288f7 BREAKING CHANGE: Moved to getDefaultSharedPreferences(). 2019-08-06 18:34:07 +02:00
Dennis Guse 7ba771c417 Moved sharedPreferences accessor to PreferenceUtils. 2019-08-06 18:18:25 +02:00
Dennis Guse 2a145b4791 Cleanup list preferences. 2019-08-06 07:47:37 +02:00
Dennis Guse cf90462772 PreferenceList: let summary be set by Android.
Some preferences used customized summaries - these were also removed.
2019-08-06 07:41:17 +02:00
Dennis Guse d9a6701260 Initialize preferences with default values. 2019-08-06 07:41:17 +02:00
Dennis Guse 1dc9558541 Use Androidx to get version code from manifest. 2019-08-05 22:21:44 +02:00
Dennis Guse 972de5f92e Photo size for KMZ exports is not configurable anymore. 2019-08-05 22:12:40 +02:00
Dennis Guse 28270b202e Hide activityTypeLabel in statistic summary. 2019-08-05 22:05:49 +02:00
Dennis Guse c9ee1a4218 Draft for FDroid metadata (via fastlane layout). 2019-08-05 17:41:48 +02:00
Dennis Guse 4c428d2547 Fixed export directory (was still MyTracks). 2019-08-05 17:08:03 +02:00
Dennis Guse 9bf1189f77 Added donation link to Liberapay. 2019-08-01 00:00:52 +02:00
Dennis Guse 484666e499 Cleanup broadcast messages.
(NOTE: Search suggestions and starting about page are not (yet) working).
2019-08-01 00:00:52 +02:00
Dennis Guse 28cdd39842 Automatic versioning (versionName and versionCode) using GIT. 2019-08-01 00:00:48 +02:00
Dennis Guse 9483241d43 Added about activity. 2019-07-27 13:13:41 +02:00
Dennis Guse d8a0265ad0 Removed obsolete resources. 2019-07-27 13:13:41 +02:00
Dennis Guse a6999fe7bd Disabled presentation of elevation gain as it used currently derived from the GPS signal alone and therefore very imprecise. 2019-07-27 13:13:41 +02:00
Dennis Guse f7db1c583b Removed reverse geocoding option for naming tracks.
This was actually done blocking in the main UI thread and (as Internet is usually used for this) was actually introducing weird random delay after ending a recording.
2019-07-27 13:13:41 +02:00
Dennis Guse a009be416f Added OpenTracks README. 2019-07-27 13:13:36 +02:00
Dennis Guse 7d515a3187 Bump versionCode and versionName. 2019-07-26 18:39:35 +02:00
Dennis Guse 6428074cdc Ask for ACCESS_FINE_LOCATION only (and really do it). 2019-07-26 18:39:35 +02:00
Dennis Guse 4e2eb2a0a1 Really removed translations referencing Google Drive functionality that is not present anymore. 2019-07-26 18:39:35 +02:00
Dennis Guse 6903a3e048 Rebranding to OpenTracks (translations). 2019-07-26 18:39:35 +02:00
Dennis Guse 233522a5e6 Rebranding to OpenTracks (code). 2019-07-26 18:39:35 +02:00
Dennis Guse cd52dc29c9 Autoformatted all resources. 2019-07-26 18:39:35 +02:00
Dennis Guse 363cb14bff Autoformatted all classes (non-testing). 2019-07-26 18:39:35 +02:00
Dennis Guse 5cfae845b7 Removed 'mytracks' from documentation, code, and filenames. 2019-07-26 18:39:35 +02:00
Dennis Guse 6dc03f567a Removed 'My Tracks' from documentation and code. 2019-07-26 18:39:35 +02:00
Dennis Guse b11f671c59 Removed translation_description from all strings.xml (except default). 2019-07-26 18:39:34 +02:00
Dennis Guse a4cabf1f0f Formatting translations. 2019-07-26 18:39:29 +02:00
Dennis Guse 0bd94e5f3f Removed "E.g., '/MyTracks/kml'.'." from translation instructions. 2019-07-24 06:17:52 +02:00
Dennis Guse 9c00d1afd1 Replaced logo png with a svg. 2019-07-24 06:17:52 +02:00
Dennis Guse 6eecef0048 Removed "E.g., 'Google location settings'." from translation instructions. 2019-07-24 06:17:52 +02:00
Dennis Guse 88c7e6ce1b Removed unused permissions as TrackRecordingService is now only reachable from within the app. 2019-07-24 06:17:52 +02:00
Dennis Guse 86a42f3c7c Use TEXT instead of String for SQLite. 2019-07-24 06:17:52 +02:00
Dennis Guse 58135607e8 (Re-)Enabled SaveActivity. 2019-07-24 06:17:45 +02:00
Dennis Guse 601c2fe9fa Cleanup R.strings. 2019-07-24 06:17:32 +02:00
Dennis Guse d6af46ed58 Remove MyTracks from resource names and styles. 2019-07-24 06:17:32 +02:00
Dennis Guse 186efc0a23 Removed IntegerListPreference and use a ListPreference instead. 2019-07-24 06:17:32 +02:00
Dennis Guse a1f62ec79f Cleanup. 2019-07-24 06:17:32 +02:00
Dennis Guse 111baff976 Preferences: use ListPreference instead of MyTracksListPreference. 2019-07-24 06:17:32 +02:00
Dennis Guse 02bb5bb48e Cleanup and default track name is location+date. 2019-07-24 06:17:32 +02:00
Dennis Guse 86aac36153 Removed unused permissions. 2019-07-24 06:17:32 +02:00
Dennis Guse 8438f7f7b3 Renamed settings configuration files. 2019-07-24 06:17:32 +02:00
Dennis Guse 617335e8b7 Use markdown LICENSE. 2019-07-24 06:17:31 +02:00
Dennis Guse 772e1ebce8 Cleanup. 2019-07-24 06:17:31 +02:00
Dennis Guse 89a6b56a61 TrackDetailActivity: only show heart rate if sensor is configured. 2019-07-24 06:17:31 +02:00
Dennis Guse 70eea7baea TrackDetailView: show connected bluetooth device. 2019-07-24 06:17:25 +02:00
Dennis Guse 5b22487059 TrackDetailView: show markerListMenu only as action if not recording as the icon is reused in this case. 2019-07-24 06:16:53 +02:00
Dennis Guse e22ff7742e Fixed index out of bounds. 2019-07-24 06:16:53 +02:00
Dennis Guse 3d99fab808 Removed SensorStateActivity. 2019-07-24 06:16:53 +02:00
Dennis Guse f19948e4cd Removed listener for map updates as there is no map anymore. 2019-07-24 06:16:53 +02:00
Dennis Guse cf0419f27b TrackDetailActivity: show heart rate. 2019-07-24 06:16:53 +02:00
Dennis Guse 09df2dd20f TrackDetailActivity: show activity type caption. 2019-07-24 06:16:53 +02:00
Dennis Guse 3ef1ae4b09 Sensor settings: added NONE bluetooth sensor. 2019-07-24 06:16:46 +02:00
Dennis Guse 1e1d4f6f4b TrackListActivity: show all markers. 2019-07-24 06:16:21 +02:00
Dennis Guse 15155aa394 SearchListActivity: show on map for individual markers. 2019-07-24 06:16:21 +02:00
Dennis Guse ef7db315d3 Code cleanup. 2019-07-24 06:16:21 +02:00
Dennis Guse b480623884 MarkerDetailActivity: show on map in external app. 2019-07-24 06:16:21 +02:00
Dennis Guse 4f6db25dd3 Always use the same icon for markers in menu. 2019-07-24 06:16:21 +02:00
Dennis Guse 6dcdd93195 Actionbar icons are now shown (still tinting programmatically). 2019-07-24 06:16:21 +02:00
Dennis Guse 39433f94cb Removed unused sharing and seach icons. 2019-07-24 06:16:21 +02:00
Dennis Guse 01701e5f0b Removed unused sharing icon. 2019-07-24 06:16:21 +02:00
Dennis Guse 01b4bc0e76 Cleanup. 2019-07-24 06:16:21 +02:00
Dennis Guse ff611795a0 Cleanup. 2019-07-24 06:16:21 +02:00
Dennis Guse 33650d3fe6 Do not use appcompat for android:showAsAction. 2019-07-24 06:16:21 +02:00
Dennis Guse bd58187c4e Activated search in MarkerList. 2019-07-24 06:16:21 +02:00
Dennis Guse 330c6b09cf ImageView can load URIs directly. 2019-07-24 06:16:21 +02:00
Dennis Guse af0c1a5ce9 Some menu items are action items. 2019-07-24 06:16:21 +02:00
Dennis Guse f792b9f59a Showing marker images now works (also with content:// URI).
content:// was required to get picture from the camera.
2019-07-24 06:16:21 +02:00
Dennis Guse 5e6a505a37 Code cleanup. 2019-07-24 06:16:21 +02:00
Dennis Guse 9c81157856 MarkerDetailActivity: set title. 2019-07-24 06:16:21 +02:00
Dennis Guse 0d01c0ee40 Upgraded some test cases. 2019-07-24 06:16:04 +02:00
Dennis Guse 0b2b306022 Added libraries for test cases. 2019-07-23 07:29:43 +02:00
Dennis Guse 175023645d Cleanup. 2019-07-23 07:29:36 +02:00
Dennis Guse 820b5b89e1 Cleanup Database: removed unused data fields. 2019-07-23 07:28:43 +02:00
Dennis Guse 1e8a843952 Removed external access check to now internal service. 2019-07-23 07:28:43 +02:00
Dennis Guse 4d5c19e3ef Fixed ServiceBinder for TrackRecordingService. 2019-07-23 07:28:43 +02:00
Dennis Guse d92106abec Moved myTrackLib into MyTracks: compiles, but recording service is not started correctly. 2019-07-23 07:28:43 +02:00
Dennis Guse 1706e8e8f9 Moved myTrackLib into MyTracks: moved files.
Moved resources from lib to app.
2019-07-23 07:28:43 +02:00
Dennis Guse 96de908487 Code formatting. 2019-07-23 07:28:43 +02:00
Dennis Guse 21c59bc2f6 Removed unused permissions. 2019-07-23 07:28:43 +02:00
Dennis Guse a8ff1628c4 Search working in TrackDetailActivity. 2019-07-23 07:28:43 +02:00
Dennis Guse 34450aa5e7 Share is working in TrackDetailActivity. 2019-07-23 07:28:43 +02:00
Dennis Guse b56f20f0c2 Code cleanup. 2019-07-23 07:28:43 +02:00
Dennis Guse 71c2bcbd0c Removed trackball support. 2019-07-23 07:28:43 +02:00
Dennis Guse f0eb85660a Use LocationManager instead of Google Play Service (completely removed). 2019-07-23 07:28:43 +02:00
Dennis Guse 44eeb9142c Removed use of Google Drive's shared owner. 2019-07-23 07:28:43 +02:00
Dennis Guse 41be6916bb Removed use of Google Drive's shared with me. 2019-07-23 07:28:43 +02:00
Dennis Guse 840ea69276 Added AndroidX appcompat. 2019-07-23 07:28:43 +02:00
Dennis Guse 2763c27283 Disabled proguard. 2019-07-23 07:28:43 +02:00
Dennis Guse 8bc84114d7 Renamed AbstractSendToGoogleActivity. 2019-07-23 07:28:43 +02:00
Dennis Guse 828a19aea1 Fixed taking camera images. 2019-07-23 07:28:43 +02:00
Dennis Guse 705c9b2538 Request GPS permission. 2019-07-23 07:28:43 +02:00
Dennis Guse ab7e8d2f43 Removed obsolete preferences keys. 2019-07-23 07:28:43 +02:00
Dennis Guse 24d60f570c Removed obsolete test. 2019-07-23 07:28:43 +02:00
Dennis Guse 8cb0559062 Removed UI seemingly used by removed "shared with me" functionality. 2019-07-23 07:28:43 +02:00
Dennis Guse 525cb5fd26 Removed references to Google Drive and Google Earth. 2019-07-23 07:28:43 +02:00
Dennis Guse 2cf77d09b2 Removed testing code that is "All rights reserved." by Google. 2019-07-23 07:28:43 +02:00
Dennis Guse fa0b154d0d Removed obsolete settings. 2019-07-23 07:28:43 +02:00
Dennis Guse 9684429d96 Activity selection dialog is now immediately selecting. 2019-07-23 07:28:43 +02:00
Dennis Guse 88cd919d92 Removed calories and weight. 2019-07-23 07:28:43 +02:00
Dennis Guse 6678d5b36b Fixed check if GPS is enabled. 2019-07-23 07:28:43 +02:00
Dennis Guse 53d91be9d9 Finish activity after pressing "save". 2019-07-23 07:28:43 +02:00
Dennis Guse 162e2c78a9 Fix for Android O and above. 2019-07-23 07:28:43 +02:00
Dennis Guse 19f7636259 Implemented heart rate via Bluetooth LE. 2019-07-23 07:28:43 +02:00
Dennis Guse 199f74ffad Code cleanup. 2019-07-23 07:28:43 +02:00
Dennis Guse cc0bef8546 Added foreground service permission. 2019-07-23 07:28:43 +02:00
Dennis Guse 3a685c609d Removed Polar and Zephyr (pre Bluetooth LE) sensors. 2019-07-23 07:28:43 +02:00
Dennis Guse 864f7cb595 Don't use apk/res-auto namespace. 2019-07-23 07:28:43 +02:00
Dennis Guse 376c0137a7 Removed AndroidMockGenerator.jar and robotium-solo.jar. 2019-07-23 07:28:43 +02:00
Dennis Guse bc7c5736ac TrackDetail: show first stats and then the chart. 2019-07-23 07:28:43 +02:00
Dennis Guse 1cf2a33525 Removed most @SuppressLint. 2019-07-23 07:28:43 +02:00
Dennis Guse 71d625e43e Code cleanup using static code analysis (Android Studio). 2019-07-23 07:28:43 +02:00
Dennis Guse 5b71810763 Removed all @SuppressWarnings. 2019-07-23 07:28:43 +02:00
Dennis Guse 3e728e0d91 Automated code cleanup using Android Studio. 2019-07-23 07:28:43 +02:00
Dennis Guse ca7e741304 Workaround disabling the search functionality. 2019-07-23 07:28:43 +02:00
Dennis Guse 0d4d1769f0 Upgraded project to AndroidX. 2019-07-23 07:28:43 +02:00
Dennis Guse 539285f6cf Upgraded menu configuration. 2019-07-23 07:28:43 +02:00
Dennis Guse 7394e8b382 Removed obsolete resources. 2019-07-23 07:28:43 +02:00
Dennis Guse 4362989d3a Readded GPS onConnect functionality (without permission check). 2019-07-23 07:28:43 +02:00
Dennis Guse 3d09ee363d Lint cleanup. 2019-07-23 07:28:43 +02:00
Dennis Guse 5efe1dba62 Manifest: removed removed Activities. 2019-07-23 07:28:42 +02:00
Dennis Guse ae25cae1bb Removed unused resources. 2019-07-23 07:28:42 +02:00
Dennis Guse 8a5cb93210 Removed unused translations. 2019-07-23 07:28:42 +02:00
Dennis Guse f33db6c766 Share: removed Google's chart generator 2019-07-23 07:28:42 +02:00
Dennis Guse 5a479c6dfe Settings: removed map configuration. 2019-07-23 07:28:42 +02:00
Dennis Guse 1661fc96b2 Removed support for ANT+. 2019-07-23 07:28:42 +02:00
Dennis Guse eb78c66ea6 Removed ActivityRecognition via Google Play service. 2019-07-23 07:28:42 +02:00
Dennis Guse 5a264c5c53 Removed MapOverlay. 2019-07-23 07:28:42 +02:00
Dennis Guse 8255fef72d File formats: removed CSV and TCX. 2019-07-23 07:28:42 +02:00
Dennis Guse 1c26dd109a Removed old-school key/value backup. 2019-07-23 07:28:42 +02:00
Dennis Guse a62dee645b Cleanup. 2019-07-23 07:28:42 +02:00
Dennis Guse de49a947f3 Removed export stuff. 2019-07-23 07:28:42 +02:00
Dennis Guse 078533dd3f Update dependencies and removed integration code. 2019-07-23 07:28:42 +02:00
Dennis Guse 09798c95c2 Removed Accounts and sync. 2019-07-23 07:28:42 +02:00
Dennis Guse 57bcded2a9 App now compiles and runs. 2019-07-23 07:28:42 +02:00
Dennis Guse 7d9a7659d8 Removed analytics code. 2019-07-23 07:28:42 +02:00
Dennis Guse 9d8dee86e8 Code compiles now. Removed large parts of sync. 2019-07-23 07:28:42 +02:00
Dennis Guse d170e92de5 Build: disabled Google API keys. 2019-07-23 07:28:42 +02:00
Dennis Guse 3a699f95be Build: upgraded build toolchain. 2019-07-23 07:28:37 +02:00
Dennis Guse ce61530431 Upgraded .gitignore. 2019-07-23 07:27:24 +02:00
Clément Poulain 0e1a20edd3 Merge pull request #6 from garyvdm/remove_iml
Remove and ignore .iml files.
2016-09-25 23:03:32 +02:00
Clément Poulain 177a28611e Merge pull request #5 from garyvdm/gradle_upgrade
Update gradle version. Make gradlew executable.
2016-09-18 12:49:56 +02:00
Clément Poulain 5b60a879b2 Add "How to build" section to README 2016-09-18 12:31:25 +02:00
Clément Poulain fd42cae3b1 Use same name format for backup and map API keys 2016-09-18 12:19:23 +02:00
Gary van der Merwe 944861d225 Remove and ignore .iml files. 2016-09-15 14:59:13 +02:00
Gary van der Merwe 8e5192de50 Update gradle version. Make gradlew executable. 2016-09-15 14:24:37 +02:00
Plonk42 aa53e87e10 Bump gradle version to fix build errors 2016-03-28 15:51:16 +02:00
Plonk42 e76004162a Upgrade robotium lib 2016-03-01 21:37:00 +01:00
Plonk42 35482511af Revert "Bump SDK versions"
This reverts a4c41643f0
2016-03-01 21:36:59 +01:00
Plonk42 b604f0619e Update releases information 2016-03-01 21:24:10 +01:00
Plonk42 8eed97cf3e Move protobuf dependency to maven 2016-02-19 00:51:06 +01:00
Plonk42 a4c41643f0 Bump SDK versions 2016-02-19 00:50:42 +01:00
Plonk42 592333afab Create README.md 2016-02-18 22:36:02 +01:00
Plonk42 cf6b1d9489 Move Google Backup API key in its own git-ignored file 2016-02-18 01:59:25 +01:00
Plonk42 83c6b1924f More .idea files 2016-02-18 01:05:50 +01:00
Plonk42 e7fd12ee19 Remove file that should not be versioned 2016-02-17 22:52:19 +01:00
Plonk42 c1cec71bf1 Add Apache License 2.0 notice 2016-02-17 00:33:59 +01:00
Plonk42 4639b2092c Move Google Maps API key in its own git-ignored file 2016-02-17 00:25:37 +01:00
Plonk42 6e6ffe178b Update .iml 2016-02-17 00:25:02 +01:00
Plonk42 3ee0976ac4 Merge branch 'adt_to_android_studio' 2016-02-17 00:17:49 +01:00
Plonk42 a9b1581d1d Move everything one directory upper 2016-02-16 23:51:42 +01:00
Plonk42 aba8cb4090 Integrate EndToEnd tests and removed unused tests projects 2016-02-16 23:43:00 +01:00
Plonk42 b90c680805 Use google-play-services dependency instead of project 2016-02-16 23:32:39 +01:00
Plonk42 ca87a6b751 Remove unused projects avec migration to gradle 2016-02-16 23:08:08 +01:00
Plonk42 70f0475171 Move from Eclipse ADT to Android Studio 2016-02-16 21:20:00 +01:00
Jimmy Shih 17ce705dfe Update author for PolarSensorManager 2014-03-31 13:14:30 -07:00
Jimmy Shih 34e48b0f02 Added tag v2.0.6 for changeset 42c74d340f83 2014-01-31 16:32:31 -08:00
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
Jimmy Shih b888a9a3b8 My Tracks 2.0.3 rc3 2013-03-10 20:54:49 -07:00
youtaol d2708ca2a5 Add some code to change the activity type during exit a track. 2013-03-08 16:15:26 +08:00
Jimmy Shih f93149191e Remove unused permissions. 2013-03-07 16:48:07 -08:00
Jimmy Shih 664f18c1ea Pass in hl to the help center url 2013-03-07 14:16:03 -08:00
Jimmy Shih e44d2875cc Fix gpx lock in the start of a recording. Use a handler thread
to obtain locationListener callbacks.
2013-03-07 11:40:14 -08:00
Jimmy Shih 89e01a706e Add a dialog for user to choose the activty type.
By apoorvn.
2013-03-06 13:46:44 -08:00
Jimmy Shih e561a25542 check if searchmneu is null before using it 2013-03-05 16:50:31 -08:00
Jimmy Shih 5107dbcb5e Update strings 2013-03-05 10:23:47 -08:00
Jimmy Shih 4cd114b0b3 Prevent dedicated search key from dismissing eula 2013-03-04 18:29:38 -08:00
Jimmy Shih 88cb5dd4ca Fix phones that do not always set the location time correctly. 2013-03-04 15:07:06 -08:00
youtaol c3c773eac6 Merge heads 2013-03-04 19:10:16 +08:00
youtaol 89bf4713ce Change the method to query and delete fusion table. 2013-03-04 19:09:23 +08:00
youtaol 9d2b2db01f Change code to make e2e test run more stable. 2013-03-04 19:08:06 +08:00
Jimmy Shih 8a1b4274a0 When restore from backup, disable sync to Google Drive. 2013-03-01 11:14:46 -08:00
Jimmy Shih d94673279a In TrackDetailActivity, check if the track id is valid or not 2013-03-01 10:19:29 -08:00
youtaol e1e1932071 Merge heads 2013-03-01 10:24:11 +08:00
youtaol 4422dd8066 Change code style. 2013-03-01 10:22:15 +08:00
Jimmy Shih 4f7dff1884 update translation 2013-02-28 14:50:32 -08:00
youtaol 0fb8c6902f Merge heads 2013-02-28 13:32:17 +08:00
Jimmy Shih 363f555f9c add onEnabled to reinitialize the widget after reboot 2013-02-27 17:19:17 -08:00
Jimmy Shih f20fa758e7 fix typo in ChartFragment 2013-02-27 14:35:01 -08:00
Jimmy Shih 7bd5a9b0c0 merge branches 2013-02-27 12:21:14 -08:00
Jimmy Shih 6bf211a5c6 persist map type from apoorvnaik 2013-02-27 12:20:03 -08:00
youtaol dbfbfb1b1f Add test cases about TripStatisticsUpdater.addLocation(). 2013-02-27 18:29:30 +08:00
Jimmy Shih e8e99dc3d0 Notify db changes after transaction is completed. 2013-02-26 14:17:50 -08:00
youtaol 6994b0b5df Fix errors of SettingTest. 2013-02-26 18:07:24 +08:00
youtaol da04450a2b Merge heads 2013-02-26 10:51:24 +08:00
youtaol d740f5a09d Add a short wait to make an sync test runs more stable. 2013-02-26 10:50:32 +08:00
Jimmy Shih 9b57749c18 When export, use the last valid track point as the end point. 2013-02-25 17:00:27 -08:00
Jimmy Shih 8929f0c211 Update the title for entering email addresses 2013-02-25 16:19:25 -08:00
Jimmy Shih 036fe3ab71 remove MyTracksApplication.java 2013-02-25 14:48:56 -08:00
Jimmy Shih 10b327f533 Clear sync state when reset settings. 2013-02-25 11:03:43 -08:00
Jimmy Shih 6810a0d048 Rename to share_maps to be consistent with send_maps. 2013-02-25 10:04:55 -08:00
Jimmy Shih f47ac17499 update android support library to version 11 2013-02-22 16:49:43 -08:00
Jimmy Shih 06718466ea Add lock screen widget.
Fix issue with 4x1 widget not displaying properly.
2013-02-22 14:58:57 -08:00
Jimmy Shih 266b2f44d1 fix eclipse warnings 2013-02-22 13:34:52 -08:00
Jimmy Shih c564c55f75 Add Google Feedback for ICS+ devices. 2013-02-22 13:09:52 -08:00
Jimmy Shih 82f68db819 merge heads 2013-02-22 11:24:20 -08:00
Jimmy Shih 925dc14b84 merge branches 2013-02-22 11:23:51 -08:00
Jimmy Shih 148f0da718 fix a typo in tos body 2013-02-22 11:18:48 -08:00
Jimmy Shih 38c9b2d0d7 Remove unused jars 2013-02-22 11:16:29 -08:00
Jimmy Shih 2c96afd9e1 merge branches 2013-02-22 11:07:53 -08:00
Jimmy Shih e44e68e226 Update AndroidManifest to version code 64 for 2.0.4 rc1 2013-02-22 11:07:14 -08:00
youtaol a3e9fbbc16 Change the method EndToEndTestUtils.verifyFirstLaunch() as new changes of first launch. 2013-02-22 11:19:56 +08:00
youtaol dfa81656d3 Make some change to make sync test run more stable. 2013-02-22 10:52:18 +08:00
youtaol e0084f6652 Merge heads 2013-02-21 14:32:04 +08:00
youtaol c88e67abe1 Change testTrackStartTime to testTrackRelativeTime. 2013-02-21 14:31:49 +08:00
Jimmy Shih f5f6cb59f5 Fix typos in strings.xml. 2013-02-20 14:58:17 -08:00
Jimmy Shih 16d3a35274 Remove in-app help content. Use a webview to access online help content. 2013-02-20 14:22:46 -08:00
Jimmy Shih d2f7279791 Update track icons. 2013-02-20 13:28:59 -08:00
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 b064bccc52 Improve list view layout. 2013-02-20 11:13:39 -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 ae1740cacd Use the caller pattern for all DialogFragment. 2013-02-19 17:09:35 -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 e31bfa5e63 Rename to Share via Google Drive and Share via Google Maps. 2013-02-19 16:04:30 -08:00
Jimmy Shih 583de3606d Move ChooseAccountActivity as an AbstractSendToGoogleActivity. 2013-02-19 15:32:24 -08:00
Jimmy Shih 100b7b28ed Have TrackListActivity extends AbstractMyTracksActivity. 2013-02-19 14:08:21 -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 1e1d93f779 Move all configuration variables to a new class RunConfiguration. 2013-02-18 20:06:16 +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 2b9846cc61 Fix space after hypen dot in the list view layout. 2013-02-15 13:20:47 -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 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 4137b9aae9 Change SendRequestTest as the structure of SendRequest is changed. 2013-01-31 17:59:07 +08:00
youtaol 4f1026c046 Fix a few errors when run on Android API level 10 emulator. 2013-01-31 17:31:53 +08:00
youtaol 7aef17625c Make sync tests can only be run on device bound with two test accounts for sync tests can not be run in parallel. 2013-01-31 14:45:47 +08:00
youtaol 880f153ed2 Add some test cases about sync feature. 2013-01-30 21:39:15 +08:00
youtaol bfe2e21db4 Fix an error of backup and restore e2e test. 2013-01-30 18:13:20 +08:00
youtaol bc3eeb6a5c Fix an error of e2e setting test case. 2013-01-30 16:30:19 +08:00
youtaol 1d81bb526f Merge heads 2013-01-30 13:56:51 +08:00
youtaol 6afac7a4ee Change code style of sync test cases. 2013-01-30 13:54:29 +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
youtaol 6e0cdc7434 Merge heads 2013-01-29 21:23:35 +08:00
youtaol 4dd2bbe6af Add test cases about sync feature. 2013-01-29 21:23:13 +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
youtaol c817a0b1c0 Add a case to test the setting and menu item of sync. 2013-01-24 18:48:04 +08:00
youtaol 517d5bdfb7 Fix an e2e test error after reset and backup menu are merged to one top menu item. 2013-01-24 18:44:31 +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
youtaol e7739d1034 Merge heads 2013-01-21 16:21:11 +08:00
youtaol d56cb50057 Fix an error of e2e setting test code for the setting page is changed. 2013-01-21 13:37:38 +08:00
Jimmy Shih 3100328014 Update backup and reset settings 2013-01-18 10:01:12 -08:00
Jimmy Shih ab1d6d8582 Update sensor settings 2013-01-17 17:41:50 -08:00
Jimmy Shih 7ad1c4fdf2 merge heads 2013-01-17 15:33:46 -08:00
Jimmy Shih 3f667948f1 Update the recording settings 2013-01-17 15:32:09 -08:00
youtaol 86054be1bd Fix an error when run testExportAndImportTrack_properties without Gps signal. 2013-01-17 14:27:26 +08:00
Jimmy Shih bb37e08235 merge heads 2013-01-16 15:17:27 -08:00
Jimmy Shih e1e11586b0 Update MapSettings according to settings style guide 2013-01-16 15:15:59 -08:00
Jimmy Shih f15964e1b9 fix one minor eclipse warning 2013-01-15 14:39:23 -08:00
Jimmy Shih 8b92bd7367 Add
- Switch Account
- Sync Google Drive
- New maps public

under the Google settings.
2013-01-15 14:33:22 -08:00
youtaol ae5bedc3bd Remove a useless file. 2013-01-11 15:38:24 +08:00
youtaol 54641cbcd8 Change ExportAndImportTest to make e2e test cases can run well with new code change(More import options). 2013-01-11 14:54:17 +08:00
youtaol 85e700fddc Fix an error of StringUtils. 2013-01-11 11:35:47 +08:00
youtaol 112b32deb1 Fix an error to make sure the time element string does not contains non-English character. 2013-01-10 17:20:08 +08:00
youtaol f1b448db9c Change code style. 2013-01-09 15:58:22 +08:00
youtaol d7d4e2c3b9 Change code style. 2013-01-09 15:55:21 +08:00
Jimmy Shih 67819ef7f5 Refactor code.
TrackWriter = handle writing a track to an outputstream
SaveAsyncTask = handle saving to external storage
SaveActivity = handle all UI messages when saving to external storage
2013-01-08 15:27:46 -08:00
Jimmy Shih 986295c343 merge heads 2013-01-07 15:58:05 -08:00
Jimmy Shih 2e69c47e2a Add KmlImporter. 2013-01-07 15:54:04 -08:00
youtaol 3eb2d1afc9 Add test case to check whether track/marker properties can be exported and imported. 2013-01-05 15:07:14 +08:00
youtaol e6b67d941e Fix an error of endtoend test. 2013-01-05 10:40:53 +08:00
youtaol d7b4eeb05b Merge heads 2013-01-04 15:06:31 +08:00
youtaol f371e9e0e2 Fix an error of endtoend test. 2013-01-04 15:06:09 +08:00
Jimmy Shih c14f2af060 Move ImportActivity and ImportAsyncTask to
io/file package.
Move TrackFileFormat to its own class.
2013-01-02 12:31:01 -08:00
youtaol 09ff246ef7 Run unlockAndWakeupDevice() on Ui thread. 2012-12-26 10:18:09 +08:00
youtaol 2cae2557de Change code style. 2012-12-24 19:19:18 +08:00
Jimmy Shih b091d3b5c5 merge heads 2012-12-21 13:36:00 -08:00
Jimmy Shih 068dadf10f Add track category and marker category in KmlTrackWriter. 2012-12-21 13:34:48 -08:00
youtaol 9176879ebe Update robotium solo to latest version. 2012-12-21 11:21:58 +08:00
Jimmy Shih 1b9bd39f17 Remove SignalStrength, the sample app that
periodically creates a waypoint containing
the phone signal stregth.
2012-12-20 16:19:41 -08:00
Jimmy Shih 283291b51b Add track category, waypoint type, waypoint category to gpx importer/exporter. 2012-12-20 15:55:06 -08:00
Jimmy Shih efaa7df201 Declare WaypointType as an enum. 2012-12-20 13:55:01 -08:00
Jimmy Shih a320f52746 merge heads 2012-12-20 10:05:56 -08:00
Jimmy Shih 0b4a4dda78 Import waypoints in GpxImporter 2012-12-20 10:01:32 -08:00
youtaol b464d78ae2 Fix an error of test. 2012-12-20 19:10:28 +08:00
youtaol 1580389f8c Change the package name of MytracksTest_E2E project. 2012-12-20 16:20:59 +08:00
youtaol d8f92f2c00 Change the application label of MyTracks_E2E project. 2012-12-20 16:06:08 +08:00
youtaol fb54ac1752 Separate MyTracksTest project into two projects, MyTracksTest and MyTracksTest_E2E 2012-12-20 14:09:12 +08:00
youtaol 124f4c9d2e Fix an error of setting test. 2012-12-19 15:04:22 +08:00
youtaol 3c3abea865 Fix an error of test. 2012-12-19 13:49:22 +08:00
youtaol 27ab203f7d Merge heads 2012-12-19 10:07:51 +08:00
youtaol 31b5dc9ad0 Fix an error of ResourceUsageTest. 2012-12-19 09:51:05 +08:00
youtaol 19281e2919 Move method findAndClickMyLocation from GoToMyLocationTest to EndToEndTestUtils. 2012-12-19 09:47:21 +08:00
Jimmy Shih 11ca9cc450 Update MyTracksProviderUtils api to make it clear
the valid values that can be used.
2012-12-18 15:02:50 -08:00
youtaol b7c1b61404 Fix an error of test. 2012-12-18 16:17:45 +08:00
youtaol d88995e8b9 Add a long track test case to stress test. 2012-12-14 15:58:20 +08:00
youtaol a90a2ec692 Add unlock method to make it can be run after the device is locked. And change some code style. 2012-12-13 18:18:45 +08:00
youtaol 612dac55d8 Merge heads 2012-12-13 17:05:41 +08:00
youtaol 483faa9574 Revert a change to merge with main. 2012-12-13 17:05:10 +08:00
youtaol 25b34cfb37 Add test case to collect the memory/battery usage of MyTracks. 2012-12-13 17:02:18 +08:00
youtaol f94d27acca Change some code style. 2012-12-12 10:43:24 +08:00
youtaol 3563fac1e8 Change code style of MapOverlay. 2012-12-12 10:01:03 +08:00
youtaol 28eb0cd677 Fix the issue http://code.google.com/p/mytracks/issues/detail?id=1198 2012-12-11 16:59:49 +08:00
youtaol 3c9224ab09 Merge heads 2012-12-11 10:57:14 +08:00
Jimmy Shih dffae9e782 Update Google Java Client API to version 1.12.0-beta. 2012-12-10 18:38:05 -08:00
Jimmy Shih c840027ab9 remove google java client library 1.5.0 2012-12-10 17:06:00 -08:00
Jimmy Shih 67da38bf35 update eclipse project for google play services v3 2012-12-10 15:38:36 -08:00
Jimmy Shih 794434078d add google play services v3 2012-12-10 15:34:08 -08:00
Jimmy Shih 6960bd0d63 remove google play services v2 2012-12-10 15:33:20 -08:00
Jimmy Shih 1c18f0e5f0 remove unused i18n scripts 2012-12-10 15:20:18 -08:00
Jimmy Shih 9216e8b97c merge heads 2012-12-10 15:00:48 -08:00
Jimmy Shih 87f60daa3a Update MyTracksTest factory patht to api level 17. 2012-12-10 13:39:18 -08:00
Jimmy Shih dc444ab04d Add a res directory for the MyTracksTest eclipse project. 2012-12-10 13:22:02 -08:00
youtaol 89b0402a92 Add testTrackColorSettings test case and make some code style change. 2012-12-10 18:35:17 +08:00
youtaol be0a067cf0 Add test case of the getColor method of MultiColorTrackPath when use dynamic speed track path descriptor. 2012-12-10 18:34:32 +08:00
youtaol 1a73df6edc Add test cases about getSlowSpeed and getNormalSpeed methods in DynamicSpeedTrackPathDescriptor. 2012-12-10 18:32:10 +08:00
youtaol 2fb1280b12 Merge heads 2012-12-07 15:24:48 +08:00
youtaol 8095698217 Fix an error of testSwitchTabs_wayPoints in stress test. And change some code style. 2012-12-07 14:40:18 +08:00
Jimmy Shih 05d12972e4 merge heads 2012-12-06 14:03:20 -08:00
Jimmy Shih 8a91036b1f Added tag 2.0.3 for changeset 56a5aae31c59 2012-12-06 14:01:52 -08:00
Jimmy Shih 42766e320f improve map view v2 comments 2012-12-06 14:01:09 -08:00
youtaol 87fa74bb58 Fix an error about testGPSMenu. Add a method waitTextToDisappear in EndToEndTestUtils. 2012-12-05 17:15:20 +08:00
youtaol 41051e1ecd Change code style. 2012-12-04 13:04:03 +08:00
youtaol 6ded502e89 Merge heads 2012-12-04 11:06:11 +08:00
youtaol 1c36a82fe2 Add two parameters to EndToEndTestRunner to control the sensor test and stress test for these two test need long time to run. 2012-12-04 11:05:18 +08:00
Jimmy Shih 8a9fd12c74 target api level 17 2012-12-03 17:51:32 -08:00
Jimmy Shih a06cf731d6 update manifest to version 63 2012-12-03 17:41:24 -08:00
Jimmy Shih 5a9c8255bd update to google-play-services-lib version 2 2012-12-03 13:52:43 -08:00
Jimmy Shih b0713cc0e7 Add synchronization when accessing waypoints in ChartView 2012-12-03 10:17:33 -08:00
Jimmy Shih 76c7fcd89a add extra permission for map view v2 2012-12-03 10:04:13 -08:00
youtaol db3194224b Add a stress test case. Switch views when track has mwrkers. 2012-12-03 22:06:47 +08:00
youtaol 3711a97fc3 Add sensor test cases during recording. 2012-11-30 17:01:43 +08:00
youtaol 087cfa8fc0 Merge heads 2012-11-30 09:47:38 +08:00
youtaol b857d25576 Change code style. Add a class SecondaryTestUtils to manage general variables and methods of other tests. 2012-11-30 09:44:03 +08:00
Jimmy Shih 9627233a54 Update strings for My Tracks 2.0.3 2012-11-29 14:36:10 -08:00
youtaol c989e22d63 Change the sensor test which guide user to paring Bluetooth sensors if doesn't find the specified type of sensor. 2012-11-29 18:57:10 +08:00
youtaol a4bf50f3e8 Change code style. Add test case about ANT+ sensors. 2012-11-29 18:55:55 +08:00
youtaol 624871b5e3 Change the way to find "More" menu item on Android OS without action bar. 2012-11-29 18:51:12 +08:00
youtaol cf27dfad97 Fix an error of SettingTest. 2012-11-21 19:50:45 +08:00
youtaol 639263f3c8 Fix an error in SensorTest. 2012-11-21 18:44:11 +08:00
youtaol ff1a554cea Fix random errors of e2e tests. Don't run some code if unnecessary. 2012-11-21 17:59:16 +08:00
youtaol 51bce4d2dc Fix two error of e2e tests. 2012-11-21 14:45:15 +08:00
youtaol 9f6427c203 Merge heads 2012-11-14 14:44:07 +08:00
youtaol 12e895d0e9 Fix an error of view switch test. 2012-11-14 14:43:47 +08:00
Jimmy Shih 4518f07cb1 Fix incorrect import 2012-11-13 15:32:27 -08:00
Jimmy Shih fc78bfdd2a Improve battery usage by removing listeners no longer needed in
track data hub.
2012-11-13 11:16:19 -08:00
youtaol 1d2173eb6f Fix an error of AnnouncementPeriodicTaskTest. 2012-11-13 19:51:12 +08:00
Jimmy Shih c38a5f3ba1 In Chart View, no longer can use a double buffered
iterator since with pauses and resumes, need to remember
beyond the last two locations.
2012-11-12 18:18:20 -08:00
Jimmy Shih 28a1c18489 Update strings.
Fix start gps. Open location settngs if gps is not available.
Show a toast when clicking on start/stop gps.
2012-11-12 15:36:48 -08:00
Jimmy Shih 427096838d Check if SD card is available before building external directory path. 2012-11-10 12:54:23 -08:00
Jimmy Shih 3d732625b1 Do not export battery level. 2012-11-10 11:40:39 -08:00
Jimmy Shih 7923b20d1d Fix encoding bug when a spreadsheet title contains special
characters like ().
2012-11-09 17:44:32 -08:00
Jimmy Shih c23a2467d9 merge heads 2012-11-09 16:42:44 -08:00
Jimmy Shih 6c9d64900e Initialize camera position only once instead of
initializing it once per onCreateView.
2012-11-09 16:41:19 -08:00
youtaol 8458825932 Remove spreadsheet for the test activity on Google Drive. 2012-11-09 13:52:25 +08:00
youtaol 4c457c093c Merge heads 2012-11-09 11:28:27 +08:00
youtaol e452ca3598 Merge heads 2012-11-08 17:03:11 +08:00
youtaol 3f9fd82b92 Add stress test and move sendor test to package com.google.android.apps.mytracks.endtoendtest.others. 2012-11-08 17:02:28 +08:00
youtaol bb23372b4d Change the way to find the total time text view to make test runs normally. 2012-11-08 15:04:24 +08:00
Jimmy Shih be257aa4bf Clean up the UI for no gps signal warning. 2012-11-07 17:05:50 -08:00
Jimmy Shih ea4ff998a2 Give user the option to not show the confirmation dialog when
playing a track in Google Earth.
2012-11-07 15:38:14 -08:00
Jimmy Shih 2bb76de736 - Show the Google Play services update dialog after the EULA and welcome dialogs.
- Handle canceling the Google Play services update dialog.
2012-11-07 13:33:58 -08:00
Jimmy Shih 0ebc8d255d Do not show the check units dialog on startup.
Use imperial for US. Use metrics for others.
2012-11-07 12:54:28 -08:00
Jimmy Shih 85bbb950d2 Remove dependency on Google Api.
Remove dependency on maps.jar
2012-11-07 10:27:17 -08:00
youtaol ccdd33bcca Fix errors of e2e tests. 2012-11-07 17:59:09 +08:00
youtaol 3da337b91b Add a method to check whether the Google Play Services update dialog is shown. 2012-11-07 15:54:16 +08:00
youtaol 326684d01c Fix encoding error of StrideReadings and StrideReadingsTest. 2012-11-07 15:47:12 +08:00
youtaol 2361e28552 Change the view tests as the new map view. 2012-11-07 15:46:00 +08:00
youtaol 653d2e97b0 Add a new method setupForDebug() in EndToEndTestUtils. 2012-11-07 15:43:43 +08:00
youtaol 61a7f4e0d8 Add test case about sensors. 2012-11-07 15:37:36 +08:00
youtaol 9bf05222f8 Add test case about starting/stopping GPS. 2012-11-07 15:35:44 +08:00
youtaol bca97bbd2e Fix errors of e2e tests. 2012-11-07 15:32:34 +08:00
youtaol 7decb2fab0 Split the CreateAndSendTrackTest to two files. Add a test case to test the send same track(the activity string of this track contains special character) to Google twice. 2012-11-07 15:26:54 +08:00
Jimmy Shih 6d2a642bc2 Remove unneeded @TargetApi
fix android lint errors
2012-11-06 15:51:38 -08:00
Jimmy Shih 903751c799 update translations 2012-11-06 15:31:44 -08:00
Jimmy Shih cd7d8ea559 remove suppress warnings; change to match_parent 2012-11-06 14:42:06 -08:00
Jimmy Shih 1605af1aa4 fix various eclipse warnings 2012-11-06 14:09:22 -08:00
Jimmy Shih b7898064f3 Add satellite with streets layer
Add checkbox next to the map layer item
Remember map layer across screen rotation
2012-11-06 13:36:39 -08:00
Jimmy Shih 3c59a33759 update UI in onSharedPreferenceChangedListener in the UI thread 2012-11-02 14:21:59 -07:00
Jimmy Shih b4eaad984e fix a typo in strings.xml 2012-11-02 12:58:34 -07:00
Jimmy Shih 214be6b802 fix null pointer error when cannot open a sd card file 2012-11-02 12:47:41 -07:00
Jimmy Shih 4b09254789 update to new google play services 2012-11-02 12:43:31 -07:00
Jimmy Shih c70e374219 Register/unregister onSharedPreferenceChangeListener in onStart and on Stop 2012-10-31 14:43:35 -07:00
Jimmy Shih 620b6e09b5 bind and unbind recording service in onStart and onStop 2012-10-31 11:21:21 -07:00
Jimmy Shih bf5b060123 Update track list activity lifecycle to fix bug with sharedPreferenceChangeListener needing to update the UI 2012-10-31 11:01:08 -07:00
Jimmy Shih a606d3a837 merge heads 2012-10-25 14:19:06 -07:00
Jimmy Shih 7497a8ec58 Add a check to make sure Google Play Services is available 2012-10-25 14:17:44 -07:00
Jimmy Shih e22c5f25fe Update analytics to not record application onCreate events 2012-10-24 16:50:16 -07:00
Jimmy Shih ed8669be66 Code cleanup. Rename stats_total_distance to stats_distance. 2012-10-24 16:30:08 -07:00
Jimmy Shih be238493dd Use official support library. 2012-10-24 16:00:10 -07:00
Jimmy Shih 707031d0b7 Remove api level 7 code. 2012-10-24 15:48:26 -07:00
Jimmy Shih 8fd0ab1cf1 update track widget label size for 4x3 layout 2012-10-24 15:00:37 -07:00
Jimmy Shih 41cb741883 Fix race conditions with GoogleMap 2012-10-24 14:38:51 -07:00
Jimmy Shih 9e30280e4e Update google-play-services.jar.
Fix one unit test.
2012-10-23 14:59:27 -07:00
Jimmy Shih 9eca3df172 Update to map view v2. 2012-10-20 16:18:50 -07:00
Jimmy Shih 2a676dbc9a fix layout issue in track widget config activity 2012-10-08 18:36:28 -07:00
Jimmy Shih 7d5d462a2a add chronometer to each app widget item 2012-10-08 17:25:27 -07:00
Jimmy Shih 4792ff6d3e update app widget style 2012-10-08 15:22:39 -07:00
Jimmy Shih dfab60c2eb add 4 layout sizes for the app widget 2012-10-08 13:05:15 -07:00
Jimmy Shih 1983b63ce8 Add a widget configuration screen 2012-10-05 11:26:57 -07:00
Jimmy Shih 5db20b48ca update app widget layout 2012-10-02 14:30:53 -07:00
Jimmy Shih 7240d02c06 merge heads 2012-10-01 14:18:06 -07:00
Jimmy Shih 17cec8fdac Added tag 2.0.2 for changeset 483e11a9d46e 2012-10-01 12:46:09 -07:00
Jimmy Shih eb49ee7939 Update map settings to display the current value
in the summary text.
2012-09-25 13:06:40 -07:00
Jimmy Shih 40c5d14eb4 Update sensor settings to include current value in the summary. 2012-09-25 10:34:04 -07:00
Jimmy Shih df7c832b96 Update recording settings to display the current
value in the summary.
2012-09-24 17:27:16 -07:00
Jimmy Shih 9e855fd589 In TrackListActivity, fix null pointer with searchMenuItem. 2012-09-21 16:05:47 -07:00
Jimmy Shih 29d44d45b6 Rename SD card to external storage.
Rename phone to device.
2012-09-21 15:33:59 -07:00
Jimmy Shih 07053d270d Add a help question on who can access SD card.
Change to Google My Tracks when display permission in another app.
2012-09-21 14:33:00 -07:00
Jimmy Shih ce33a1c413 Update strings for version 56 2012-09-20 17:27:10 -07:00
Jimmy Shih 54589db47c Update Google Analytics to start one session
per app launch.
2012-09-20 13:06:42 -07:00
Jimmy Shih 7e2fa82f3c Fix issue 1153.
In TrackListActivity, unregister listener in onPause.
2012-09-19 17:56:30 -07:00
youtaol 02d9d929b2 Merge heads 2012-09-19 20:22:47 +08:00
youtaol e00b0ef495 Merge heads 2012-09-19 20:06:00 +08:00
youtaol d179997169 Change code style. 2012-09-19 20:05:10 +08:00
youtaol 0b6250686d Change code style to test the voice frequency and split frequency menus. 2012-09-19 18:58:01 +08:00
youtaol ab763a0ce1 Change code style for testing share activities. 2012-09-19 18:38:42 +08:00
Jimmy Shih 95340fc3ad merge heads 2012-09-18 12:52:31 -07:00
Jimmy Shih 5ce40abbba update to version code 55 2012-09-18 12:50:37 -07:00
Jimmy Shih 1a89d9b4ce Fix issue 1152. In API level < 11, hide title before setting the content view. 2012-09-18 12:49:57 -07:00
youtaol df37b7709a Merge heads 2012-09-18 20:47:01 +08:00
youtaol afcccdf9d8 Move testFrequencyMenu from CreateAndSendTrackTest to MenuItemsTest and make some change as the new UI. 2012-09-18 20:46:11 +08:00
youtaol aa693afb88 Merge heads 2012-09-18 11:28:59 +08:00
youtaol 2243f73ef3 Change the method to check view mode. 2012-09-18 11:28:13 +08:00
youtaol 65ee6b80ef Merge heads 2012-09-18 10:32:22 +08:00
youtaol 207cc60911 Make the testShareActivity runs more stable. 2012-09-18 09:48:36 +08:00
Jimmy Shih a9c12e47f2 Update to version 54.
Update strings.
2012-09-17 17:06:05 -07:00
Jimmy Shih 6c985efca2 Fix total time stats when stopping a track during a pause. 2012-09-17 15:23:01 -07:00
Jimmy Shih 65c8a57aa3 Add voice frequency and split frequency back to
the recording settings.
2012-09-17 15:00:14 -07:00
Jimmy Shih 42f1e79bed For description field, allow multi-line. 2012-09-17 14:03:50 -07:00
Jimmy Shih 28599646cc Use a Chronometer to update total time in track widget.
Use broadcast events to update track widget.
2012-09-17 13:45:53 -07:00
youtaol 785bb71d4f Merge heads 2012-09-17 10:24:33 +08:00
youtaol bdba53c6ca Fix an error of comment. 2012-09-17 10:24:12 +08:00
Jimmy Shih 451ac53551 Fix issue 1108 by not always updating shared preferences onResume. 2012-09-14 10:46:09 -07:00
Jimmy Shih 3e03f24ec3 Fix issue with Android 3.0 by obtaining the action bar after
setting the content view.
See issue 1107.
2012-09-14 10:27:32 -07:00
Jimmy Shih 260410b554 For FragmentDialog, always use the activity obtain during onCreate.
To prevent null pointer when user clicks a button.
2012-09-13 15:44:58 -07:00
Jimmy Shih 5ff9c157d6 On TabManager, use commitAllowingStateLoss 2012-09-13 15:05:24 -07:00
Jimmy Shih 26512da615 Code cleanup: rename keys for save instance state 2012-09-13 14:52:51 -07:00
Jimmy Shih 5e7966b6e0 In ChooseActivityDialogFragment, reuse the activity during onCreateDialog. 2012-09-13 14:45:03 -07:00
Jimmy Shih 555218b2ab Do no allow progress dialogs to be canceled on outside touch 2012-09-13 14:25:55 -07:00
Jimmy Shih 74cf36e607 Add a menu item to start/stop gps. 2012-09-13 13:54:06 -07:00
youtaol 6389b873cf Merge heads 2012-09-13 11:32:20 +08:00
Jimmy Shih a177834e07 When backing/restoring prefereneces, do not include preferences for
the current device session.
2012-09-12 12:33:47 -07:00
youtaol 6f862a09d9 Add a test about share menu item. 2012-09-12 19:56:19 +08:00
Jimmy Shih 2053fe7bb9 update to version 53 2012-09-11 16:46:59 -07:00
Jimmy Shih ef1964eeff fix eclipse warnings 2012-09-11 16:03:39 -07:00
Jimmy Shih c9d4a07756 fix lint errors 2012-09-11 15:52:55 -07:00
Jimmy Shih 0ef7713433 Make SharePreferenceListener instance variables so they do not get
garbage collected early.
2012-09-11 14:56:17 -07:00
Jimmy Shih 32da1cd84d merge heads 2012-09-11 13:34:14 -07:00
Jimmy Shih 2ee3592320 update Android Manifest to version 52 2012-09-11 13:33:35 -07:00
Jimmy Shih b6d0609bed When gps is disabled, clear the current location. 2012-09-11 13:29:23 -07:00
Jimmy Shih 9eba8e4b64 update translated strings 2012-09-07 11:11:47 -07:00
Jimmy Shih 1e3e6af9b9 merge heads 2012-09-07 10:46:57 -07:00
Jimmy Shih 9cbfa40320 When displaying a html anchor link in a TextView, make sure there is
a space before and after the anchor link.
2012-09-07 10:45:12 -07:00
youtaol e0923b6f02 Merge heads 2012-09-07 10:45:01 +08:00
youtaol 3de6db170c Move methods checkUnderRecording, checkUnderRecording, checkUnderPaused to EndToEndTestUtils. 2012-09-07 10:44:13 +08:00
Jimmy Shih 7079c787be Annouce time to always include seconds 2012-09-06 17:06:37 -07:00
Jimmy Shih 147ef4e7c9 Change GpxTrackWriter to output coordinates with 6 fraction digitis 2012-09-06 16:50:05 -07:00
Jimmy Shih d1ea2c2bdb Update translation description regarding newline character \n 2012-09-06 15:56:02 -07:00
Jimmy Shih 0537eb3518 Fix csv output to use "" for an empty string. 2012-09-06 15:37:34 -07:00
Jimmy Shih 868a42f106 Fix buttons so that they can support 2 lines of text. 2012-09-06 14:53:59 -07:00
Jimmy Shih eef7279319 Shorten "Satellite mode" to "Satellite".
Change string limit from 21 to 20.
2012-09-06 13:47:30 -07:00
Jimmy Shih e881af032e Update app widget to support pause/resume. 2012-09-06 11:05:53 -07:00
Jimmy Shih 65fbb30f01 Update the list view icon based on new dimensions
from the style guide.
2012-09-05 13:47:40 -07:00
Jimmy Shih 6f97d4ff15 In ListView item, change the "Paused" text to white color instead of
red color.
2012-09-05 13:25:51 -07:00
Jimmy Shih e2610df8aa merge heads 2012-09-05 13:06:31 -07:00
Jimmy Shih 6df00ac1c5 Update record/pause style. 2012-09-05 13:05:12 -07:00
youtaol c5c5620b79 Fix warnings in test project. 2012-09-05 14:22:27 +08:00
youtaol 9a10675441 Add checks about the switch of start and pause image button. 2012-09-05 14:15:47 +08:00
youtaol 2eb26aaba1 Change code style. 2012-09-05 14:11:05 +08:00
Jimmy Shih 89496446c1 In StatsFragment, use the handler thread to update the total time
instead of creating a new thread.
2012-09-04 13:14:31 -07:00
Jimmy Shih 72a6f31790 Remove the following strings and drawables
- menu_record_track
- menu_pause_track
- menu_stop_track

Update status and button images.
2012-09-04 11:21:47 -07:00
youtaol 7b025443c1 Add checks about the status of recording, pause and not in recording. Add method findTextView and sleep to help current and following tests. 2012-09-04 15:04:11 +08:00
youtaol 9505ba9a23 Change code for there are no start, pause, stop buttons on the action bar any more. 2012-09-03 20:02:12 +08:00
youtaol e5078627c1 Merge heads 2012-09-03 14:17:09 +08:00
youtaol 3b92eb3a23 Change code style. 2012-09-03 14:15:22 +08:00
Jimmy Shih 9e85c0b8d5 Change the track_detail menu item order.
Place voice frequency and split markers just above settings.
2012-08-31 15:44:23 -07:00
Jimmy Shih af4a24053b merge conflicts, update ids 2012-08-31 15:08:39 -07:00
Jimmy Shih 544eb798b0 merge heads 2012-08-31 14:52:58 -07:00
Jimmy Shih b7c2f85a02 Add TrackController UI in TrackDetailActivity. 2012-08-31 14:51:05 -07:00
youtaol c8bcfe654b Add method pauseRecording() and resumeRecording() in EndToEndTestUtils. Make some changes to make start, pause, resume, stop track recording can runs well on the new UI(Move these buttons down from action bar in TrackListActivity). 2012-08-31 17:08:41 +08:00
youtaol 90e621db1f Merge heads 2012-08-31 09:57:35 +08:00
youtaol da6f3da448 Change the code style to send Gps signal to emulator. 2012-08-31 09:54:45 +08:00
Jimmy Shih 8a7786f9ca In TrackWriterImpl, write an empty track if the track has no valid locations. 2012-08-30 16:12:31 -07:00
Jimmy Shih af32c4f40f Improve resume/pause layout 2012-08-30 14:57:01 -07:00
Jimmy Shih 378cae7151 In MarkerList, do not show insert waypoint if paused.
In SearchList, update icon based on recording or paused state.
In TrackDetail, do not show insert waypoint if paused.
In TrackDetail, always show voice frequency and split marker settings.
2012-08-30 13:21:46 -07:00
Jimmy Shih 3b83d12056 merge heads 2012-08-30 12:32:01 -07:00
Jimmy Shih 5d34ddbd13 Change target sdk version to 16. 2012-08-30 12:31:16 -07:00
Jimmy Shih 9c0e522804 merge heads 2012-08-30 11:25:09 -07:00
Jimmy Shih 59f2092482 Check in the new record/pause UI in TrackListActivity. 2012-08-30 11:21:56 -07:00
youtaol ac119d815c Merge heads 2012-08-29 17:16:16 +08:00
youtaol 2212abe3c7 Add a check about the points of Paused track. 2012-08-29 17:15:55 +08:00
Jimmy Shih 09453d13cd If a GPX file doesn't contain timestamp, use the import
time as the track starting time.
2012-08-28 18:24:33 -07:00
Jimmy Shih 2f6e36a8bc Update GpxImporter to support tracks with pauses. 2012-08-28 17:44:40 -07:00
youtaol df06149c6d Add test case about sending a paused track to Google. 2012-08-28 15:37:57 +08:00
youtaol 14ea38da8b Merge heads 2012-08-28 10:41:34 +08:00
youtaol 6a9fa7c488 Add pause, resume, export and import test cases for Pause feature. 2012-08-28 10:36:04 +08:00
Jimmy Shih 34889bc460 Update SendToGoogleUtil to take into account of pause/resume separator. 2012-08-27 15:27:56 -07:00
Jimmy Shih f89433322b merge heads 2012-08-27 12:18:08 -07:00
Jimmy Shih 25778911c9 For periodic task, set the next time based on current total time
rather than track start time. The current total time would
take into account pause/resume time.
2012-08-27 12:17:23 -07:00
youtaol 631bfe8302 Fix an error of test. 2012-08-27 20:21:27 +08:00
youtaol 9565e81dab Merge heads 2012-08-27 10:31:25 +08:00
Jimmy Shih 296cd81167 In TrackRecordingService, fix the code on detecting if a location
is already inserted in the database.
In TripStatisticsUpdater, improve total distance accuracy by
taking into account the last point in a segment.
2012-08-24 17:46:16 -07:00
Jimmy Shih 41278eb137 Rename TripStatisticsBuilder to TripStatisticsUpdater.
No logic change.
2012-08-24 15:57:27 -07:00
Jimmy Shih be6fd6d633 Rename methods in MyTracksProviderUtils.
No logic change
2012-08-24 15:21:39 -07:00
Jimmy Shih 784ce8bc26 Remove unused methods in MyTracksProviderUtils
Change getLastValidLocation to getLastValidTrackLocation, thus
all location related api takes trackId as an argument.
2012-08-24 14:05:50 -07:00
Jimmy Shih c6861d1e49 In ChartFragment, MapFragment, StatsFragment, for callbacks from
TrackDataHub, check that the fragment is resumed.
In any runnable executed on the UI thread, also check
that the fragment is resumed.
2012-08-24 12:46:11 -07:00
Jimmy Shih 2c87df6d75 merge heads 2012-08-24 09:46:37 -07:00
youtaol 3ef2a9c901 Fix an error when test in Chinese. 2012-08-24 14:51:24 +08:00
youtaol 9859e4ff14 Merge heads 2012-08-24 12:42:57 +08:00
youtaol bc37316fa5 Add pause test case in CreateAndSendTrackTest. 2012-08-24 12:42:22 +08:00
Jimmy Shih 0ddd11aef5 Fix Stats view.
- when paused, do not update current location
- handle possible null pointer for getActivity

In MyTraksProviderUtils, change to
getLastValidLocation
2012-08-23 18:24:08 -07:00
Jimmy Shih b164398d47 merge heads 2012-08-23 14:59:58 -07:00
Jimmy Shih 9f63125816 - In MapView, only show the no gps message when recording.
- Different messages for no gps signal and need better gps signal.
- Add debug line when location is not inserted due to accuracy issue
  and min recording distance requirement.
2012-08-23 14:58:36 -07:00
Jimmy Shih 02f0f4831e Use TripStatisticsBuilder in
- SendMapsAsyncTask
- SendFusionTablesAsyncTask
- ChartFragment

In ChartURLGenerator
- change the input vector unit to be in meters
2012-08-23 14:12:08 -07:00
youtaol dcf5e5668a Merge heads 2012-08-23 19:28:32 +08:00
youtaol f008975936 Use default(first) account in choose account dialog. 2012-08-23 19:27:51 +08:00
Jimmy Shih 2bfb1ff49e merge heads 2012-08-22 16:20:40 -07:00
Jimmy Shih b0bb09db08 Add support to show both moving time and total time. 2012-08-22 15:52:14 -07:00
Jimmy Shih b3ad974bbb Update the ui thread in StatsFragment to support pause/resume
for the total time.
2012-08-22 13:16:18 -07:00
youtaol 40dba3d183 Add a check when more than one account is bound with phone. 2012-08-22 15:29:03 +08:00
Jimmy Shih ccaf652c8b Add support for pause and resume in TrackRecordingService. 2012-08-21 18:36:04 -07:00
Jimmy Shih 832e2499c9 merge heads 2012-08-20 11:00:16 -07:00
Jimmy Shih 12ce7e3b0d merge heads 2012-08-20 10:59:22 -07:00
Jimmy Shih 883b4bc9a8 fix a typo bug in TrackRecordingServiceConnectionUtils 2012-08-16 14:34:10 -07:00
Jimmy Shih 6039c5e1d4 Add UI support to pause and resume the current recording track. 2012-08-15 17:14:25 -07:00
youtaol e9ac687fe0 Fix unit test error of TrackDataHubTest. 2012-08-15 19:30:12 +08:00
youtaol 302144d003 Move the code about checking status of GPS signal back to make the test runs well on real devices. Fix a warning in CreateAndSendTrackTest. 2012-08-15 15:51:43 +08:00
Jimmy Shih 532c7495e4 merge heads with Google Location settings change from My Tracks 2.0.1 2012-08-14 12:32:56 -07:00
Jimmy Shih 5f4e32b921 Change intent name for opening Google location settings 2012-08-14 10:40:49 -07:00
Jimmy Shih 360b757bf3 revert f505ce7c6bde 2012-08-14 10:04:38 -07:00
Jimmy Shih 1a6baf2beb Refactor location recording logic so that
all location filtering code is done at
TripStatisticsBuilder.java.
2012-08-13 15:14:00 -07:00
Jimmy Shih bafcd0e37f In TrackRecordingService, make sure all fields of a waypoint
are set consistently when creating a marker.
2012-08-09 14:17:19 -07:00
Jimmy Shih 80f2237e2b merge heads 2012-08-09 10:22:52 -07:00
Jimmy Shih 96b67a8f2b Rename files in the "tasks" package. 2012-08-09 10:21:24 -07:00
youtaol f983c93363 Merge heads 2012-08-09 13:32:59 +08:00
Jimmy Shih dc9173e015 Update TrackRecordingService. 2012-08-08 18:52:08 -07:00
Jimmy Shih 40e2aba739 Clean up classes in the stats package
- TripStatisticsBuilder
- TripStatistics
- ExtremityMonitor
- DoubleBuffer
2012-08-08 10:17:32 -07:00
Jimmy Shih a0b3e21b14 Clean up LocationListenerPolicy. 2012-08-07 12:19:59 -07:00
youtaol 61227b2d89 Remove useless method in TrackDataHub. 2012-08-06 14:56:49 +08:00
youtaol 27c796cda0 Change some code of MyTracksProviderTest. 2012-08-06 13:21:51 +08:00
youtaol 86b782e2f0 Change code style of TrackDataHubTest. 2012-08-03 17:05:55 +08:00
youtaol a4b6d9e87b Merge heads 2012-08-03 16:31:36 +08:00
youtaol 221155979e Add a wait after sending Gps Signal. 2012-08-03 15:22:35 +08:00
youtaol e94d62f6a9 Make a change to make testSplitSetting() runs more stable. 2012-08-03 14:24:24 +08:00
Jimmy Shih a9872f665f Add track description as Notes in TCX output. 2012-08-02 12:26:55 -07:00
youtaol 2fa1f6daf4 Change some code in getButtonOnScreen() in EndToEndTestUtils. 2012-08-02 19:53:06 +08:00
youtaol acdb140a4e Make some change to make test more stable. 2012-08-02 16:33:16 +08:00
youtaol 0568ccca2c Make some change to make test more stable. 2012-08-02 14:15:28 +08:00
youtaol d1c2d3df3d Change some code style of EndToEndTestRunner. 2012-08-02 10:49:09 +08:00
Jimmy Shih 371375178e merge heads 2012-08-01 19:03:44 -07:00
Jimmy Shih f0de32eb04 Use a different name for new strings. 2012-08-01 13:40:16 -07:00
Jimmy Shih 2dbd2ff956 My Tracks 2.0.1. Add support for Google location settings. 2012-08-01 12:57:48 -07:00
youtaol 4b7d996cb3 Add some test cases to TrackDataHubTest. 2012-08-01 20:26:02 +08:00
youtaol 8796318335 Add a class EndToEndTestRunner which extends InstrumentationTestRunner and can get the port of emulator. Then test can be run on more than one emulators at the same time. 2012-08-01 17:25:21 +08:00
youtaol 99c094d9a1 Merge heads 2012-08-01 10:12:17 +08:00
youtaol a08cbe4265 Change a field name in EndToEndTestUtils. 2012-08-01 10:11:52 +08:00
Psychol 599b220523 Fix for bug 1087: (Voice Announcements for Pace in min/mi broken).
Voice announcements were always reporting 0 minutes 0 seconds if system was
configured for Pace.  Bug was caused by an incorrect cast of variable
'speed' to long (speed is a double). The casting was resulting in the variable
'speed' being changed to 0.

http://code.google.com/p/mytracks/issues/detail?id=1087
2012-07-30 23:06:33 -05:00
Jimmy Shih cbfcaaeb59 merge heads 2012-07-27 17:10:11 -07:00
Jimmy Shih d32221416d Clean up PeriodicTask. 2012-07-27 17:04:58 -07:00
youtaol b052c34e76 Make test can run on Android 4.1. Initialize the status of GPS signal and then use it during test. Create a common method to enter text which can hides soft keyboard. 2012-07-27 16:51:18 +08:00
youtaol b6fd63a512 Merge heads 2012-07-27 10:24:20 +08:00
youtaol b986dd51a9 Merge heads 2012-07-27 09:46:02 +08:00
youtaol 9244255b86 Change code style of MyTracksProviderUtilsImplTest. 2012-07-27 09:44:18 +08:00
Jimmy Shih 1bcbf7b5de Update all TrackPathPainter and TrackPathDescriptor.
Fix issues of incrementally updating a path.
2012-07-26 15:29:16 -07:00
Jimmy Shih 2b85a0ebba Update MayOverlay.
Fix heading calculation.
2012-07-26 10:05:24 -07:00
youtaol 1f093aa69f Change the code style and fix few invisible warnings in javadoc of MyTracksProviderUtilsImplTest. 2012-07-26 19:59:49 +08:00
youtaol a7d855cc27 Merge heads 2012-07-26 11:00:04 +08:00
Jimmy Shih e50938078f merge heads 2012-07-25 11:10:51 -07:00
youtaol 87255a1ad3 Fix an visible error of test. 2012-07-25 18:55:25 +08:00
youtaol 4dbc9fe682 Merge heads 2012-07-25 18:16:01 +08:00
youtaol 0e8f926769 Fix an error when run testSplitSetting in French. Update the Robotium to latest version. 2012-07-25 18:14:58 +08:00
youtaol 38f317fb35 Add test cases for MyTracksProvider. 2012-07-24 20:00:19 +08:00
youtaol cb8744999b Merge heads 2012-07-24 18:03:09 +08:00
youtaol 737045bdde Add unit test cases about MyTracksProviderUtilsImpl. Change some code style of MyTracksProviderUtilsImplTest. 2012-07-24 18:01:51 +08:00
youtaol 47ba1cbf4b Change some code to make test stable. Add a method in EndToEndTestUtils to hide soft keyboard when input text in edit text. Add method deleteAllTracks() in EndToEndTestUtils. Add 4 fields for different wait time in EndToEndTestUtils. Change method showMoreMenuItem to showMenuItem in EndToEndTestUtils. 2012-07-23 17:56:54 +08:00
youtaol 9d7fbf4956 Merge heads 2012-07-23 11:44:21 +08:00
youtaol d503a0cf66 Revert EndToEndTestUtils.java to aviod a merge confliction and will be recovered by a following change. 2012-07-23 11:38:52 +08:00
Jimmy Shih 9d7d4382fe Create one TrackDataHub per TrackDetailActivity. 2012-07-20 19:02:55 -07:00
Jimmy Shih c03fda24b0 Change TrackDataHub threading model so all requests are
handled in the handler thread.
2012-07-20 18:45:11 -07:00
youtaol b1116ff90b Add some tests to MyTracksProviderUtilsImplTest. 2012-07-20 17:34:29 +08:00
youtaol 27ffabb62a Merge heads 2012-07-20 17:06:17 +08:00
Jimmy Shih 456f62d1a5 Add transaction around insert, delete, and update calls in
MyTracksProvider.java
2012-07-18 10:33:33 -07:00
Jimmy Shih 83082b9ef8 Update TrackRecordingService to use MyTracksProviderUtils. 2012-07-17 17:50:29 -07:00
Jimmy Shih c1dd6eadad Clean up MyTracksProviderUtilsImpl.
Update MyTracks eclipse style.
2012-07-17 16:13:10 -07:00
youtaol 56663c53a4 Change showMoreMenuItem() to showMenuIten() and make the logic to find menu right and clear. Fix issues when run on emulator 2.3.3. 2012-07-17 14:14:19 +08:00
Jimmy Shih 083eb5c351 Clean up the javadoc for MyTracksProviderUtils.java 2012-07-16 18:53:55 -07:00
Jimmy Shih 465b7a66c6 merge heads 2012-07-16 16:38:46 -07:00
youtaol a64a51bc16 Make some change to make tests can run on OS 2.3.3. 2012-07-13 17:26:09 +08:00
youtaol cee6a5bbd0 Add comment about the method showMoreMenuItem() in EndToEndTestUtils.java. Remove android:icon statement in manifest.xml for it causes a error (This error can be reproduced by run aapt dump badging MyTracksTest.apk in command line) when I try to run it on mobile harness (Test devices lab) and it seems work well after I remove it. 2012-07-13 15:29:03 +08:00
Jimmy Shih fd82a4990a Added tag v2.0 for changeset 137da8501655 2012-07-12 13:24:30 -07:00
youtaol a267708ab5 Change some code style. 2012-07-12 12:59:08 +08:00
youtaol be3422cf59 Merge heads 2012-07-12 11:15:34 +08:00
youtaol 9c807697de Merge heads 2012-07-12 11:15:17 +08:00
Jimmy Shih 73d1a07fc1 Clean up TrackDataManager and TrackDataType. 2012-07-11 15:42:36 -07:00
Jimmy Shih e3229dc933 Clean up DataSource, DataSourceManager, and DataSourceListener. 2012-07-11 10:10:42 -07:00
youtaol 257de5a836 Fix some issues of end2end test on real device. Check the status when the device has no GPS signal in testCreateTrackWithMarkers(). Make 4 static fields in EndToEndTestUtils to define different wait time. 2012-07-11 18:49:49 +08:00
youtaol ba83d84fd5 Make the testSplitSetting() can run in 5 languages. 2012-07-10 19:01:45 +08:00
youtaol f4ac6311b0 Merge heads 2012-07-10 17:20:10 +08:00
youtaol 508730e125 Fix error. 2012-07-10 17:19:49 +08:00
youtaol 9e5bd5e379 Change code style of test GoogleUtils and related code. 2012-07-10 17:16:07 +08:00
youtaol 72c75bdf37 Add test method testFrequencyMenu. 2012-07-10 16:40:50 +08:00
Jimmy Shih 80470ef4f2 Update translations. 2012-07-09 09:57:26 -07:00
youtaol 812ca57d42 Merge heads 2012-07-06 14:41:50 +08:00
youtaol 9a24f12e11 Add test case to check the mark split logic. 2012-07-06 14:41:15 +08:00
youtaol 4cf7c4b32c Provide a way to delete the My Tracks info in the spreadsheet. Remove the method dropMaps() and add a delete flag to searchMapByTitle() method. 2012-07-06 13:50:17 +08:00
youtaol 453dd01928 Add code to drop the maps data, fusion table table of a track after send it Google. Change some code to make end-to-end tests run more stable. 2012-07-05 18:49:58 +08:00
youtaol 72273b7a85 Add a class to check the send result in Google Maps, Docs and Fusion Tables.
Change the code to give an activity to each track.
Change the way to initialize the static fields in EndToEndTestUtils.
2012-07-04 15:32:25 +08:00
youtaol 4dddea507f Merge heads 2012-07-03 20:07:00 +08:00
youtaol ec74968f94 Add a check about the voice frequency menu and split frequency. 2012-07-03 20:04:48 +08:00
Jimmy Shih 733e5fac74 Update strings for version 47. 2012-07-02 16:08:34 -07:00
Jimmy Shih 339764f32b Add Korean TOS. 2012-07-02 14:52:12 -07:00
Jimmy Shih 095750d1e9 Update wording for "New maps public" settings. 2012-07-02 14:23:13 -07:00
Jimmy Shih aab2f7b1c4 Update help content. 2012-07-02 13:53:39 -07:00
youtaol f06476a4f6 Fix a bug of wrong text to be check. 2012-06-29 19:17:47 +08:00
youtaol 27bdc41ce2 Merge heads 2012-06-29 12:22:52 +08:00
youtaol 5b14f98a95 Add French and Arabic support to End-to-end test. 2012-06-29 12:21:31 +08:00
Jimmy Shih f23e0cc740 Fix unit test due to changes in 8daac052f042 2012-06-28 17:51:58 -07:00
Jimmy Shih 2fe3214660 Fix bug so only one map overlap is displayed. 2012-06-28 17:00:32 -07:00
Jimmy Shih 3755e792be Update to version 46. 2012-06-28 14:05:52 -07:00
Jimmy Shih ac0d0da5a3 Update track widget icons. 2012-06-28 12:50:19 -07:00
Jimmy Shih 902db2a10d Update success and failure icons. 2012-06-28 10:31:13 -07:00
Jimmy Shih 220dce74b0 Update 8 menu icons. 2012-06-28 10:20:03 -07:00
Jimmy Shih f48660622c Add track icon for boat, airplane, and snow boarding. 2012-06-28 10:03:50 -07:00
youtaol 44b72e97f8 Merge heads 2012-06-28 18:27:12 +08:00
youtaol 35ef17a2c2 Make the end-to-end test can run on German device. 2012-06-28 18:18:00 +08:00
youtaol 682bd49e7e Change the way to get Accept button to make the test can runs well in Chinese. 2012-06-28 11:23:52 +08:00
Jimmy Shih 78c288ed42 In Docs spreadsheet, add a Fusion Table url column. 2012-06-27 16:18:30 -07:00
Jimmy Shih 568c24317b Clean up track description when sending to Fusion Tables. 2012-06-27 13:20:34 -07:00
Jimmy Shih 52c6aeb4ce Encode spreadsheet title in UTF-8 to support international characters. 2012-06-27 11:20:43 -07:00
Jimmy Shih 18491e3aab When deleting tracks, use a non-UI thread. 2012-06-27 10:42:10 -07:00
youtaol 7f14b26873 Add some checks before next test. 2012-06-27 15:07:46 +08:00
youtaol faddce53be Merge heads 2012-06-27 10:26:22 +08:00
youtaol 7bacdf35fb Change name of two variables in EndToEndTestUtils. Add a comment about language(Chinese) check. 2012-06-27 10:25:59 +08:00
Jimmy Shih 663c96e781 In GpxImporter, support cases when the content is null. 2012-06-26 18:13:41 -07:00
Jimmy Shih 82b83b6e79 Allow exporting and importing an empty track. 2012-06-26 15:58:17 -07:00
Jimmy Shih de20a51537 Do not store show welcome dialog and check unit dialog flags
in the user settings.
These two dialogs should only be shown for a new install.
2012-06-26 12:49:54 -07:00
Jimmy Shih 565a9a334d Fix unit test in SendFusionTablesUtils. 2012-06-26 12:28:59 -07:00
Jimmy Shih bc28f1b2e5 Update track_run icon. 2012-06-26 10:53:13 -07:00
youtaol b5e18ea7c4 Change code to make all end-to-end tests can run in Chinese environment. 2012-06-26 19:00:51 +08:00
youtaol 1c20addf6d Merge heads 2012-06-25 11:08:12 +08:00
youtaol b337da3719 Fix a mistake. 2012-06-25 11:07:45 +08:00
youtaol b7383f34c3 Merge heads 2012-06-25 10:57:29 +08:00
youtaol 7030efb170 Merge heads 2012-06-25 10:41:48 +08:00
Jimmy Shih ab60c6aad6 Update AndroidManifest to version 45. 2012-06-24 17:17:08 -07:00
Jimmy Shih c62e67d516 Update strings.xml 2012-06-24 17:15:18 -07:00
Jimmy Shih 6bbcb3138c Merge heads 2012-06-24 17:02:11 -07:00
Jimmy Shih d016750dbc Suppress Ant lint erros in MyTracksTest. 2012-06-24 17:00:36 -07:00
Jimmy Shih 58829cefb1 Fix AntSensorManger setup sequence. 2012-06-24 16:29:25 -07:00
Jimmy Shih 8e8d6b0438 When generating Fusion Table url, if the track is empty,
use Google's latitude and longitude to generate a valid url.
2012-06-22 17:59:14 -07:00
Jimmy Shih 83121da43b Disable hardware acceleration on map view. 2012-06-22 15:47:34 -07:00
Jimmy Shih 6ea3c5632f Make sure StatsFragment do not crash when switching tabs very quickly. 2012-06-22 15:27:50 -07:00
Jimmy Shih e47906d479 Make sure chartData is not empty before accessing its elements. 2012-06-22 14:27:26 -07:00
Jimmy Shih ba17b37e50 After MapFragment is created, update the menu so
satellite versus map is shown correctly.
2012-06-22 13:08:08 -07:00
Jimmy Shih c885e9d0dd Add a toast warning message when not able to install Google
Earth from the Play store.
2012-06-22 12:41:15 -07:00
Jimmy Shih ec8e8acb27 Show an error message when not able to get account permission
when sending a track to google.
2012-06-22 12:05:28 -07:00
Jimmy Shih c8be5919fd In track edit, move the activity icon next to the activity lable so that
the icon shows on Gingerbread phones.
2012-06-22 11:04:15 -07:00
Jimmy Shih 2146bee57e merge heads 2012-06-21 19:07:31 -07:00
Jimmy Shih 772e0e56a6 Make EditLabel layout_width=full_parent to better
support right-to-left languages.
2012-06-21 19:05:27 -07:00
Jimmy Shih 09f08f04db Allow speed greater than 250km/hr. 2012-06-21 14:45:47 -07:00
Jimmy Shih 6abd71e237 Update welcome message. 2012-06-21 12:34:02 -07:00
Jimmy Shih 9ba2e2bc99 Update My Tracks notification icons. 2012-06-21 10:27:58 -07:00
Jimmy Shih 951c695776 merge heads 2012-06-21 09:51:49 -07:00
Jimmy Shih 5cdd1f034c Add character limits to menu items. 2012-06-21 09:49:37 -07:00
youtaol f746b9b4af Merge heads 2012-06-21 15:12:33 +08:00
youtaol ed96cdd57e Add a test case to test search a track in MyTracks. 2012-06-21 15:11:10 +08:00
youtaol 36e6641980 Merge heads 2012-06-21 12:26:07 +08:00
youtaol 67d24783d8 Add a test case to check send tracks to Google. 2012-06-21 12:24:50 +08:00
youtaol 530a27215c Add a test case to check displaying elevation, grade and latitude and longitude information in Stats tab. And create a method resetAllSettings() in EndToEndTestUtils. 2012-06-21 11:31:30 +08:00
youtaol 40a2b2a524 Merge heads 2012-06-21 10:01:33 +08:00
Jimmy Shih 191fdf88ea Fix text size in choose activity for API level less than 14. 2012-06-20 16:34:33 -07:00
Jimmy Shih d7cd8dfcf5 Change the constant when reporting between m/km, and between ft/mi. 2012-06-20 14:44:38 -07:00
Jimmy Shih 78cd1914b8 merge heads 2012-06-20 14:40:44 -07:00
Jimmy Shih bf9afd4f83 When sharing with Bluetooth, send url only. 2012-06-20 14:39:03 -07:00
Jimmy Shih 033b545d53 Update google maps support url.
Change to "Track color" to make it easier to translate.
2012-06-20 13:56:14 -07:00
Jimmy Shih 70da12c635 Add character limits for items in settings. 2012-06-20 13:33:20 -07:00
youtaol 3e92f94054 Reset all settings before test the default track name in case the setting has been changed. 2012-06-20 15:42:39 +08:00
youtaol 8cd1e35cc1 Merge heads 2012-06-20 11:33:46 +08:00
youtaol b145a6169d Change the string to wait to make test could runs well. 2012-06-20 11:29:33 +08:00
youtaol e0dd00cf0b Merge heads 2012-06-20 10:45:50 +08:00
youtaol 978b6c5a09 Merge heads 2012-06-20 09:45:23 +08:00
Jimmy Shih ba9c8beb2d Update strings in various locales. 2012-06-19 17:38:03 -07:00
Jimmy Shih dc3657322a Revert changeset 3602373730b4. 2012-06-19 17:00:51 -07:00
Jimmy Shih 9bdd0aa6fe Update waiting for GPS message. 2012-06-19 15:48:06 -07:00
Jimmy Shih 76ed9a92b1 Add isGeoCoderPresent in the ApiAdapter.java. 2012-06-19 15:43:12 -07:00
Jimmy Shih 5d2144f698 Refactor AntSensorManager so each ChannelConfiguration is in its
own class.
2012-06-19 15:13:01 -07:00
youtaol f1a3c5dffa Change some code to make the testEditTrack() method can be run in landscape and portrait view on both 2.3.3 and 4.0.3. 2012-06-19 12:31:35 +08:00
youtaol 4789cfb2e5 Change the name of two methods and the add a javadoc. 2012-06-19 10:12:41 +08:00
Jimmy Shih 4bc19666a2 Add Ant+ Bike Cadence and Ant+ Combined Bike Sensor. 2012-06-18 10:01:42 -07:00
youtaol cf7e87997f Change method name of EndToEndTestUtils.isEmulator() to EndToEndTestUtils.setIsEmulator(). And add comment in CreateAndSendTrackTest. 2012-06-18 11:39:25 +08:00
youtaol 3561c12b6c Change code style of SettingTest. 2012-06-18 11:36:47 +08:00
Jimmy Shih d6de2914ee Update to version 44. 2012-06-15 10:44:22 -07:00
Jimmy Shih 4f42a713f2 Update strings from translation. 2012-06-15 10:27:31 -07:00
Jimmy Shih 333f533d6c Update icons for Google Maps, Fusion Tables, and Docs. 2012-06-15 09:40:06 -07:00
Jimmy Shih 5cc9b7bfcb Enable hardware acceleration. 2012-06-14 17:23:53 -07:00
Jimmy Shih 7d5ec3b043 Clean up WaypointsColumns.java. 2012-06-14 15:54:52 -07:00
youtaol 155e5bcc7f Change some code to make test can be run on real devices. (1) Do not fix geo data to a real device. (2) Sending go back event after input edit string when run on real devices for a soft keyboard is shown. (3) Add isEmulator() method in EndToEndTestUtils. 2012-06-14 19:08:52 +08:00
Jimmy Shih 984521b034 Move Track Points table constants to TrackPointsColumns.java. 2012-06-13 17:50:53 -07:00
Jimmy Shih 729c002e8e Change track icon based on activity type. 2012-06-13 16:57:56 -07:00
Jimmy Shih 68dabec4a6 Add an icon column in track table. 2012-06-13 14:52:42 -07:00
Jimmy Shih b4fee2de94 Add a category icon in Track.java and TracksColumns.java.
Clean up Track.java and TracksColumns.java.
2012-06-13 12:49:28 -07:00
youtaol 4bdf8ab3bd Merge heads 2012-06-13 09:50:40 +08:00
youtaol 6b5f230b17 Remove @SuppressWarnings("deprecation") and keep a warning in UploadResultActivity. 2012-06-13 09:49:48 +08:00
Jimmy Shih 359d53ecb2 Change search hint to just "Search". 2012-06-12 17:18:41 -07:00
Jimmy Shih cba40a6688 Use one scrollbar for confirm sharing dialog. 2012-06-12 14:51:42 -07:00
Jimmy Shih 831a12303a Update text in "Send to Google" dialog. 2012-06-12 13:36:21 -07:00
Jimmy Shih 82bf454c79 Add an interstitial when sharing a track with friends. 2012-06-12 12:44:07 -07:00
youtaol 21bd5ecc62 Add test case to verify change the stat setting during track recording. 2012-06-12 20:18:58 +08:00
youtaol 2909d8a9c3 Change code style of SettingTest.testChangePreferredUnits. 2012-06-12 11:23:51 +08:00
youtaol d9f951230f Change code style of UploadResultActivityTest. 2012-06-12 10:33:18 +08:00
Jimmy Shih 19c50a8e16 Move "Switch Account" to the top level settings. 2012-06-11 15:40:28 -07:00
Jimmy Shih 0d79893b19 - Change the default value for the "defaultMapPublic" key to false.
Thus the default is creating new unlisted maps.
- Toggle the title of the "defaultMapPublic" setting between
  "Make new maps public" and "Make new maps unlisted".
- Fix bug in TrackNameUtil to check if startTime is -1L.
2012-06-11 14:55:15 -07:00
youtaol 27aa9d6471 Add a test case to test change the setting of Preferred Units. 2012-06-11 20:40:59 +08:00
youtaol 56475a943f Merge heads 2012-06-11 10:34:48 +08:00
youtaol 4bf87acb80 Change code style. 2012-06-11 10:34:23 +08:00
youtaol 20641c694f Fix the run time error in UploadResultActivityTest and add some assertions. Remove a sysout statement in CreateAndSendTrackTest. 2012-06-08 11:55:28 +08:00
Jimmy Shih daa85ff675 Remove android market strings 2012-06-07 17:51:38 -07:00
Jimmy Shih 60f81b14ed Update sensor reset titles 2012-06-07 16:56:55 -07:00
Jimmy Shih 775e67815f Update manifest for version 43. 2012-06-07 15:54:24 -07:00
Jimmy Shih 7e2cd35358 merge heads 2012-06-07 15:45:50 -07:00
Jimmy Shih e2f9e31994 Update My Tracks icons. 2012-06-07 15:44:42 -07:00
Jimmy Shih 2ef56797a5 Add track location as an option for the default track name 2012-06-07 15:42:23 -07:00
Jimmy Shih effaf8cd7b merge heads 2012-06-05 17:40:49 -07:00
Jimmy Shih 3109abb5d2 Update Google Analytics. 2012-06-05 17:39:32 -07:00
Jimmy Shih dd2b42d6eb merge heads 2012-06-05 11:10:04 -07:00
Jimmy Shih 2aa72f4230 Use TaskStackBuilder to support cross tasks navigation. 2012-06-05 11:03:34 -07:00
Jimmy Shih 54eaa620a8 Disable on-chip buffering on Ant+. 2012-06-05 09:44:06 -07:00
youtaol 04cc524bbb Merge heads 2012-06-05 16:51:53 +08:00
Jimmy Shih c1c5381950 Update icons. 2012-06-04 16:04:12 -07:00
Jimmy Shih 8a6323cf56 Update strings in other locales.
Remove one unused color.
2012-06-04 14:20:26 -07:00
Jimmy Shih e517201ed0 Update EN strings. 2012-06-04 13:42:04 -07:00
youtaol 953bd8b908 Merge heads 2012-06-04 13:20:38 +08:00
Jimmy Shih 0bd15916ac merge heads 2012-06-02 14:28:51 -07:00
Jimmy Shih 621a33a516 merge heads 2012-06-02 14:25:05 -07:00
Jimmy Shih 25c2cf66c2 Clean up Track Widget.
- adjust margins
- display speed or pace
- display total time or total moving time
- use km intead of m when distance is greater than 1 km
- use mi instead ft when distance is greater than 1 mi
2012-06-02 14:24:14 -07:00
Jimmy Shih c890755411 Add transparent background to record image button on the empty
track list view.
2012-06-02 10:53:46 -07:00
Jimmy Shih 79d0f6852d Improve AntSensorManager.
Reduce checking sensor connection timer period to 20 seconds.
2012-06-02 10:44:42 -07:00
youtaol cad1a105ca Merge heads 2012-06-01 14:35:03 +08:00
Jimmy Shih d9ba8b6f58 Remove drawable menu_delete_all and menu_save_all 2012-05-31 18:36:04 -07:00
Jimmy Shih 8dd10776f4 Use antlib.jar to connect to ANT+ sensor. 2012-05-31 18:11:22 -07:00
youtaol ad01b379c7 Merge heads 2012-05-30 09:49:31 +08:00
youtaol d98617b23c Change code style. 2012-05-30 09:39:42 +08:00
Jimmy Shih d42e92a868 Clean up BluetoothSensorManager. 2012-05-29 16:30:32 -07:00
Jimmy Shih 62a716cfc7 Clean up BluetoothConnectionManager. 2012-05-29 15:22:48 -07:00
Jimmy Shih ba469a7be3 Fix drawing titles in ChartView. 2012-05-29 12:31:12 -07:00
Jimmy Shih ac55add2b9 Add BluetoothSensorManager toast message in strings.xml. 2012-05-29 10:53:35 -07:00
Jimmy Shih 9e5d9d23de Clean up SensorManagerFactory.
- not using reference count.
- make sure SensorStateActivity will not
  disconnect a connection used by TrackRecordingService
2012-05-29 10:36:28 -07:00
Jimmy Shih d4db27b092 Clean up SensorManager code.
check for sensor channel when the sensor state is NONE.
2012-05-26 13:33:23 -07:00
Jimmy Shih d4b985cf5b Reorder the items in Sensor State. 2012-05-26 12:20:11 -07:00
Jimmy Shih a679d96f93 Cleanup ChartView.
- remove clearPaint
- show two series when no data
2012-05-26 11:52:39 -07:00
Jimmy Shih b5c0a005c3 When ChartView is empty, always show the elevation series meta data. 2012-05-25 18:28:13 -07:00
Jimmy Shih 9dadade230 When sending to fusion tables, use different type for
waypoint and statistics markers.
2012-05-25 17:45:11 -07:00
Jimmy Shih 81805f00d8 Improve chartview layout. 2012-05-25 17:28:50 -07:00
Jimmy Shih e6abe73404 finish the current activity when overriding onHomeSelected. 2012-05-24 12:24:33 -07:00
Jimmy Shih 199455de46 should have been part of 0354eb686f69 2012-05-24 12:14:11 -07:00
Jimmy Shih 0460425d43 Clean up ChartValueSeries.
- include metric and imperial title id
- include both speed and pace series
2012-05-24 12:11:32 -07:00
Jimmy Shih ffbbead396 merge heads 2012-05-24 09:29:16 -07:00
Jimmy Shih 57da176c98 Improve ChartValueSeries 2012-05-18 14:49:49 -07:00
Jimmy Shih 75ef964d66 update manifest to version 41 2012-05-18 14:23:10 -07:00
youtaol 0bd1d83fca Add a check when there is no track to export. 2012-05-18 16:06:18 +08:00
youtaol fb4f6bb91e Merge heads 2012-05-18 10:32:51 +08:00
Jimmy Shih a1b361b2ff Fix issue 919. Return correct error message when there is no track. 2012-05-17 11:25:54 -07:00
youtaol 2be5a6732a Change some resource Id. Add method createTrackIfEmpty to make the code simpler. 2012-05-17 19:45:47 +08:00
youtaol 164ba7a16b Merge heads 2012-05-17 10:42:09 +08:00
Jimmy Shih 3269af0add Translate EULA copyright year. 2012-05-16 18:03:57 -07:00
Jimmy Shih c2fd6b8794 Add a hint when the default activity type is empty. 2012-05-16 17:14:09 -07:00
Jimmy Shih af35d45ba7 Check track is not null after getting a track from track id. 2012-05-16 15:11:18 -07:00
Jimmy Shih 0b08e53de2 Clean up all usages of String.format to support i18n. 2012-05-16 14:38:17 -07:00
Jimmy Shih d7836cce47 Clean up api to configure contextual action mode. 2012-05-16 14:14:08 -07:00
Jimmy Shih bb81fd0542 Use a DialogFragment for ChooseUploadService. 2012-05-16 12:47:43 -07:00
Jimmy Shih 83c3223668 Fix unit tests. 2012-05-16 11:02:12 -07:00
Jimmy Shih 17c495bc97 Add track description when sharing a url or a file with friends. 2012-05-16 10:17:31 -07:00
youtaol 2fe97f55dd Add a judge about the three dots menu item. Add tests about the relative start time and delete a track during recording. 2012-05-16 17:48:29 +08:00
Jimmy Shih 7fe7ace504 After saving a track to the SD card, add a button to share the saved file. 2012-05-15 17:54:40 -07:00
Jimmy Shih cabe966d27 Merge SaveAllActivity to SaveActivity. 2012-05-15 17:25:04 -07:00
Jimmy Shih 3d3af298af merge heads 2012-05-15 12:22:48 -07:00
Jimmy Shih afa2c9875e Modify the sharing flow to first show a list of applications.
Store preferred account as a sharing setting.
Remove share url only option. Apply share url only if twitter is selected.
2012-05-15 12:21:14 -07:00
youtaol 37bfefaa3d Merge heads 2012-05-15 16:58:38 +08:00
Jimmy Shih 3937400ef6 Update android menifest for vesionCode 40. 2012-05-14 09:48:16 -07:00
Jimmy Shih af11dac5e0 Fix bug that the account chooser dialog is temporary shown again
after choosing an account and granting permission.
2012-05-11 16:09:59 -07:00
Jimmy Shih f0beca8606 rename statistics markers to split markers
rename waypoint to marker
place my location button below the warning message.
2012-05-11 15:35:45 -07:00
Jimmy Shih 1fef0144b3 Move voice frequency and split frequency to menu items. 2012-05-11 15:04:08 -07:00
youtaol f1573a550a Change the code to check whether it is necessary to create a track for each test, and make the test run faster. 2012-05-11 16:28:21 +08:00
Jimmy Shih 2085e82312 In marker detail page, add a label "Since last Statistics Marker".
In the marker detail page, on resume, update the waypoint
in case it is returning from marker edit page.
2012-05-10 18:57:41 -07:00
Jimmy Shih b0207e5cd7 Requires GPS location to insert a marker except for
the track statistics marker.
2012-05-10 18:02:07 -07:00
Jimmy Shih f2ef8c7b08 Allow users to insert only waypoint markers. 2012-05-10 17:23:29 -07:00
Jimmy Shih b7b55d933f Support deleting the track currently being recorded. 2012-05-10 10:35:51 -07:00
youtaol 5f017ab96c Merge heads 2012-05-10 11:06:54 +08:00
Jimmy Shih dc9346c067 Add relative date time for start time within the past week.
Place the list item on the right by itself.
2012-05-09 18:26:08 -07:00
Jimmy Shih 373f8cc7e7 merge heads 2012-05-09 13:12:16 -07:00
Jimmy Shih 6bcbc55212 Set the title in TrackDetailActivity.
Fix a bug when recording, the TrackDetailActivity is not
displaying the correct menu items.
2012-05-09 13:09:47 -07:00
Jimmy Shih e3475124a7 Clean up SensorStateActivity.
Hide "Sensor state" menu when no sensor is selected.
2012-05-09 10:37:44 -07:00
youtaol 7b14315cbe Merge heads 2012-05-09 12:20:53 +08:00
youtaol b6fdf4e6e4 Add backup test case, change some code style. 2012-05-09 12:12:15 +08:00
youtaol d18f334b02 Merge heads 2012-05-09 11:07:36 +08:00
youtaol 92dce8515c Merge heads 2012-05-09 11:01:22 +08:00
Jimmy Shih 4686194541 Move the satellite mode menu option to MapFragment. 2012-05-08 16:44:07 -07:00
Jimmy Shih 68487329d1 Clean up remaining preference keys. 2012-05-08 14:45:28 -07:00
Jimmy Shih 1de9fe67a3 Move chart settings to ChartSettingsActivity. 2012-05-08 11:45:46 -07:00
Jimmy Shih 7d09348abc Clean up the root level settings. 2012-05-08 09:27:45 -07:00
Jimmy Shih 26a44dfd9a Place map settings in MapSettingsActivity. 2012-05-08 09:11:08 -07:00
Jimmy Shih 3461a50288 Move Stats settings to StatsSettingsActivity. 2012-05-07 13:38:17 -07:00
Jimmy Shih 77903ed2c9 Place sensor settings in SensorSettingsActivity. 2012-05-04 17:48:33 -07:00
Jimmy Shih 3008b335a7 Move recording settings to RecordingSettingsActivity. 2012-05-04 13:10:51 -07:00
youtaol fd90dcffa6 Merge heads 2012-05-04 17:04:45 +08:00
youtaol a12f4bcbe8 Changes smoke test to end-to-end test cases. 2012-05-04 17:00:20 +08:00
Jimmy Shih f8460fb76f Place backup settings in BackupSettingsActivity. 2012-05-03 12:38:19 -07:00
Jimmy Shih 92821be777 Place sharing settings in ShareSettingsActivity to support
ICS up navigation in the action bar.
2012-05-03 10:56:37 -07:00
youtaol 6c91db9405 Change code style of ControlRecordingServiceTest. 2012-05-03 12:04:51 +08:00
youtaol c3c0ab7947 Add a comment about a assertion. 2012-05-03 11:27:19 +08:00
Jimmy Shih 234f1f4a0a Inline methods in PreferencesUtils.
Donot want to have a pair of getter and setting for each preference.
2012-05-02 12:23:32 -07:00
youtaol 94c11face5 Change code style of AdaptiveLocationListenerPolicyTest. 2012-05-02 10:39:38 +08:00
Jimmy Shih 81281e560e Fix lint errors.
- MenuItem.collapseActionView is only availble for API level >=14.
- Rename the dialog variable in UploadResultActivity so it doesn't
  conflict with the dialog variable in the callback.
2012-05-01 18:44:05 -07:00
Jimmy Shih f8cacb01c9 merge heads 2012-05-01 18:09:53 -07:00
Jimmy Shih 66ba54ffa0 merge heads 2012-05-01 18:05:53 -07:00
Jimmy Shih 52253afd3a merge heads 2012-05-01 18:01:55 -07:00
Jimmy Shih 07f6cf55b6 merge heads 2012-05-01 18:00:32 -07:00
Jimmy Shih 8ac7330c9d Minor UI improvements.
- close contextual menu after an item is selected
- collapse the search widget after a search request is sent
- show keyboard by default for the editors
- in the search list, if edit or delete is selected in the contextual
  menu, close the search list since its content will get changed.
- enable QueryRefinement in search widget
- do not call super.onNewIntent
- update search.xml to include imeOptions, queryAfterZeroResults, and
  set searchSuggestionThreshold to 1.
2012-05-01 14:56:49 -07:00
Jimmy Shih 5ed3968771 Use a location image button on the map view to show current location. 2012-04-30 15:56:07 -07:00
Jimmy Shih 39a3fb6132 Add stats settings to configure the stats page. 2012-04-30 11:22:13 -07:00
youtaol 4a338da44c Change some code style of end-to-end test cases. 2012-04-28 18:19:40 +08:00
youtaol bf9280b1e3 Add test case for ControlRecordingService. 2012-04-28 18:09:37 +08:00
youtaol 85095b5e59 Add test case for AdaptiveLocationListenerPolicy. 2012-04-28 11:09:22 +08:00
Jimmy Shih 20eec8d30a - Fix flag in My Tracks notification to update the previous notification.
- move chart settings above settings
- remove My Tracks Importer, thus just using My Tracks
- rename to Save all to SD card...
- rename to Import from SD card
2012-04-27 13:24:00 -07:00
Jimmy Shih 1a23ba673c - use a dialog to insert markers with an option to open full insert screen
- remember the last chosen marker type
- auto increment the default marker name
- fix IME option when toggling between marker type
- add more spacing between items in the editor
- rename WaypointType to WAYPOINT and STATISTICS
- rename to ListItemUtils
- remove unused appwidget_text color
2012-04-27 09:48:01 -07:00
Jimmy Shih 2ec090354b Clean up icon names. 2012-04-26 11:13:14 -07:00
youtaol 6848a7a475 Merge heads 2012-04-26 18:59:06 +08:00
youtaol 420cb0f49b Change some code style of smoke test case. Add some checks in some tests when the screen is rotated. 2012-04-26 18:51:09 +08:00
Jimmy Shih 4018237691 In TrackListView, only update the list when certain keys are changed. 2012-04-25 18:13:30 -07:00
Jimmy Shih 2b6309f7c1 Improve the startup sequence.
- new welcome dialog message.
- new check units text.
- for US and UK, default to imperial.
- for fragments, fix handling of onCancel. No need
  to handle onCancel at the dialog level.
2012-04-25 17:30:56 -07:00
Jimmy Shih 1e4a6c04c2 Rename "Share with friends..." to "Share". 2012-04-25 10:16:51 -07:00
youtaol e4481ca3e6 Change code style, remove useless method of MyTracksSmokeTest 2012-04-25 15:20:41 +08:00
Jimmy Shih 5a32550f85 merge heads 2012-04-24 09:55:17 -07:00
youtaol b9a9cc6cd9 An end-to-end test case of MyTracks. 2012-04-24 19:38:32 +08:00
youtaol 920f8e4180 Change the way to generate the SQL statement to fix http://code.google.com/p/mytracks/issues/detail?id=907. 2012-04-24 19:25:45 +08:00
Jimmy Shih e998ac07e1 fix comment on 57e157793bd1 2012-04-23 19:09:23 -07:00
Jimmy Shih c4bcdc56c8 fix comment for 871dbae587aa 2012-04-23 19:06:11 -07:00
Jimmy Shih 82a338bd13 fix comment for 5b638c36df7f 2012-04-23 18:35:01 -07:00
Jimmy Shih 33118568bc A few fixes.
- use fill_parent since we are still supporting api level 7.
- on the TrackListActivity, hide the empty view content
  until the check unit dialog has been showned.
- fix the ChartView height. ChartView is no longer displayed
  on the full canvas. The new design has a tab bar and a
  zoom control.
- In TrackDetailActivity, only call methods of a tab fragment
  if it is the current tab.
2012-04-23 17:49:23 -07:00
Jimmy Shih 2ea4b09dcc Several minor fixes
- for TrackEdit and MarkerEdit, use windowSoftInputMode=stateHidden
- improve layout for the map in MapFragment.
- fix text size for API level < 14.
- fix bug when inserting a statistics marker with a modified name
2012-04-23 14:57:39 -07:00
Jimmy Shih 8f801b1bdb Add AbstractMyTracksActivity as the base class for
all My Tracks activities.
2012-04-23 12:42:29 -07:00
Jimmy Shih 1483f19f10 Clean up activities' manifest. 2012-04-23 10:41:29 -07:00
Jimmy Shih 7fd3f0e8d9 Update menu icons.
Update tab icons.
Place tab tag in the appropriate fragment.
2012-04-23 10:07:08 -07:00
Jimmy Shih 7701d31bdc Clean up all the layouts.
Utilize styles when possible.
2012-04-20 17:46:48 -07:00
Jimmy Shih eb3e7e0b86 merge heads 2012-04-20 12:51:48 -07:00
Jimmy Shih aaef92b139 Use stats_core.xml layout for
- AggregatedStatsActivity
- StatsFragment
- MarkerDetailActivity
Remove StatsUtilities. Use StatsUtils to set all stats labels and values.
2012-04-20 12:50:22 -07:00
Jimmy Shih 6838897353 Add a method to add all items to an array adapter.
ArrayAdapter.addAll is only avaiable to API >= 11.
2012-04-19 16:51:15 -07:00
Jimmy Shih 8f7c44d1e7 merge heads 2012-04-19 13:12:41 -07:00
Jimmy Shih e314f968b8 merge heads 2012-04-19 11:29:28 -07:00
Jimmy Shih 1676f19830 Create an IntentUtils.newIntent utility method to create an intent
with FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_NEW_TASK.
2012-04-19 11:24:40 -07:00
Jimmy Shih 352137c440 fix comment for 3e985a497047 2012-04-19 10:40:10 -07:00
Jimmy Shih c8deb63de9 Use the same list item layout for TrackList, MarkerList, and SearchList.
Use the same contextual menu for TrackList, MarkerList, and SearchList.
2012-04-18 12:53:12 -07:00
Jimmy Shih 172aed44ab fix merge conflict 2012-04-17 12:30:56 -07:00
Jimmy Shih 09a6a0a604 sync from main 2012-04-17 12:27:12 -07:00
Jimmy Shih 89b16e48e9 Add MarkerEditActivity, MarkerListActivity, MarkerDetailActivity. 2012-04-17 12:25:54 -07:00
Jimmy Shih 45855c794c merge heads 2012-04-17 10:10:50 -07:00
Jimmy Shih d402c5555c fix comment for 3fe71196df15 2012-04-17 09:45:59 -07:00
Jimmy Shih fef4d6bc23 merge heads 2012-04-17 09:39:20 -07:00
Jimmy Shih dc7fb591be merge heads 2012-04-16 10:18:33 -07:00
Jimmy Shih f66742ec98 merge heads 2012-04-16 10:12:22 -07:00
Jimmy Shih da6c33617c merge heads 2012-04-16 10:03:42 -07:00
youtaol 4ea5b199b9 Merge heads. 2012-04-13 18:07:04 +08:00
Jimmy Shih 00eee811f4 Add an empty view when the track list is empty. 2012-04-12 16:48:59 -07:00
Jimmy Shih e3f13dd633 In contextual action mode, add the track name as the action mode title. 2012-04-12 15:43:50 -07:00
Jimmy Shih 178b1be990 Rename ServiceUtils.java to TrackRecordingSeriviceConnectionUtils.
Move common code between TrackListActivity and TrackDetailActivity
for dealing with TrackRecordingServiceConnection in the utility class.
2012-04-12 15:17:46 -07:00
Jimmy Shih 2aa4cdc442 Add PreferencesUtils to access
- recording track id
- selected track id
2012-04-12 14:26:18 -07:00
Jimmy Shih 53c5ebbef9 merge heads 2012-04-12 13:25:33 -07:00
Jimmy Shih c98b10c548 merge heads 2012-04-12 13:25:12 -07:00
Jimmy Shih 08e460d208 Fix unit tests to run in any timezone. 2012-04-12 13:14:35 -07:00
Jimmy Shih 06322dcfdc fix comment 5e46fdb4a91d 2012-04-12 12:55:39 -07:00
Jimmy Shih d045b0440f fix unit tests in TrackRecordingServiceTest 2012-04-12 12:50:03 -07:00
Jimmy Shih 2fd3816edf Fix unit tests
- update string in CsvTrackWriter, CsvTrackWriterTest, and DescriptionGeneratorImplTest
- with Solo, UploadResultActivity can run by itself, but cannot run as
  part of the unit test. Modify the test to not use Solo.
- remove ANT+ tests in SensorManagerFactoryTest and replace them with
  bluetooth tests since most of the phones do not have ANT+.
- remove TrackDetailActivityTest since we are no longer using it to
  start the app. Will replace this with end-to-end smoke tests.
2012-04-11 17:02:21 -07:00
Jimmy Shih 28f3565bae sync from main 2012-04-11 10:29:52 -07:00
Jimmy Shih e82c3f15d2 should have been part of 5e46fdb4a91d 2012-04-11 10:25:07 -07:00
Jimmy Shih 4b36671041 merge heads 2012-04-11 10:18:12 -07:00
Jimmy Shih 3a6e6fc980 merge heads 2012-04-11 10:13:01 -07:00
Jimmy Shih a3e69df3ff merge heads 2012-04-11 10:11:53 -07:00
Jimmy Shih 0cd11c799d merge heads 2012-04-11 10:01:41 -07:00
Jimmy Shih 9063267db1 Add contextual menu.
API < 11, use floating context menu.
API >=11, use contextual action mode.
2012-04-10 19:59:36 -07:00
Jimmy Shih df23d20d32 should have been part of 90f307ee08cd 2012-04-10 12:57:31 -07:00
Jimmy Shih 3b889753db In TrackList, start the TrackDetail view when recording. 2012-04-10 12:53:59 -07:00
Jimmy Shih 400051d342 Move dialogs in TrackDetail to fragments.
Move all fragments to com.google.android.apps.mytracks.fragments
package.
2012-04-10 12:44:40 -07:00
Jimmy Shih 2fbdb9bfef merge heads 2012-04-10 10:31:02 -07:00
Jimmy Shih 87a0ce47b9 vertically align content in track_list_item.xml 2012-04-10 10:28:39 -07:00
Jimmy Shih a1993ab39e merge heads 2012-04-10 10:17:57 -07:00
Jimmy Shih 648015fe4c merge heads 2012-04-10 10:16:49 -07:00
Jimmy Shih 3d9536420c merge heads 2012-04-10 10:03:30 -07:00
Jimmy Shih d5389e8c3e fix comment on 5ca17d67ad5c 2012-04-10 09:57:58 -07:00
youtaol e5d86a708e Change the code style of DynamicSpeedTrackPathPainterTest and SingleColorTrackPathPainterTest, and make the code easier to read. 2012-04-10 17:54:49 +08:00
Jimmy Shih eae078b710 Fix bug with setHomeButtonEnabled,
it is only defined for api 14 or higher.
2012-04-09 16:46:08 -07:00
Jimmy Shih 119c24f6e6 Add delete and edit menu icons. 2012-04-09 16:43:08 -07:00
Jimmy Shih 7b800914f6 merge heads 2012-04-09 14:07:57 -07:00
Jimmy Shih 97f4103e67 merge heads 2012-04-09 14:07:04 -07:00
Jimmy Shih 99706edf70 Update TrackEditActivity to ICS. 2012-04-09 14:03:42 -07:00
Jimmy Shih 00974d97a7 Place all Google Earth constants in SaveActivity and prefix them with
GOOGLE_EARTH.
2012-04-09 10:19:07 -07:00
Jimmy Shih adfa66505e Use a dialog for the welcome page. Thus the startup sequence
consists of three dialogs.
Rename to HelpActivity.
Fix activity button styles.
Reuse EulaDialogFragment when invoked from the AboutDialogFragment.
Only hide the title bar on the TrackDetailPage.
2012-04-07 15:52:28 -07:00
Jimmy Shih 54bfe5d4b4 merge heads 2012-04-07 10:13:16 -07:00
Jimmy Shih fedcd33b0b merge heads 2012-04-07 09:56:56 -07:00
Jimmy Shih cd129e1f46 sync from main 2012-04-07 09:32:13 -07:00
Jimmy Shih 86c736dd17 merge heads 2012-04-06 18:25:57 -07:00
Jimmy Shih 5321878dd2 merge heads 2012-04-06 15:33:09 -07:00
Jimmy Shih e149683da7 fix merge error 2012-04-06 15:27:18 -07:00
Jimmy Shih c97ae1e87f merge heads 2012-04-06 15:16:01 -07:00
Jimmy Shih 0ed45e40c6 Move each fragment to its own class. 2012-04-06 15:09:47 -07:00
Jimmy Shih 70124b8465 merge heads 2012-04-06 12:59:38 -07:00
Jimmy Shih 6c7131f2a8 merge heads 2012-04-06 10:55:58 -07:00
Jimmy Shih f5085b208d merge heads 2012-04-06 10:54:22 -07:00
Jimmy Shih cbd52459bd Remove screenshot from the translation_description.
Will not require retranslation.
2012-04-06 10:50:58 -07:00
youtaol 28750142a9 Change the code style of SingleColorTrackPathPainterTest and DynamicSpeedTrackPathPainterTest. 2012-04-06 16:27:13 +08:00
Jimmy Shih 9e224d13ad Fix crashes when trackDataHub is null 2012-04-05 17:50:54 -07:00
Jimmy Shih 5082936ad1 sync from main 2012-04-05 17:06:43 -07:00
Jimmy Shih 32e8044b0b - add TabManager (based on the Fragment Tabs example in
API 4+ Support Demos)
- move to MapFragment, ChartFragment, and StatsFragment
- use android-support-v4-r7-googlemaps.jar to support a map view
  in a fragment.
2012-04-05 16:55:22 -07:00
Jimmy Shih 0314e28766 merge heads 2012-04-05 10:04:05 -07:00
Jimmy Shih ee92cbf92c merge heads 2012-04-05 09:58:19 -07:00
Jimmy Shih d84c4de0d7 fix comment for 3a507cd408b9 2012-04-05 09:55:46 -07:00
Jimmy Shih 8b4c05ead3 fix comment for 7638122cd587 2012-04-05 09:26:23 -07:00
Jimmy Shih a30e19e365 merge heads 2012-04-05 09:06:59 -07:00
youtaol 97227ca26e Merge heads 2012-04-05 14:33:48 +08:00
youtaol 68f50ef6de Change the code style of DynamicSpeedTrackPathPainterTest,SingleColorTrackPathPainterTest, SingleColorTrackPathPainter and TrackPathPainterTestCase. 2012-04-05 14:25:30 +08:00
Jimmy Shih ab8d159791 fix comments for e16572c749ba 2012-04-04 18:12:30 -07:00
Jimmy Shih 883eccb2d0 fix comments for 267c37ed0691 2012-04-04 17:42:25 -07:00
Jimmy Shih c5fa717d55 merge heads 2012-04-04 16:54:29 -07:00
Jimmy Shih 1c0ce45937 merge heads 2012-04-04 16:49:55 -07:00
Jimmy Shih aab0f63201 merge heads 2012-04-04 16:44:06 -07:00
Jimmy Shih d76eb44257 merge heads 2012-04-04 16:40:41 -07:00
Jimmy Shih 336abcce82 merge heads 2012-04-04 14:45:05 -07:00
Jimmy Shih afa2dd2c0e merge heads 2012-04-04 14:44:01 -07:00
Jimmy Shih c26e0ecbef merge heads 2012-04-04 14:29:09 -07:00
Jimmy Shih c795c8e482 fix comment for 5c3c3227ff36 2012-04-04 14:26:15 -07:00
Jimmy Shih 12f17e6f49 merge heads 2012-04-03 13:02:35 -07:00
Jimmy Shih 79fde1c118 Rename to fastest pace. 2012-04-03 10:18:16 -07:00
Jimmy Shih 29bd7889b7 merge heads 2012-04-03 09:58:22 -07:00
Jimmy Shih a34c17a461 Add a hack to enable building a release candidate.
With proguard "-optimizationpasses 5", not able to
obfuscate the CursorLoader. A known issue.

Remove
- AndoridMockRuntime.jar
- googleloginclient-helper.jar
AndoridMockRuntime.jar was included twice, preventing unit tests
from running.

Clean up classpath to not include jar files in the lib directory.
Else the jar files will get included twice.

Move jar files in MyTracks/lib/google-api-client/ to MyTracks/lib
so that proguard can pick up the jar files.

Clean up proguard.cfg into three sections.
- update the config from the default project
- update the config from the Google APIs client library
- remove unnecessary My Tracks specific "-dontwarn"
2012-04-02 18:45:17 -07:00
Jimmy Shih 840576055f merge heads 2012-04-02 15:17:25 -07:00
Jimmy Shih 9575401127 merge heads 2012-04-02 14:50:06 -07:00
Jimmy Shih 2d05ff98ca merge heads 2012-04-02 14:49:12 -07:00
youtaol b3688b043e Add test case for SingleColorTrackPathPainter. Move createCachedLocations method and INVALID_LATITUDE field from DynamicSpeedTrackPathPainterTest to TrackPathPainterTestCase to make them can be invoked by both test cases. 2012-03-31 17:46:11 +08:00
youtaol 004043c3e5 Change some code style. 2012-03-31 10:18:47 +08:00
Jimmy Shih 4b8d4e92b8 merge heads 2012-03-30 15:23:00 -07:00
Jimmy Shih fa18ace9e6 - remove PlayTrackUtils.
- use sub menu for "Export all...".
- prefix menu variables so they are unique.
- prefix intent extra variables with EXTRA.
2012-03-30 15:13:04 -07:00
Jimmy Shih 6869f003e7 - In the action bar, configure the Home button as the Up button.
- When starting an activity, always use FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_NEW_TASK together.
- TrackDetailActivity should handle events for a specific trackId, not
  handling events for the current recording track.
- In TrackListActivity, to support screen rotation, make sure the EULA dialog
  is not shown before creating another one.
- Do not need to bind service in onStart. OnResume will bind the service
  if a recording is happening.
2012-03-30 14:19:29 -07:00
youtaol 314c3a76a6 Add test case for DynamicSpeedTrackPathPainter. 2012-03-30 17:28:09 +08:00
youtaol 7a4b5569f3 Change code style of SendToGoogleUtilsTest. 2012-03-30 11:18:56 +08:00
youtaol c9ccae4ac7 Add test case for UploadResultActivity. 2012-03-30 11:04:20 +08:00
Jimmy Shih 9ff1af221b Move the track context menu to the main menu.
Use sharedPreferenceChangeListener to listen when
a new recording has started to update the view like the action items.
2012-03-29 18:02:28 -07:00
youtaol eae2b63586 change some code style of SendToGoogleUtilsTest. 2012-03-29 15:14:37 +08:00
Jimmy Shih 246b13da4b Remove MenuManager.java. 2012-03-28 16:49:57 -07:00
Jimmy Shih 16f3217364 Set TrackListActivity as the main activity.
Move all startup dialogs to TrackListActivity.
Move one-time application config to MyTracksApplication
2012-03-28 15:28:38 -07:00
Jimmy Shih 9500169719 Rename menu to track_detail.xml 2012-03-27 17:34:37 -07:00
Jimmy Shih 3ef085fbc7 Rename MyTracks.java to TrackDetailActivity.java 2012-03-27 17:13:16 -07:00
Jimmy Shih 0091755c70 rename TrackDetail to TrackEditActivity 2012-03-27 16:41:14 -07:00
Jimmy Shih 6afa67acad Add compatibility library.
Have TrackListActivity extends FragmentActivity
Use Loader to load cursor.
Use DialogFragment to display dialogs.
2012-03-27 13:42:45 -07:00
Jimmy Shih 30b0348655 Add support for search widget.
For API level >= 11, use the search widget.
For API level < 11, use the search dialog.

For API level >=14, the search button will expand the search widget.
For API level < 14, the search button will invoke the search dialog.
2012-03-26 19:02:42 -07:00
Jimmy Shih 5da0afc509 Modify TrackListActivity according to ICS design. 2012-03-26 16:38:54 -07:00
Jimmy Shih d0bec34ec4 Add action item icons for
- record_track
- stop_recording
- search
- settings
- help

Note that the record_track icon is a temporary placeholder until the
actual icon is available.

Change AndroidManifest so that splitActionBarWhenNarrow is
not applied to all activities in the application.

Rename menu strings so they are more consistent.
2012-03-26 09:59:27 -07:00
Jimmy Shih fe6ec32d8e remove trailing whitespaces in strings.xml 2012-03-23 17:02:43 -07:00
Jimmy Shih c36a494952 merge heads 2012-03-23 16:26:39 -07:00
Jimmy Shih c1351a1994 merge heads 2012-03-23 16:20:35 -07:00
Jimmy Shih 2a74cf6604 fix comments 9bc0a5d1c206 2012-03-23 16:16:54 -07:00
Jimmy Shih a0c766d820 merge heads 2012-03-23 16:09:41 -07:00
Jimmy Shih 5890ddd2d5 merge from main 2012-03-23 14:48:06 -07:00
Jimmy Shih 6101b9899e fix comment for 43b6356d7eff 2012-03-23 14:43:00 -07:00
Jimmy Shih 362d4aff8c fix comment 9bc0a5d1c206 2012-03-23 14:28:11 -07:00
Jimmy Shih ff2fe17b2c fix comment on f87ee43bcbb1 2012-03-23 13:09:22 -07:00
Jimmy Shih 7a203cb608 fix comments for efb2d8ffe652 2012-03-23 13:04:10 -07:00
Jimmy Shih f876b8cab4 merge heads 2012-03-23 12:37:44 -07:00
Jimmy Shih db87201724 fix comments for ad1d456e2a96 2012-03-23 12:35:46 -07:00
Jimmy Shih 5c00d9723d fix comment for e4025681f67b 2012-03-23 12:24:04 -07:00
Jimmy Shih ba035db684 sync from main 2012-03-23 12:19:14 -07:00
Jimmy Shih 6ecde2dc7e fix comment for e4025681f67b 2012-03-23 12:18:52 -07:00
Jimmy Shih 70f592e967 merge heads 2012-03-23 11:08:01 -07:00
Jimmy Shih 8138f7a5d6 merge heads 2012-03-23 10:46:55 -07:00
Jimmy Shih 0489582d7b merge heads 2012-03-23 10:44:06 -07:00
Jimmy Shih b1c6d4ba4a update classpath for ADT 17 2012-03-23 10:43:52 -07:00
youtaol 0f2d77400e Test case for SendToGoogleUtils.java. 2012-03-23 12:34:52 +08:00
Jimmy Shih ce65213d33 merge heads 2012-03-22 17:02:28 -07:00
Jimmy Shih 0bd4461c32 merge heads 2012-03-22 12:12:14 -07:00
Jimmy Shih 3044a1daea merge heads 2012-03-22 12:11:21 -07:00
Rodrigo Damazio d8e00e5902 Updating to ADT 17: using BuildConfig instead of our own isRelease 2012-03-22 02:05:19 -03:00
Jimmy Shih bc9ff8b4b1 Fix several Android lint warnings using ADT 17. 2012-03-21 18:06:20 -07:00
Jimmy Shih d2a245194f Cleanup all remaining dialogs.
- Use DialogUtils to create a spinner or a horizontal progress dialog.
- Update all progress dialog messages.
2012-03-21 16:04:53 -07:00
Jimmy Shih a8002ce13e Update upload result dialog for ICS. 2012-03-21 13:54:59 -07:00
Jimmy Shih 8337cda5b8 merge heads 2012-03-21 13:05:41 -07:00
Jimmy Shih 7119bcc66f merge heads 2012-03-21 13:04:57 -07:00
Jimmy Shih f9e8cfeb75 Update About page and Terms of Service page for ICS. 2012-03-21 12:59:58 -07:00
Jimmy Shih 894d6e1133 Update the chart settings dialog based on ICS style guide. 2012-03-21 11:10:18 -07:00
Jimmy Shih 517026bef3 Modify UploadServiceChooser dialog to ICS style.
- Use AlertDialog title and buttons
- Use @android:style/TextAppearance.DeviceDefault.Medium
- Use 8dp for margin between elements
2012-03-20 18:46:24 -07:00
Jimmy Shih 6e413f41b3 merge heads 2012-03-20 13:31:47 -07:00
Jimmy Shih 19293b063d Clean up FileUtils. Make it static with a private constructor. 2012-03-20 13:27:05 -07:00
Jimmy Shih cd741ab93c Rename ExportAllActivity to ExportActivity
Rename ExportAllAsyncTask to ExportAsyncTask
2012-03-20 12:21:57 -07:00
Jimmy Shih 3dd52ea523 In search_only.xml, the "onClick" attributes specifies the "onSearch" method.
However, the method is not excluded from proguard obfuscation.
Simpler to programmatically define "onOptionsItemSelected".
2012-03-20 12:08:36 -07:00
Jimmy Shih 21ba44d422 sync from main 2012-03-20 11:14:35 -07:00
Jimmy Shih 887c4e3dd1 merge heads 2012-03-20 11:11:26 -07:00
Jimmy Shih 0562165421 merge heads 2012-03-20 11:04:54 -07:00
Jimmy Shih 7b8203bd1d merge heads 2012-03-20 10:57:36 -07:00
Jimmy Shih 2f986bac65 merge heads 2012-03-20 10:50:07 -07:00
Jimmy Shih 0bcdab1958 merge heads 2012-03-20 10:45:03 -07:00
Jimmy Shih b8400cc0bf merge heads 2012-03-20 10:37:14 -07:00
Jimmy Shih 08a17a58ef merge heads 2012-03-20 10:23:19 -07:00
Jimmy Shih 1893c3557d Fix comment for 01e7f3b54cbf 2012-03-20 10:18:55 -07:00
Jimmy Shih 7318884583 Fix Android lint warnings.
- remove unused icons
- move icons from drawable to drawable-mdpi
- favor ICS icons when they are available
2012-03-19 19:04:33 -07:00
Jimmy Shih 1c3dd62d28 With targetSdkVersion=15, can no longer perform UI
operation like closing network connection on
the UI thread.
Thus move operations in onPostExecute to doInBackground.

In SendFusionTablesAsyncTask, close the content after
reading the content.

In MapsGDataConverter, don't write the entire kml file
to the log.
2012-03-19 18:34:00 -07:00
Jimmy Shih 5ae68f0826 Fix comment for 31a5329d6d51
For mytracks_marker_item.xml, use eclipse to format the file to
remove the extra spaces.
2012-03-19 17:35:52 -07:00
Jimmy Shih 236ad9813a Fix Android Lint warnings. 2012-03-19 16:23:14 -07:00
Jimmy Shih 963bbedea5 merge heads 2012-03-19 14:26:13 -07:00
Jimmy Shih e5d41576c9 Support screen rotation for back and restore
from the SD card.
2012-03-19 12:47:59 -07:00
Jimmy Shih cd87395ab0 Support screen rotation when importing tracks.
Use an activity to display the progress dialog
and use an associated AsyncTask to perform the import.
2012-03-17 14:37:54 -07:00
Jimmy Shih da9858d41f merge heads 2012-03-17 11:54:37 -07:00
Jimmy Shih d8a81e00cf Added tag v1.1.16 for changeset fe1ff6ce84fb 2012-03-16 17:35:37 -07:00
Jimmy Shih 4b229decb6 Update privacy url 2012-03-16 17:34:08 -07:00
Jimmy Shih 6445304c1f Fix screen rotation for delete marker confirmation
and check unit.
2012-03-16 15:53:08 -07:00
Jimmy Shih e1a7f3c0b5 Support screen rotation for "Delete All Tracks".
Replace DeleteAllTracks and DeleteTrack with
confirmation dialogs.

Currently, for DeleteTrack, the listener code in
repeated twice in MapActivity and TrackList. But in the
ICS design, DeleteTrack will only be available in
one place.
2012-03-16 14:51:11 -07:00
Jimmy Shih ddd06ea9f6 Improve ExportAllAsyncTask
- if an error occurs, the toast should display the error messageId from
  trackWriter.getErrorMessage() if available
- when user cancels export, onPostExecute is not invoked, thus need to
  release the wake lock in doInBackground
2012-03-16 10:44:08 -07:00
Jimmy Shih 8ee1066b9d Modify ExportAll to use the AsyncTask pattern to
support screen rotations of dialogs.
2012-03-15 19:08:54 -07:00
Jimmy Shih 2877712876 Use the AsyncTask pattern for SaveActivity
to support screen rotation when displaying the
progress dialog.
2012-03-15 15:40:57 -07:00
Jimmy Shih fcbfe9ca1c Fix unit tests breakage. 2012-03-14 16:52:25 -07:00
Jimmy Shih 9dca626560 Update strings for release 1.1.16. 2012-03-14 15:45:12 -07:00
Jimmy Shih 8e62ff239c fix eclipse warnings 2012-03-14 15:37:22 -07:00
Jimmy Shih 3ab54c7d67 merge heads 2012-03-14 15:17:55 -07:00
Jimmy Shih ead6249580 Update AndroidManifest for the next release.
1.1.16
2012-03-14 15:16:32 -07:00
Jimmy Shih 17c62b3996 After saving a file to the SD card, always show the result dialog.
After the user dismisses the result dialog, play or share the
saved file if applicable.
2012-03-14 14:57:51 -07:00
Jimmy Shih 51a565b49f Reorder AndroidManifest based on
http://developer.android.com/guide/topics/manifest/manifest-intro.html

Fix one lint error with duplicating variable.
2012-03-14 11:14:33 -07:00
Jimmy Shih 7a6f64b973 Update AndroidManifest.
- add splitActionBarWhenNarrow
- add targetSdkVersion
2012-03-13 17:14:24 -07:00
Jimmy Shih eb0237cd4e should have be part of daa8055b9997 2012-03-13 16:26:59 -07:00
Jimmy Shih f19a7681b4 No value changes. Only format
the AndroidManifest and menu xml files.
2012-03-13 14:51:16 -07:00
Jimmy Shih 0fc001534f sync from main 2012-03-13 14:03:02 -07:00
Jimmy Shih fe7cf7052d fix comments for ee18469e8c07 2012-03-13 14:00:49 -07:00
Jimmy Shih f3112c3acb Fix eclipse warnings 2012-03-13 11:00:00 -07:00
youtaol 504fd7fe14 Add test case for SendMapsAsyncTask, and change SendMapsAsyncTask to make it testable. 2012-03-13 18:02:15 +08:00
youtaol 5d1f19f1a0 Change some code to make test run successfully. Fix a warning in ChooseMapAsyncTask. 2012-03-13 17:42:47 +08:00
youtaol b80d8411c4 Merge heads 2012-03-13 17:13:33 +08:00
youtaol e4a65ce36c Create a utility class TrackStubUtils to create stub Track and MyTracksLocation. And change some code in ChartActivityTest to use this class. 2012-03-13 16:58:25 +08:00
Jimmy Shih bd9a88b903 Change "min pace" wording to "max pace".
See
http://code.google.com/p/mytracks/issues/detail?id=841
2012-03-12 16:35:11 -07:00
Jimmy Shih 2da8525439 merge heads 2012-03-12 16:07:03 -07:00
Jimmy Shih 3f54c07009 Patch 3 CLs from
http://code.google.com/r/rdamazio-mytracks-staging2/
- 7781a7c23cf1
- 883427ab11f8
- d801f8f7c16b

- Use Halo them for api level 11 or higher.
- Use action bar for api level 11 or higher.
- Move all menu items for the 3 tabs to MenuManager.
2012-03-12 15:59:07 -07:00
Jimmy Shih cc07db0269 Specify an icon for a kml track. 2012-03-12 13:10:49 -07:00
youtaol 472d49f241 Change test code of ChooseMapAsyncTaskTest. 2012-03-09 11:51:45 +08:00
youtaol cc358b4872 Fix a warning in ChooseMapActivityTest. 2012-03-08 15:18:04 +08:00
youtaol ad32e56660 Merge Heads 2012-03-08 15:10:33 +08:00
youtaol 4fd832d4a2 Remove T 2012-03-06 20:56:39 +08:00
youtaol efa7094cc5 Change some code for ChooseMapAsyncTaskTest. 2012-03-06 20:53:56 +08:00
youtaol b951a16364 Add double convert in SendFusionTablesAsyncTask and SendMapsAsyncTask, to make
the computation of update percentage is right.
2012-03-06 11:40:49 +08:00
youtaol 04b7a7fcb2 Add static to some variables in ChartActivityTest. 2012-03-06 11:36:54 +08:00
Jimmy Shih c8e184d29c merge heads 2012-03-05 16:25:51 -08:00
youtaol 48f9380f21 Revert the change to make the method getMyTracksLocation static (I'll create a new change for it). And change comments which have Javadoc warnings in some classes. 2012-03-02 17:41:12 +08:00
youtaol 93361881ed Add test case for ChooseMapActivity. 2012-03-02 17:00:57 +08:00
Jimmy Shih d362c539cf Improve playing a track with Google Earth
- directly send the play intent to Google Earth
- add a tour id to the feature to be played
- track the number of play using google analytics
2012-03-01 16:42:53 -08:00
Jimmy Shih 7710bd7a48 merge heads 2012-03-01 16:34:40 -08:00
Jimmy Shih bc56b70b4c Add fractional seconds to timestamp in GPX, KML, CSV, and TCX.
Move FileUtils.FILE_TIMSTAMP_FORMAT to StringUtils.java
Clean up StringUtils.java
- add formatDateTimeIso8601
- add formatDistance
- add formatSpeed
- rename all methods to either formatXXX or getXXX
2012-03-01 12:59:42 -08:00
youtaol 7145ba25b4 Add test case for SendFusionTablesActivity and change some code of SendFusionTablesActivity 2012-03-01 12:13:17 +08:00
youtaol bdf04d64d8 merge heads 2012-03-01 11:53:33 +08:00
youtaol 3b109ca98d merge heads 2012-03-01 11:50:24 +08:00
Jimmy Shih 2646cf63cb Fix bug. In AccountChooserActivity, only show the
choose account dialog when there are more than 1 account.
2012-02-29 15:35:53 -08:00
Jimmy Shih d3bc6ad77c merge heads 2012-02-29 15:20:18 -08:00
Jimmy Shih 93248bc8fb When sending to Google Docs, for elapsed time, always
include the hour.
2012-02-29 14:40:08 -08:00
Jimmy Shih 09ffd991f2 Clean up TCX track writer
- add a SportType enum
- in the footer, remove the <Type> tag under <Author><Build>
- always use 0 for BuildMinor version
2012-02-29 10:51:35 -08:00
youtaol b525a26917 Replace robotium-solo-2.1.jar with robotium-solo-3.1.jar to make ChartActivityTest can be run in Android 4.0. Change getMyTracksLocation() in ChartActivityTest to a static method, so it can be used by other test. 2012-02-29 17:50:05 +08:00
Jimmy Shih 6f7f85a117 merge heads 2012-02-28 15:27:45 -08:00
Jimmy Shih 1a3cb984be Fix comments on aca13c508711 2012-02-28 15:26:05 -08:00
youtaol 89ee5b4df3 Add test case for ChooseMapAsyncTask and adjust some code in ChooseMapAsyncTask.java to make it testable. 2012-02-28 16:15:54 +08:00
Jimmy Shih 4f2364f402 Change CsvTrackWriter to output three tables.
One for track, one for markers, and one for points.
2012-02-27 10:50:58 -08:00
Jimmy Shih 4033e56345 Use the 3.6 constant for MS_TO_KMH to prevent rounding error 2012-02-24 12:38:27 -08:00
Jimmy Shih 330fa98215 fix comment df32871175b2 2012-02-24 12:28:29 -08:00
youtaol f1bfc2af0a Change some code of SendMapsActivityTest and SendMapsActivity. 2012-02-24 16:42:06 +08:00
Jimmy Shih 81122b59ad Cleanup GpxTrackWriter
- remove xml-stylesheet (not used)
- remove the "<number>" tag (do not want to expose internally used track id)
- add <metadata> for name and description
- change the text for the "creator" attribute
- change KmlTrackWriter to use FileUtils.FILE_TIMESTAMP_FORMAT
2012-02-23 18:46:54 -08:00
Jimmy Shih 6087c862d8 Fix comment for fa8caa2aee52 2012-02-23 10:49:24 -08:00
Jimmy Shih ccb4190314 Update KML writer to output a track using gx:MultiTrack and gx:Track. 2012-02-22 17:18:38 -08:00
Jimmy Shih 8fc43ff3fb Fix comments on 4d928853455e 2012-02-22 16:19:10 -08:00
Jimmy Shih 719b7c2414 sync from main 2012-02-22 12:55:01 -08:00
Jimmy Shih ae5a8d04a2 merge heads 2012-02-22 12:39:28 -08:00
youtaol 7cfe8c3dd8 Add test case for SendMapsActivity. 2012-02-22 16:51:21 +08:00
youtaol de2dd9bef4 Add test case for SendRequest.
Add test case for UploadServiceChooserActivity. Change some code in
UploadServiceChooserActivity to make it testable.
2012-02-22 14:30:52 +08:00
youtaol 70bea25cbc Add Robotium 2.1 to library, and add an item in .classpath.
Add test case for ChartActivity.
Modify ChartActivity and ChartView to support test.
2012-02-22 14:00:47 +08:00
Jimmy Shih 64b452d851 Clean up the code to generate track and waypoint description.
Add DescriptionGeneratorImpl
Make StringUtils constructor private
I18n the strings used to generate the descriptions
2012-02-21 13:13:45 -08:00
Jimmy Shih f30301ac4f Fix comment for a8c6f5ff1203 2012-02-21 09:36:54 -08:00
Jimmy Shih cd1a99727a Clean up UnitConversionUtils. 2012-02-16 16:30:04 -08:00
Jimmy Shih 81dfdb5bda merge heads 2012-02-15 10:27:40 -08:00
Jimmy Shih 7219972af5 merge heads 2012-02-15 10:04:18 -08:00
ml1050 8bb94bc104 cosmetics 2012-02-15 16:03:20 +01:00
Jimmy Shih 1e63be4bae Change search_global_description to "Tracks and waypoints" 2012-02-14 13:12:57 -08:00
Jimmy Shih dfabe3242e Add a service to periodically remove files older than 1 hour. 2012-02-13 17:02:26 -08:00
Jimmy Shih 6979227410 merge heads 2012-02-13 10:02:29 -08:00
ml1050 ceb0e68b2a correctly use the <Cadence> tag for biking related activities 2012-02-12 18:47:50 +01:00
Jimmy Shih b10758cd96 Add a play option to play a track.
Check if Google Earth is installed, if not, ask the user
if he wants to install from the Market.
2012-02-10 14:38:34 -08:00
Jimmy Shih 13f5c0e685 Added tag v1.1.15 for changeset 9ab23da8a5be 2012-02-09 11:00:36 -08:00
Jimmy Shih 087b3b0e69 update manifest for version 1.1.15 2012-02-09 10:08:51 -08:00
Jimmy Shih 9d02d4ed67 Fix bug with invalidate auth token. Need to pass in account type, not
auth token type.
2012-02-08 19:51:41 -08:00
Jimmy Shih c4d5471c9b Added tag v1.1.14 for changeset 119d28cee019 2012-02-07 10:17:37 -08:00
Jimmy Shih a5645036ae update strings.xml 2012-02-07 10:16:49 -08:00
Jimmy Shih ec57495481 Update strings.xml in all the locales. 2012-02-06 10:47:40 -08:00
Jimmy Shih 79a86769ee fix eclipse warnings 2012-02-06 10:27:58 -08:00
Jimmy Shih 5f97aa4b99 merge heads 2012-02-06 10:19:43 -08:00
Jimmy Shih 102aabcc95 Fix comment for 490b8ae75c7a 2012-02-06 10:17:17 -08:00
Jimmy Shih cc28fdb65b merge heads 2012-02-06 10:12:13 -08:00
Jimmy Shih 9065992cd7 merge heads 2012-02-06 09:53:53 -08:00
Jimmy Shih cdf2cc8e81 Fix comment on 9984a731b84b 2012-02-06 09:51:41 -08:00
Jimmy Shih 6f5c1aec2c Merge from main. 2012-02-06 09:44:01 -08:00
Rodrigo Damazio ad8a9d2099 Merging heads 2012-02-06 10:38:38 -02:00
Rodrigo Damazio 00540bcfcc Addressing review comments for the search functionality. 2012-02-06 10:37:26 -02:00
ml1050 fc12c1f29e fix comments for da7d78b18f25 2012-02-06 13:22:50 +01:00
jshih 45dc512f01 Set waypoint icon based on the waypoint type.
Only consider valid waypoints. E.g., the first waypoint of a track
contains stats for the whole track, thus should not show up on the
search result.
2012-02-03 21:24:12 -08:00
Jimmy Shih 0691875f06 merge heads 2012-02-03 17:17:12 -08:00
Jimmy Shih c320d16af4 Move checking for service permission at AccountChooserActivity. 2012-02-03 16:41:06 -08:00
ml1050 d105c58309 Use a reference count with SensorManagers created by SensorManagerFactory 2012-02-04 00:47:55 +01:00
Jimmy Shih 55fd48d2dd When an activity starts, prompts the user (if necessary) for permission
to access the service.
2012-02-03 12:55:52 -08:00
youtaol 8c65aeec88 Add test case for ChartSettingsDialog 2012-02-03 20:34:53 +08:00
youtaol 7749c2600a Add test case for BootReceiver. 2012-02-03 20:26:44 +08:00
youtaol 79b3a71d15 Change the way to format setting string. 2012-02-03 20:20:24 +08:00
youtaol c4bddfd6f4 Make changes in DynamicSpeedTrackPathDescriptor :
Add field: CriticalDifference
Add helper method isDifferenceSignificant to test needsRedraw
Add getSpeedMargin,setAverageMovingSpeed getAverageMovingSpeed methods
Change some code style of DynamicSpeedTrackPathDescriptor

Add test cases for FixedSpeedTrackPathDescriptor and DynamicSpeedTrackPathDescriptor
2012-02-03 20:13:29 +08:00
ml1050 073c8a3c98 avoid null pointer exception in a race condition 2012-02-02 23:53:26 +01:00
Jimmy Shih b653e8d059 Fix elevation chart not showing distance correctly.
Use TripStatisticsBuilder to keep track of distance.
Also include the first and the last elevation.
2012-02-02 14:07:02 -08:00
Rodrigo Damazio 71bb550b1f Showing a message when no search results are found. 2012-02-02 03:04:21 -02:00
Rodrigo Damazio 19f1853426 Improving the search results UI. 2012-02-02 02:29:12 -02:00
Jimmy Shih 3b5fba9b52 merge heads 2012-02-01 17:55:01 -08:00
Jimmy Shih 89c9ad0612 Let the SettingsActivity display the confirmation dialogs.
Thus can handle screen rotation.

Rename EulaUtil.java to EulaUtils.java.
2012-02-01 17:35:40 -08:00
Jimmy Shih e4a62b4db8 merge heads 2012-02-01 13:44:50 -08:00
Jimmy Shih 1b3eaeb755 fix comment for af2bc2c67bd2 2012-02-01 13:42:51 -08:00
Jimmy Shih b4573fdc23 In TripStatistics, return 0 for average speed and moving speed
when the denominator is zero.

Use "1000.0" when getting a double by dividing by 1000.
2012-02-01 12:57:04 -08:00
Jimmy Shih 2acfef5d33 Fix the copyright year in the terms of service page. 2012-02-01 10:39:57 -08:00
Jimmy Shih 40d611b2f4 Add WRITE_EXTERNAL_STORAGE permission to the AndroidManifest. 2012-02-01 10:07:29 -08:00
ml1050 ae24966c42 added a VisibleForTesting comment 2012-01-31 20:36:56 +01:00
Jimmy Shih 342b214fd5 sync from main 2012-01-30 14:39:05 -08:00
Jimmy Shih 8c74fa74c1 Prepare release 1.1.14.
Update AndroidManifest
Update strings.xml in other locales
2012-01-30 14:35:38 -08:00
Jimmy Shih 4c552b4e24 clean up strings.xml
- sort alphabetically
- remove trailing whitespaces
2012-01-30 14:16:29 -08:00
Jimmy Shih 089cb06680 Move common Send to Google code into abstract classes.
Remove jshih@google.com in the @author field.
2012-01-30 13:28:00 -08:00
Jimmy Shih f20911ee2e sync from main 2012-01-30 10:16:16 -08:00
Jimmy Shih 041544573f Should have been part of 15e132de0291 2012-01-30 10:15:18 -08:00
Jimmy Shih 29615a3f0d merge heads 2012-01-30 09:59:09 -08:00
ml1050 256a6c6ee7 fix comments for 201f8f6de473 2012-01-30 13:41:54 +01:00
Jimmy Shih 62c40575c9 Clean up Send to Google code.
Remove SendActivity and SendType.
Pass SendRequest from one activity to the next.
2012-01-29 16:47:36 -08:00
Jimmy Shih acf2a4bee2 sync from main 2012-01-28 16:16:44 -08:00
Jimmy Shih 6bb87e1db9 merge heads 2012-01-28 16:13:12 -08:00
Jimmy Shih 5f99083747 Fix comments for 4a7e14e5837e 2012-01-28 16:03:40 -08:00
Rodrigo Damazio 22e9687aff Merge to head 2012-01-28 00:00:48 -02:00
Jimmy Shih aaceb86ba9 Organize files for Send to Google
move gdata files to
io/gdata
io/gdata/docs
io/gdata/maps

move fusion table code to
io/fusiontables
2012-01-27 16:50:33 -08:00
Jimmy Shih da013e9d51 Clean up ApiAdapter now that we only support API 7 or greater.
- rename ApiLevelAdapter to ApiAdapter
- rename ApiFeatures to ApiAdapterFactory
2012-01-27 15:51:43 -08:00
Jimmy Shih 8aa06c7128 merge heads 2012-01-27 12:39:09 -08:00
Jimmy Shih 1b27ff0d95 Fix comment for 4560c4d93a5b. 2012-01-27 12:37:35 -08:00
Jimmy Shih 9c54cc0e86 Fix unit test breakage in TrackWriterTest. 2012-01-26 16:27:14 -08:00
Jimmy Shih ffee51cee8 Use an Async Task to send a track to Google Maps. 2012-01-26 13:20:48 -08:00
ml1050 859248acde SensorEventCounterTest added; AntDirectSensorManagerTest udpated 2012-01-26 12:46:27 +01:00
Rodrigo Damazio 11972297b0 Merge to head 2012-01-25 21:01:57 -02:00
Rodrigo Damazio 8c17c6b2d9 Fixing some search issues caught by the tests:
- if the results contained a track and a waypoint with the same ID, one would be missing from results
- disregarding very old timestamps
- Moved lowercasing of the query inside the search engine
2012-01-25 20:43:54 -02:00
Rodrigo Damazio 2ac6d5d07b Adding tests for the search functionality. 2012-01-25 20:42:49 -02:00
Jimmy Shih 87c2a8fd3e Fixed comments for 68f1788b686b.
Also fixed:
- In ChooseMapActivity and SendFusionTablesActivity, check that the intent
inputs are valid.
- In ChooseMapAsyncTask, close the GDataParser in the finally block.
- In SendFusionTablesAsyncTask, check that a segment has more than 2
  points and that the segment stop time is set in prepareTrackSegment.
2012-01-25 13:20:45 -08:00
Jimmy Shih 2a5f3e6afd sync from main 2012-01-25 11:22:50 -08:00
Jimmy Shih 8472dbb195 Fix comments on aa970ad1da92.
Additional fixes:
- In SendDocsAsyncTask, check that the activity is not null before
using it.
- In SendDocsUtils, close the GDataParser in the finally block.
- When catching an exception, always log it.
2012-01-25 10:41:38 -08:00
Jimmy Shih 15ff1998cb Update the code to choose a Google Map by using
an AsyncTask to perform the network request.
2012-01-24 18:24:04 -08:00
Jimmy Shih f682f347d5 Update Send to Google Docs code to use an activity
to show progress bar and an AysncTask to send
to Google Docs.

Future plan:
Plan to place common code across SendDocs, SendFusionTables,
and SendMaps in abstract classes.
2012-01-24 10:13:04 -08:00
ml1050 625d0704bc s/SensorDataProcessor/SensorEventCounter/ 2012-01-23 23:27:20 +01:00
ml1050 faa4ddd98f member functions moved around 2012-01-23 23:12:04 +01:00
ml1050 e5885da82c explicit cap introduced for the history + displayedValue and getValue renamed 2012-01-23 23:03:27 +01:00
ml1050 efa2f3f1d5 more comments and cleanups. outdated tests are commented out temporarily 2012-01-22 22:49:12 +01:00
ml1050 b0afea35ee added more comments + minor refactoring 2012-01-21 21:35:58 +01:00
Jimmy Shih 9207600130 Merge heads 2012-01-20 15:31:06 -08:00
Jimmy Shih 81a9483f76 Fix comment forfd49d88ec658. 2012-01-20 15:03:21 -08:00
Jimmy Shih 3cf1bebe07 Fix comments for fd49d88ec658.
Also fixed the following:
in uploadAllTrackPoints, introduce a "readCount" variable
rather than using the zero based index "i".

in prepareAndUploadPoints, add a lastBatch parameter
so can include the (Part 1) marker if there is more than
one segment.

in prepareTrackSegment, set a new segment's stop time
to the last location's time.
2012-01-20 12:51:48 -08:00
Rodrigo Damazio df775eeb2d Addressed review suggestions. 2012-01-20 18:13:35 -02:00
ml1050 bee9f46eaf inner classes moved to their own files 2012-01-20 18:06:30 +01:00
ml1050 8afc6b4c04 cosmetic cleanups
renames for better legibility
added some bound checks
2012-01-20 13:53:30 +01:00
Jimmy Shih 152b77b01c Update the support url.
Update the minSdkVersion to 7.
2012-01-19 12:26:08 -08:00
Jimmy Shih 822d1c3eb9 Sync from main. https://mytracks.googlecode.com/hg 2012-01-19 10:51:07 -08:00
Jimmy Shih aa7fb772a0 Fix comments on 5f0afb81a4d6
Remove SendResult.java. Should have been part of this CL.
Fix a bug. Should be UploadResultActivity.FUSION_TABLES_URL.
2012-01-19 09:41:43 -08:00
youtaol 6ccff0697f Add test case for AntPreference, and add a static constant in AntPreference
----------------
2012-01-19 12:31:16 +08:00
Jimmy Shih e23c2bcfb2 Fix comments on 5f0afb81a4d6 2012-01-18 17:16:57 -08:00
Jimmy Shih 1ef6026134 Use an activity for showing the progress dialog
to send to Google Fusion Tables.
Use an AsyncTask to send a track to Google Fusion Tables.

Fix bugs with retry logic, screen rotation, sending
results back to SendActivity.
2012-01-18 16:35:43 -08:00
ml1050 93d702990a ANT+ cadence and cadence+speed sensor support added 2012-01-18 13:03:28 +01:00
Rodrigo Damazio 86ccb76a2b ICS UI: Moving per-tab menu items to the MenuManager.
This will make more sense once tabs are fragments instead of activities.
2012-01-16 03:34:45 -02:00
Rodrigo Damazio 23c2dad9d1 ICS UI: Showing the action bar 2012-01-16 02:26:40 -02:00
Jimmy Shih d3216b0520 Add a UploadResultActivity to better support
screen rotation.
2012-01-13 13:09:56 -08:00
Jimmy Shih feac34ca32 Fix comment for 72858c5628e1 2012-01-13 09:42:51 -08:00
Jimmy Shih 4a0a2a8856 Create an AccountChooserActivity to choose an account.
Benefits of the refactor:
- can support screen rotation when choosing an account
- reduce complexity in SendActivity

Also change the minSdkVersion to 7 so that
- in AccountChooserActivity, can just use the Android AccountManager
- in SendActivity, can use Account
- in SendActivity, can remove the Constants.GET_LOGIN callback
  from the legacy AuthManager (AuthManagerOld)
2012-01-12 12:54:42 -08:00
Jimmy Shih 8f72c36351 When screen rotates, another activity is shown on the foreground.
Thus onPause, need to remove the dialog to prevent the activity
from leaking the dialog window.
2012-01-11 11:23:22 -08:00
Jimmy Shih dc019cd58d Fix comments for c2b1dec90642 2012-01-11 10:06:55 -08:00
Jimmy Shih 9feb097d11 Create a ServicePickerActivity to allow users
to pick the Google services to send a track to.

Benefits of the refactor:
- ServicePickerActivity can easily handle screen rotation
- Reduce complexity in SendActivity
2012-01-10 15:16:24 -08:00
Rodrigo Damazio dad0befca4 Addressed review suggestions and moved lat/long logic to the TripStatistics class. 2012-01-10 16:27:41 -02:00
Jimmy Shih c013db29bc Fix a typo for b287683b8500 2012-01-10 09:36:53 -08:00
Jimmy Shih 4b33e94707 Fix comment b287683b8500 2012-01-09 15:54:19 -08:00
Jimmy Shih 362dcda90c Fix comment for b287683b8500 2012-01-09 14:28:11 -08:00
Jimmy Shih 43cf0659fd Add support to choose the ISO 8601 date format as the default track name.
Note using the "yyyy-MM-dd HH:mm" format so it is readable
for users. However, the colon, ":", is not a valid
FAT32 filename character. So when saving to the SD card,
the filename becomes "yyyy-MM-dd HH_mm".
2012-01-09 12:50:53 -08:00
Jimmy Shih 88c4e0e499 merge 2012-01-09 09:39:21 -08:00
Jimmy Shih aed9248b35 Fix comments for af72371db217 2012-01-06 16:06:12 -08:00
Jimmy Shih c03f2a9adb Change the marketing message to include Google+. 2012-01-06 14:52:22 -08:00
Jimmy Shih 9e6e4bc5af Code cleanup. Rename My Maps to Maps.
Did a case insentive search and replacement for
mymap
my_map
my map
2012-01-06 14:24:26 -08:00
Rodrigo Damazio 83af7a30d8 Addressing suggestion from cbbb34be8b54 2012-01-06 04:43:25 -02:00
Rodrigo Damazio 8000d51caf Adding search suggestions 2012-01-06 04:39:07 -02:00
Rodrigo Damazio 96d740db64 Adressing many TODOs and improving documentation of the search engine. 2012-01-06 04:38:54 -02:00
Rodrigo Damazio ff15031113 Breaking down SearchActivity into display and search logic pieces. 2012-01-06 03:25:51 -02:00
Jimmy Shih 4e9fa91f27 Code cleanup. Use Menu.NONE constant when we don't care about
the groupId or the order.
2012-01-05 18:39:20 -08:00
Rodrigo Damazio 870c5d723c Providing a Search menu option in TrackList and WaypointList, for devices that don't have a search key. 2012-01-05 22:17:31 -02:00
Rodrigo Damazio 254a1d59ac Selecting a waypoint from the search screen will now show it. 2012-01-05 21:47:32 -02:00
Rodrigo Damazio ce05f5b22a Android Lint: fixing invalid height inside a ScrollView. 2012-01-05 21:18:15 -02:00
Rodrigo Damazio b2eb50732e Android Lint: fixing invalid height inside a ScrollView. 2012-01-05 21:18:15 -02:00
Rodrigo Damazio 35395926ff Android Lint: customizing the warnings:
- typography warnings should be just informational (too many of them)
- unused IDs/resources make no sense for the library project
- layout errors should be errors
2012-01-05 21:12:00 -02:00
Rodrigo Damazio e77a685b50 Android Lint: customizing the warnings:
- typography warnings should be just informational (too many of them)
- unused IDs/resources make no sense for the library project
- layout errors should be errors
2012-01-05 21:12:00 -02:00
Rodrigo Damazio ee9a19d788 Android Lint: reordering manifest so requirements come before the application. 2012-01-05 21:02:07 -02:00
Rodrigo Damazio 5cb0752645 Merge to head 2012-01-05 22:23:56 -02:00
Jimmy Shih 26a41e0afc sync from main 2012-01-05 15:37:55 -08:00
Rodrigo Damazio d2ea6dfe8d Android Lint: reordering manifest so requirements come before the application. 2012-01-05 21:02:07 -02:00
Rodrigo Damazio 46b027108c Also updating mocked class libraries to API level 15 2012-01-05 20:35:45 -02:00
Rodrigo Damazio 9afd415e3f Also updating mocked class libraries to API level 15 2012-01-05 20:35:45 -02:00
Jimmy Shih bb989dbc4c Fix file sanitization so that it supports unicode characters.
Replace invalid characters with "_" to make it easier to parse.
2012-01-05 13:56:20 -08:00
Rodrigo Damazio 50095ad044 Fixing showing of waypoints 2012-01-05 19:42:06 -02:00
Jimmy Shih 23ca7bd05e merge heads 2012-01-04 17:17:41 -08:00
Jimmy Shih f38c4ab242 Display date and time based on phone's preferences.
In StringsUtils, add formatDateTime, formatTime, formatElapsedTime.

Note that verified when sending to Google Docs, no longer need
to always show the hours when displaying total time and moving time.
2012-01-04 16:39:53 -08:00
Jimmy Shih 966f661dce In the "Share with friends" menu options, split the
"Map or Fusion Table URL" option into
"Map" and "Fusion Table" options.

- make SendType implements Parcelable so can pass it in an Intent.
2012-01-04 13:44:20 -08:00
Jimmy Shih 8db6f5b569 Support long app name in the about page.
- change from a TableLayout to a LinearLayout
- use layout_gravity="center_vertical" to vertically align the icon.
2012-01-03 17:28:43 -08:00
Jimmy Shih c0aabcfa5a Fixe escaping from the translation console. Change "&amp;gt;" to ">" 2012-01-03 15:42:10 -08:00
Jimmy Shih 235fd16e5a Support multiple lines on Send to Google CheckBox and RadioButtons
- Center align the CheckBox to the ImageView
- Note that to support line wrapping inside a TableLayout, need to
set the layout_width to 0dp.
2012-01-03 14:47:54 -08:00
Rodrigo Damazio 5a3bcfa51a Adressing comments from f11312d2fdc6 2012-01-03 05:33:00 -02:00
Rodrigo Damazio c3912042e9 Merge to head 2012-01-02 19:03:07 -02:00
Rodrigo Damazio cfbb1b1634 Updating to API level 15.
Main justification: the SDK for level 15 comes with the source to the core libraries, making debugging much easier.
2012-01-02 18:53:44 -02:00
Jimmy Shih 40d0eed281 Fix issue 702.
Add meaureWithLargestChild on the Button linear layout.
Change dip to dp
Change text to sp.
2011-12-23 14:23:50 -08:00
Jimmy Shih 5e52552a0c Added tag v1.1.13 for changeset 431cbbc21684 2011-12-23 09:41:15 -08:00
Rodrigo Damazio 1bd6e53f04 Addressing review suggestions for fusion tables upload warning. 2011-12-06 17:49:08 -02:00
Rodrigo Damazio bcba6dfe5d Fixed fusion tables upload warning - previously, it assumed all queries would be table-creation queries. 2011-12-06 17:20:48 -02:00
Rodrigo Damazio ebe8cbc798 Merge to head 2011-12-06 16:34:48 -02:00
Rodrigo Damazio bb3a14aac0 Initial version of track search. (still lots of TODOs, but works) 2011-11-20 22:50:59 -02:00
1013 changed files with 69631 additions and 57784 deletions
+26
View File
@@ -0,0 +1,26 @@
---
name: Bug report
about: Report issues of Opentracks features
title: ''
labels: potential bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
If applicable:
* add screenshots
* add logcat output
**Technical information**
- Device: [e.g. Nexus 7 (2013)]
- OS: [e.g. LineageOS 15.1]
- Version [e.g. v3.2.4]
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for OpenTracks
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+80
View File
@@ -0,0 +1,80 @@
# Built application files
*.apk
*.ap_
# Files for the ART/Dalvik VM
*.dex
# Java class files
*.class
# Generated files
bin/
gen/
out/
release/
# Gradle files
.gradle/
build/
# Local configuration file (sdk path, etc)
local.properties
# Proguard folder generated by Eclipse
proguard/
# Log Files
*.log
# Android Studio Navigation editor temp files
.navigation/
# Android Studio captures folder
captures/
# IntelliJ
*.iml
.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
.idea/assetWizardSettings.xml
.idea/dictionaries
.idea/libraries
.idea/caches
# IntelliJ IDEA
*.iml
*.iws
/out/
# User-specific configurations
.idea/.name
.idea/assetWizardSettings.xml
.idea/caches/
.idea/compiler.xml
.idea/copyright/profiles_settings.xml
.idea/dataSources.ids
.idea/datasources.xml
.idea/dictionaries
.idea/dynamic.xml
.idea/encodings.xml
.idea/jsLibraryMappings.xml
.idea/libraries/
.idea/misc.xml
.idea/modules.xml
.idea/scopes/scope_settings.xml
.idea/shelf/
.idea/sqlDataSources.xml
.idea/tasks.xml
.idea/vcs.xml
.idea/uiDesigner.xml
.idea/workspace.xml
# Keystore files
# Uncomment the following line if you do not want to check your keystore files in.
#*.jks
# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
-11
View File
@@ -1,11 +0,0 @@
syntax:glob
*/bin
*/gen/**
*/proguard/**
.metadata
MyTracksTest/AnnotationProcessor.log
**/*.pyc
**/*.pyo
syntax: glob
MyTracksTest/hs_err_pid*.log
+116
View File
@@ -0,0 +1,116 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<codeStyleSettings language="XML">
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:android</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:id</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>style</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>ANDROID_ATTRIBUTE_ORDER</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>.*</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
</code_scheme>
</component>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
</project>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>
Generated
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
+45
View File
@@ -0,0 +1,45 @@
#See https://docs.travis-ci.com/user/languages/android/
#See https://github.com/ankidroid/Anki-Android/blob/master/.travis.yml
language: android
env:
global:
- ADB_INSTALL_TIMEOUT=8
- ABI=armeabi-v7a
- EMU_FLAVOR=default
# PATH order is incredibly important. e.g. the 'emulator' script exists in more than one place!
- ANDROID_HOME=/usr/local/android-sdk
- TOOLS=${ANDROID_HOME}/tools
- PATH=${ANDROID_HOME}:${ANDROID_HOME}/emulator:${TOOLS}:${TOOLS}/bin:${ANDROID_HOME}/platform-tools:${PATH}
matrix:
- API=27 ABI=x86_64
android:
components:
# installing tools to start, then use `sdkmanager` below to get the rest
- tools
- build-tools-28.0.3
- android-28
# Emulator Management: Create, Start and Wait
install:
- echo y | sdkmanager "platform-tools"
- echo y | sdkmanager --channel=4 "emulator"
- echo y | sdkmanager "system-images;android-$API;$EMU_FLAVOR;$ABI"
- echo no | avdmanager create avd --force -n test -k "system-images;android-$API;$EMU_FLAVOR;$ABI" -c 10M
- emulator -verbose -avd test -no-accel -no-snapshot -no-window -camera-back none -camera-front none -selinux permissive -qemu -m 2048 &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- ./gradlew clean build
- ./gradlew connectedCheck
sbefore_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
+16
View File
@@ -0,0 +1,16 @@
# OpenTrack: Developer information
## Create releases for FDroid
1. Get next _version code_ (master branch): `git rev-list HEAD --count master`
2. Decide on _version name_ (semantic versioning)
3. Manually update _version code_ and _version name_ in `AndroidManifest.xml` (used by FDroid)
4. Create changelog (`_version code_.txt`)
5. Create commit with all changes
6. Tag newly create commit with _version name_ (e.g., v3.2.1)
7. Push commits and tags to public repository
8. Add changelog to tag (Github releases)
## Translations (localization)
Translations of the OpenTracks are handled in Transifex: [https://www.transifex.com/opentracks](https://www.transifex.com/opentracks/).
+194
View File
@@ -0,0 +1,194 @@
Apache License
==============
_Version 2.0, January 2004_
_&lt;<http://www.apache.org/licenses/>&gt;_
### Terms and Conditions for use, reproduction, and distribution
#### 1. Definitions
“License” shall mean the terms and conditions for use, reproduction, and
distribution as defined by Sections 1 through 9 of this document.
“Licensor” shall mean the copyright owner or entity authorized by the copyright
owner that is granting the License.
“Legal Entity” shall mean the union of the acting entity and all other entities
that control, are controlled by, or are under common control with that entity.
For the purposes of this definition, “control” means **(i)** the power, direct or
indirect, to cause the direction or management of such entity, whether by
contract or otherwise, or **(ii)** ownership of fifty percent (50%) or more of the
outstanding shares, or **(iii)** beneficial ownership of such entity.
“You” (or “Your”) shall mean an individual or Legal Entity exercising
permissions granted by this License.
“Source” form shall mean the preferred form for making modifications, including
but not limited to software source code, documentation source, and configuration
files.
“Object” form shall mean any form resulting from mechanical transformation or
translation of a Source form, including but not limited to compiled object code,
generated documentation, and conversions to other media types.
“Work” shall mean the work of authorship, whether in Source or Object form, made
available under the License, as indicated by a copyright notice that is included
in or attached to the work (an example is provided in the Appendix below).
“Derivative Works” shall mean any work, whether in Source or Object form, that
is based on (or derived from) the Work and for which the editorial revisions,
annotations, elaborations, or other modifications represent, as a whole, an
original work of authorship. For the purposes of this License, Derivative Works
shall not include works that remain separable from, or merely link (or bind by
name) to the interfaces of, the Work and Derivative Works thereof.
“Contribution” shall mean any work of authorship, including the original version
of the Work and any modifications or additions to that Work or Derivative Works
thereof, that is intentionally submitted to Licensor for inclusion in the Work
by the copyright owner or by an individual or Legal Entity authorized to submit
on behalf of the copyright owner. For the purposes of this definition,
“submitted” means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems, and
issue tracking systems that are managed by, or on behalf of, the Licensor for
the purpose of discussing and improving the Work, but excluding communication
that is conspicuously marked or otherwise designated in writing by the copyright
owner as “Not a Contribution.”
“Contributor” shall mean Licensor and any individual or Legal Entity on behalf
of whom a Contribution has been received by Licensor and subsequently
incorporated within the Work.
#### 2. Grant of Copyright License
Subject to the terms and conditions of this License, each Contributor hereby
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
irrevocable copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the Work and such
Derivative Works in Source or Object form.
#### 3. Grant of Patent License
Subject to the terms and conditions of this License, each Contributor hereby
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
irrevocable (except as stated in this section) patent license to make, have
made, use, offer to sell, sell, import, and otherwise transfer the Work, where
such license applies only to those patent claims licensable by such Contributor
that are necessarily infringed by their Contribution(s) alone or by combination
of their Contribution(s) with the Work to which such Contribution(s) was
submitted. If You institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
Contribution incorporated within the Work constitutes direct or contributory
patent infringement, then any patent licenses granted to You under this License
for that Work shall terminate as of the date such litigation is filed.
#### 4. Redistribution
You may reproduce and distribute copies of the Work or Derivative Works thereof
in any medium, with or without modifications, and in Source or Object form,
provided that You meet the following conditions:
* **(a)** You must give any other recipients of the Work or Derivative Works a copy of
this License; and
* **(b)** You must cause any modified files to carry prominent notices stating that You
changed the files; and
* **(c)** You must retain, in the Source form of any Derivative Works that You distribute,
all copyright, patent, trademark, and attribution notices from the Source form
of the Work, excluding those notices that do not pertain to any part of the
Derivative Works; and
* **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any
Derivative Works that You distribute must include a readable copy of the
attribution notices contained within such NOTICE file, excluding those notices
that do not pertain to any part of the Derivative Works, in at least one of the
following places: within a NOTICE text file distributed as part of the
Derivative Works; within the Source form or documentation, if provided along
with the Derivative Works; or, within a display generated by the Derivative
Works, if and wherever such third-party notices normally appear. The contents of
the NOTICE file are for informational purposes only and do not modify the
License. You may add Your own attribution notices within Derivative Works that
You distribute, alongside or as an addendum to the NOTICE text from the Work,
provided that such additional attribution notices cannot be construed as
modifying the License.
You may add Your own copyright statement to Your modifications and may provide
additional or different license terms and conditions for use, reproduction, or
distribution of Your modifications, or for any such Derivative Works as a whole,
provided Your use, reproduction, and distribution of the Work otherwise complies
with the conditions stated in this License.
#### 5. Submission of Contributions
Unless You explicitly state otherwise, any Contribution intentionally submitted
for inclusion in the Work by You to the Licensor shall be under the terms and
conditions of this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify the terms of
any separate license agreement you may have executed with Licensor regarding
such Contributions.
#### 6. Trademarks
This License does not grant permission to use the trade names, trademarks,
service marks, or product names of the Licensor, except as required for
reasonable and customary use in describing the origin of the Work and
reproducing the content of the NOTICE file.
#### 7. Disclaimer of Warranty
Unless required by applicable law or agreed to in writing, Licensor provides the
Work (and each Contributor provides its Contributions) on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
including, without limitation, any warranties or conditions of TITLE,
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
solely responsible for determining the appropriateness of using or
redistributing the Work and assume any risks associated with Your exercise of
permissions under this License.
#### 8. Limitation of Liability
In no event and under no legal theory, whether in tort (including negligence),
contract, or otherwise, unless required by applicable law (such as deliberate
and grossly negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special, incidental,
or consequential damages of any character arising as a result of this License or
out of the use or inability to use the Work (including but not limited to
damages for loss of goodwill, work stoppage, computer failure or malfunction, or
any and all other commercial damages or losses), even if such Contributor has
been advised of the possibility of such damages.
#### 9. Accepting Warranty or Additional Liability
While redistributing the Work or Derivative Works thereof, You may choose to
offer, and charge a fee for, acceptance of support, warranty, indemnity, or
other liability obligations and/or rights consistent with this License. However,
in accepting such obligations, You may act only on Your own behalf and on Your
sole responsibility, not on behalf of any other Contributor, and only if You
agree to indemnify, defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason of your
accepting any such warranty or additional liability.
_END OF TERMS AND CONDITIONS_
### APPENDIX: How to apply the Apache License to your work
To apply the Apache License to your work, attach the following boilerplate
notice, with the fields enclosed by brackets `[]` replaced with your own
identifying information. (Don't include the brackets!) The text should be
enclosed in the appropriate comment syntax for the file format. We also
recommend that a file or class name and description of purpose be included on
the same “printed page” as the copyright notice for easier identification within
third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-21
View File
@@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="lib" path="libs/googleloginclient-helper.jar"/>
<classpathentry exported="true" kind="lib" path="libs/google-common.jar"/>
<classpathentry kind="lib" path="libs/libGoogleAnalytics.jar"/>
<classpathentry kind="lib" path="libs/google-api-client/commons-codec-1.3.jar"/>
<classpathentry exported="true" kind="lib" path="libs/google-api-client/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="libs/google-api-client/google-api-client-1.5.0-beta.jar"/>
<classpathentry kind="lib" path="libs/google-api-client/google-http-client-1.5.0-beta.jar"/>
<classpathentry kind="lib" path="libs/google-api-client/google-oauth-client-1.5.0-beta.jar"/>
<classpathentry kind="lib" path="libs/google-api-client/gson-1.6.jar"/>
<classpathentry kind="lib" path="libs/google-api-client/guava-r09.jar"/>
<classpathentry kind="lib" path="libs/google-api-client/jackson-core-asl-1.6.7.jar"/>
<classpathentry kind="lib" path="libs/google-api-client/jsr305-1.3.9.jar"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="lib" path="/MyTracksLib/libs/protobuf-java-2.3.0-lite.jar"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
-34
View File
@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MyTracks</name>
<comment></comment>
<projects>
<project>MyTracksLib</project>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
@@ -1,357 +0,0 @@
#Fri Oct 21 20:06:28 BRST 2011
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
org.eclipse.jdt.core.compiler.problem.deadCode=warning
org.eclipse.jdt.core.compiler.problem.deprecation=warning
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
org.eclipse.jdt.core.compiler.problem.fieldHiding=warning
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
org.eclipse.jdt.core.compiler.problem.nullReference=warning
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning
org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
org.eclipse.jdt.core.compiler.problem.unusedImport=warning
org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameter=warning
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=disabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.source=1.6
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=48
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
org.eclipse.jdt.core.formatter.alignment_for_assignment=0
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=48
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=48
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
org.eclipse.jdt.core.formatter.blank_lines_after_package=1
org.eclipse.jdt.core.formatter.blank_lines_before_field=0
org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
org.eclipse.jdt.core.formatter.blank_lines_before_method=1
org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
org.eclipse.jdt.core.formatter.blank_lines_before_package=0
org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
org.eclipse.jdt.core.formatter.comment.format_block_comments=true
org.eclipse.jdt.core.formatter.comment.format_header=false
org.eclipse.jdt.core.formatter.comment.format_html=true
org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
org.eclipse.jdt.core.formatter.comment.format_line_comments=true
org.eclipse.jdt.core.formatter.comment.format_source_code=true
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert
org.eclipse.jdt.core.formatter.comment.line_length=80
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
org.eclipse.jdt.core.formatter.compact_else_if=true
org.eclipse.jdt.core.formatter.continuation_indentation=2
org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=true
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
org.eclipse.jdt.core.formatter.indent_empty_lines=false
org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
org.eclipse.jdt.core.formatter.indentation.size=4
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
org.eclipse.jdt.core.formatter.join_lines_in_comments=true
org.eclipse.jdt.core.formatter.join_wrapped_lines=true
org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=true
org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
org.eclipse.jdt.core.formatter.lineSplit=100
org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
org.eclipse.jdt.core.formatter.tabulation.char=space
org.eclipse.jdt.core.formatter.tabulation.size=2
org.eclipse.jdt.core.formatter.use_on_off_tags=false
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
@@ -1,61 +0,0 @@
#Thu Jul 21 03:04:13 BRT 2011
eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_MyTracks
formatter_settings_version=12
org.eclipse.jdt.ui.ignorelowercasenames=true
org.eclipse.jdt.ui.importorder=com;android;java;javax;org;
org.eclipse.jdt.ui.ondemandthreshold=99
org.eclipse.jdt.ui.staticondemandthreshold=99
sp_cleanup.add_default_serial_version_id=true
sp_cleanup.add_generated_serial_version_id=false
sp_cleanup.add_missing_annotations=true
sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=true
sp_cleanup.add_serial_version_id=false
sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false
sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.correct_indentation=false
sp_cleanup.format_source_code=false
sp_cleanup.format_source_code_changes_only=false
sp_cleanup.make_local_variable_final=false
sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true
sp_cleanup.make_type_abstract_if_missing_method=false
sp_cleanup.make_variable_declarations_final=true
sp_cleanup.never_use_blocks=false
sp_cleanup.never_use_parentheses_in_expressions=true
sp_cleanup.on_save_use_additional_actions=false
sp_cleanup.organize_imports=true
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
sp_cleanup.remove_private_constructors=true
sp_cleanup.remove_trailing_whitespaces=false
sp_cleanup.remove_trailing_whitespaces_all=true
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
sp_cleanup.remove_unnecessary_casts=true
sp_cleanup.remove_unnecessary_nls_tags=false
sp_cleanup.remove_unused_imports=false
sp_cleanup.remove_unused_local_variables=false
sp_cleanup.remove_unused_private_fields=true
sp_cleanup.remove_unused_private_members=false
sp_cleanup.remove_unused_private_methods=true
sp_cleanup.remove_unused_private_types=true
sp_cleanup.sort_members=false
sp_cleanup.sort_members_all=false
sp_cleanup.use_blocks=false
sp_cleanup.use_blocks_only_for_return_and_throw=false
sp_cleanup.use_parentheses_in_expressions=false
sp_cleanup.use_this_for_non_static_field_access=false
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
sp_cleanup.use_this_for_non_static_method_access=false
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
-274
View File
@@ -1,274 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.maps.mytracks"
android:installLocation="auto"
android:versionCode="36"
android:versionName="1.1.13">
<application android:icon="@drawable/arrow_icon"
android:label="@string/my_tracks_app_name"
android:name="com.google.android.apps.mytracks.MyTracksApplication"
android:backupAgent="com.google.android.apps.mytracks.io.backup.MyTracksBackupAgent">
<uses-library android:name="com.google.android.maps" />
<meta-data android:name="com.google.android.backup.api_key"
android:value="AEdPqrEAAAAIi-_QiwoRSc9_bAC9cmuNXTQyU8ajJmGtKdhskQ" />
<provider android:name="com.google.android.apps.mytracks.content.MyTracksProvider"
android:authorities="com.google.android.maps.mytracks"
android:exported="true"
android:readPermission="com.google.android.apps.mytracks.READ_TRACK_DATA"
android:writePermission="com.google.android.apps.mytracks.WRITE_TRACK_DATA" />
<activity android:name="com.google.android.apps.mytracks.MyTracks"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|fontScale">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="vnd.android.cursor.item/vnd.google.track" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.MapActivity"
android:exported="false">
<intent-filter>
<category android:name="android.intent.category.TAB" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.MyMapsList"
android:label="@string/my_maps_list_title"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|fontScale"
android:exported="false" />
<!-- TODO: VIEW and PICK for track cursor dir -->
<activity android:name="com.google.android.apps.mytracks.TrackList" />
<!-- TODO: VIEW and PICK for waypoint cursor dir -->
<activity android:name="com.google.android.apps.mytracks.WaypointsList" />
<activity android:name="com.google.android.apps.mytracks.TrackDetail"
android:label="@string/track_detail_title">
<intent-filter>
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="vnd.android.cursor.item/vnd.google.track" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.DeleteTrack"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:noHistory="true">
<intent-filter>
<action android:name="android.intent.action.DELETE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/vnd.google.track" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.WaypointDetails"
android:label="@string/marker_detail_title">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="vnd.android.cursor.item/vnd.google.waypoint" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.SettingsActivity"
android:label="@string/settings_title" >
<intent-filter>
<category android:name="android.intent.category.PREFERENCE" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.AggregatedStatsActivity"
android:label="@string/menu_aggregated_statistics" />
<activity android:name="com.google.android.apps.mytracks.StatsActivity"
android:exported="false">
<intent-filter>
<category android:name="android.intent.category.TAB" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.SensorStateActivity"
android:label="@string/menu_sensor_state" />
<activity android:name="com.google.android.apps.mytracks.ChartActivity"
android:exported="false">
<intent-filter>
<category android:name="android.intent.category.TAB" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.io.sendtogoogle.SendActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="vnd.android.cursor.item/vnd.google.track" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.io.file.SaveActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:noHistory="true">
<intent-filter>
<action android:name="android.intent.action.SAVE" />
<data android:mimeType="vnd.android.cursor.item/vnd.google.track" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.io.file.ImportActivity"
android:label="@string/my_tracks_importer"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:noHistory="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.ATTACH_DATA" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="file" />
<data android:mimeType="application/gpx+xml" />
<data android:mimeType="application/gpx" />
<data android:mimeType="application/vnd.google-earth.gpx" />
<data android:mimeType="application/vnd.google-earth.gpx+xml" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.WelcomeActivity"
android:label="@string/welcome_title"
android:exported="false" />
<service android:name="com.google.android.apps.mytracks.services.TrackRecordingService"
android:label="@string/my_tracks_recording_service"
android:icon="@drawable/arrow_320"
android:enabled="true"
android:exported="true"
android:permission="com.google.android.apps.mytracks.WRITE_TRACK_DATA" />
<service android:name="com.google.android.apps.mytracks.services.ControlRecordingService"
android:exported="false" />
<receiver android:name="com.google.android.apps.mytracks.BootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver android:name="com.google.android.apps.mytracks.widgets.TrackWidgetProvider">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="com.google.android.apps.mytracks.TRACK_STARTED" />
<action android:name="com.google.android.apps.mytracks.TRACK_STOPPED" />
</intent-filter>
<meta-data android:name="android.appwidget.provider"
android:resource="@xml/track_widget_info" />
</receiver>
</application>
<!-- Permissions to initialize service -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<!-- Permissions for recording tracks and showing maps -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="com.dsi.ant.permission.ANT" />
<uses-permission android:name="com.dsi.ant.permission.ANT_ADMIN" />
<!-- Permissions for uploading tracks -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.fusiontables" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.local" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.wise" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.writely" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<!-- Permissions for misc services -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- Exported permissions (for other apps to use our features) -->
<!-- Permission to get track start/end broadcasts -->
<permission android:name="com.google.android.apps.mytracks.TRACK_NOTIFICATIONS"
android:permissionGroup="android.permission-group.LOCATION"
android:label="@string/permission_notification_label"
android:description="@string/permission_notification_description"
android:protectionLevel="dangerous" />
<!-- Permission to read raw track data (points, etc.) -->
<permission android:name="com.google.android.apps.mytracks.READ_TRACK_DATA"
android:permissionGroup="android.permission-group.LOCATION"
android:label="@string/permission_read_label"
android:description="@string/permission_read_description"
android:protectionLevel="dangerous" />
<!-- Permission to write track data, either raw or by making service calls -->
<permission android:name="com.google.android.apps.mytracks.WRITE_TRACK_DATA"
android:permissionGroup="android.permission-group.LOCATION"
android:label="@string/permission_write_label"
android:description="@string/permission_write_description"
android:protectionLevel="dangerous" />
<!-- Permission to get MyTracks broadcasts. For internal MyTracks communication. -->
<permission android:name="com.google.android.apps.mytracks.MYTRACKS_NOTIFICATIONS"
android:permissionGroup="android.permission-group.LOCATION"
android:label="@string/permission_notification_label"
android:description="@string/permission_notification_label"
android:protectionLevel="signature" />
<!-- We read and write raw track data, obviously. -->
<uses-permission android:name="com.google.android.apps.mytracks.READ_TRACK_DATA" />
<uses-permission android:name="com.google.android.apps.mytracks.WRITE_TRACK_DATA" />
<uses-permission android:name="com.google.android.apps.mytracks.MYTRACKS_NOTIFICATIONS" />
<!-- Features required -->
<uses-feature android:name="android.hardware.location" android:required="true"/>
<uses-feature android:name="android.hardware.location.gps" android:required="true"/>
<!-- Features optional -->
<uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
<uses-feature android:name="android.hardware.faketouch" android:required="false"/>
<uses-feature android:name="android.hardware.location.network" android:required="false"/>
<uses-feature android:name="android.hardware.sensor.compass" android:required="false"/>
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<uses-feature android:name="android.hardware.telephony.gsm" android:required="false"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false"/>
<uses-sdk android:minSdkVersion="3"/>
<supports-screens
android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true" />
</manifest>
-24
View File
@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration type="com.android.ide.eclipse.adt.debug.LaunchConfigType">
<intAttribute key="com.android.ide.eclipse.adt.action" value="0"/>
<stringAttribute key="com.android.ide.eclipse.adt.commandline" value=""/>
<intAttribute key="com.android.ide.eclipse.adt.delay" value="0"/>
<booleanAttribute key="com.android.ide.eclipse.adt.nobootanim" value="false"/>
<intAttribute key="com.android.ide.eclipse.adt.speed" value="0"/>
<booleanAttribute key="com.android.ide.eclipse.adt.target" value="false"/>
<booleanAttribute key="com.android.ide.eclipse.adt.wipedata" value="false"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/MyTracks"/>
<listEntry value="/MyTracks/AndroidManifest.xml"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
<listEntry value="1"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ALLOW_TERMINATE" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="MyTracks"/>
</launchConfiguration>
-22
View File
@@ -1,22 +0,0 @@
The libraries contained here in binary format are licensed according to their
own licenses, which allow their usage for the My Tracks application. Any other
applications that wish to use these files should consult the appropriate
licenses or the JAR's authors.
google-api-client/
- see http://code.google.com/p/google-api-java-client/.
- contains Google API client library, google-api-client-1.5.0-beta.jar, and its
dependencies.
- google-api-client-1.5.0-beta.jar depends on protobuf-java-2.2.0.jar, however,
MyTracksLib already includes protobuf-java.2.3.0-lite.jar. Thus using the
newer version, protobuf-java.2.3.0-lite.jar.
- google-api-client-1.5.0-beta.jar also depends on xpp3-1.1.4c.jar, however,
some of its classes are already included in the android framework, thus not
including xpp3-1.1.4c.jar.
google-common.jar
googleloginclient-helper.jar
libGoogleAnalytics.jar
- see http://code.google.com/mobile/analytics/docs/.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-75
View File
@@ -1,75 +0,0 @@
-target 6
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
# Add the libraries, but ignore warnings about them
-libraryjars libs
-libraryjars ../MyTracksLib/libs
-dontwarn com.google.android.googleapps.**
-dontwarn com.android.common.**
-dontwarn com.google.android.gsf.**
-dontwarn org.codehaus.**
-dontwarn com.google.appengine.**
-dontwarn org.apache.avalon.framework.logger.**
-dontwarn org.apache.log.**
-dontwarn org.apache.log4j.**
-dontwarn javax.servlet.**
# Make our stack traces useful
# Line numbers will be correct, file names will be replaced by "MT" since the
# class name is enough to get the file name.
-renamesourcefileattribute MT
-keepattributes SourceFile,LineNumberTable
# Keep everything android references from XMLs
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.app.backup.BackupAgent
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService
-keepclasseswithmembernames class * {
native <methods>;
}
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
# Needed by google-api-client to keep generic types and @Key annotations accessed via reflection
-keepclassmembers class * {
@com.google.api.client.util.Key <fields>;
}
-keepattributes Signature,RuntimeVisibleAnnotations,AnnotationDefault
# Needed by Guava
-dontwarn sun.misc.Unsafe
# Keep services needed by ANT+ protocol
-keep public class com.dsi.ant.IAnt_6
-keep public class com.dsi.ant.IAnt
-keep public class com.dsi.ant.IServiceSettings
-15
View File
@@ -1,15 +0,0 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "ant.properties", and override values to adapt the script to your
# project structure.
# Indicates whether an apk should be generated for each density.
split.density=false
proguard.config=proguard.cfg
# Project target.
target=Google Inc.:Google APIs:14
android.library.reference.1=../MyTracksLib
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 676 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 810 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 694 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 725 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 805 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 707 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 974 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 913 B

Some files were not shown because too many files have changed in this diff Show More