Rodrigo Damazio
0a4bef4d9a
Fixing concurrent access to the content provider by making it have a single instance in the same process as the service.
2010-10-29 17:35:54 -02:00
Bartlomiej Niechwiej
a0f090a83a
Bug fixing and refactoring:
...
1) Make sure no one but service changes recordingTrackId (which is owned by it)
2) Cache sharedPreferences
3) Clear recordingTrackId if it doesn't correspond to a valid track or the service is not recording
4) More unit tests
2010-10-28 22:49:01 -07:00
Bartlomiej Niechwiej
dc8ee5943c
Merge with c10bc69662325f00bf166b783cc3ab1b78ccfed9
2010-10-28 20:48:01 -07:00
Bartlomiej Niechwiej
9132c36aa7
Use a test android:apiKey instead of the official one.
2010-10-28 20:47:42 -07:00
Sandor Dornbush
224c0d759f
Minor fixes noticed on first review.
2010-10-28 17:13:59 -07:00
Sandor Dornbush
ffcaca2db1
Refactor a few 100 lines of code out of the main Activity.
2010-10-28 17:08:59 -07:00
Sandor Dornbush
409fc4a43b
Address Bart's comments.
2010-10-28 15:07:01 -07:00
Sandor Dornbush
16968f3f2b
Fix copyright notice.
2010-10-28 14:50:03 -07:00
Sandor Dornbush
e3fd0dce21
Undo changes to the eclipse prefs.
2010-10-28 14:47:00 -07:00
Sandor Dornbush
53b6b6deca
Add tests to ChartValueSeries.
...
Also other minor fixes.
2010-10-28 14:43:31 -07:00
Rodrigo Damazio
26f47a50d0
Fixing issue 34: Not making voice announcements during a phone call
2010-10-27 03:07:17 -02:00
Bartlomiej Niechwiej
3cf77374c4
Fix merge.
2010-10-26 20:19:54 -07:00
Bartlomiej Niechwiej
a1129c3f0f
Merge with c58e4b8519d3ed6959a96192286b83aa1b77f6f3
2010-10-26 20:17:15 -07:00
Bartlomiej Niechwiej
2fe74603a3
Merge with 96ee47b2d8639a0cf62a387f3360640643fbeb0a
2010-10-26 20:14:41 -07:00
Bartlomiej Niechwiej
54d517363d
Merge with e34329d612571554d6424d5941dfad57e35612a0
2010-10-26 19:39:46 -07:00
Bartlomiej Niechwiej
948fe0c0e6
Merge with 68eb8dff3a87698ace057447dff40a07cf673f2e
2010-10-26 19:39:20 -07:00
Bartlomiej Niechwiej
dbd8e6c0e9
Merge with 5ed61c63ba59f4748231ea14bbbc222423d0b08a
2010-10-26 19:38:51 -07:00
Bartlomiej Niechwiej
02b5601933
Remove unnecessary log.
2010-10-26 19:32:24 -07:00
Sandor Dornbush
3ed40608a2
Merging from head.
2010-10-26 14:44:31 -07:00
Bartlomiej Niechwiej
36d7c2dd91
Allow to move the app to SD card (by default goes to internal storage). This is a frequently requested feature (based on market feedback).
2010-10-26 00:33:38 -07:00
Bartlomiej Niechwiej
fa7ef68851
Addressed Sandor's comments.
2010-10-25 22:35:38 -07:00
Matthew Simmons
f84877a4fc
Issue 86: Remove - from the list of disallowed characters for filenames.
2010-10-25 14:59:20 -04:00
Matthew Simmons
261fb62e24
Changed the default new track name from "track %d" to "date time", where "date"
...
is a short, locale-aware version of the track's start date, and "time" is the
track's start time.
2010-10-25 14:15:16 -04:00
Bartlomiej Niechwiej
48d8aa4cd8
Introduce an interface to decouple platform specific API from the classes that require it. Also:
...
1) Put the service into foreground to prevent from being killed by the system
2) Fix a bug the prevented MyTracks from running on pre-Eclair devices
2010-10-24 21:24:11 -07:00
Bartlomiej Niechwiej
95ff0d3db6
Fix a typo in shared preferences and minor cleanup.
2010-10-24 18:55:35 -07:00
Bartlomiej Niechwiej
2dc1d914c0
Several fixes to the service and more test coverage.
...
Notably:
1) Fixed isRecording to not return false if service is down (for instance, it may be being restarted)
2) Added more checks to prevent from invalid starting/stopping (if in already in progress/not started).
2010-10-24 14:16:43 -07:00
Bartlomiej Niechwiej
fc06701009
Fix several bugs and clean up statistics management.
...
1) Decouple clock from TripStatisticsBuilder.
2) Introduce a new param to constructor to automatically resume at given time
3) Fix various statsbuilder initialization issues in the service (wrong order, missing initialization)
2010-10-24 03:30:58 -07:00
Bartlomiej Niechwiej
ee4f334296
Fixed a NPE under certain circumstances (move initialization to onCreate()).
2010-10-24 03:26:32 -07:00
Bartlomiej Niechwiej
cac2395237
More unit tests for TracksRecordingService and fix a few bugs. Made the service less forgiving rather than silently ignoring invalid state.
2010-10-24 00:48:53 -07:00
Bartlomiej Niechwiej
5afc3f13cf
Minor refactoring: remove dependency on Context and replace it with ContentResolver.
2010-10-23 19:04:57 -07:00
Rodrigo Damazio
9030917c14
Merging Bart's changes.
2010-10-22 15:34:24 -02:00
Bartlomiej Niechwiej
9905def352
Terminate tracker update thread on destroy.
2010-10-22 10:14:36 -07:00
Bartlomiej Niechwiej
a3793aa92b
Minor updates.
2010-10-22 10:00:15 -07:00
Nulled
76c8498956
updated zh-cn translation
2010-10-21 17:51:40 +08:00
Nulled
75bd8ea5a2
Updated zh-cn translation. fixed some errors.
2010-10-15 18:15:43 +08:00
Nulled
50a5e864ac
updated zh-cn translation
2010-10-15 18:04:56 +08:00
Rodrigo Damazio
352fc26f7e
Fixing tests
2010-10-14 23:25:42 -03:00
Rodrigo Damazio
44afa1623e
Making locations be reused when writing tracks.
2010-10-14 21:06:59 -03:00
Rodrigo Damazio
14acafabfc
Getting rid of TrackBuffer.
2010-10-14 20:42:02 -03:00
Rodrigo Damazio
773af58d03
Fixing issue 190 (third step: reordering methods in execution order - no other changes)
2010-10-14 18:44:55 -03:00
Rodrigo Damazio
352b851e9c
Fixing issue 190 (second step: refactoring mymaps uploading)
2010-10-14 18:35:51 -03:00
Rodrigo Damazio
8353a01082
Addressing review suggestions.
2010-10-14 16:41:20 -03:00
Bartlomiej Niechwiej
b70e001206
Addressed Rodrigo's comments.
2010-10-13 21:58:26 -07:00
Rodrigo Damazio
a741bb4d55
Fixing issue 190 (first step: dirty hack)
2010-10-13 22:03:31 -03:00
Rodrigo Damazio
24adee3d54
Addressing review suggestions and adding tests.
2010-10-13 21:53:16 -03:00
Bartlomiej Niechwiej
09203ffb95
Improved test coverage and minor refactoring/improvements.
2010-10-13 12:29:00 -07:00
Bartlomiej Niechwiej
e94338f4c6
Fix a drawing lag during track recording.
...
For a track with ~2,500 points, the average drawign would take ~30-50ms, now it takes about 20ms (21ms if software clipping is enabled).
Removed all possible congestion points by introducing a blocking queue.
This change includes many fixes, including:
1) Major refactoring and clean up of the overlay, sped up drawing by a factor of 2x
2) Disable software clipping as it was slower by about 5% than w/o clipping and would trigger a bug related to map view spanning
3) Add waypoints synchronization and fixed a bug related to skipping the first wpt
4) Add a simple unit test
2010-10-11 21:55:12 -07:00
Rodrigo Damazio
dd9dd8ee81
Refactoring API level detection.
2010-10-11 22:28:02 -03:00
Rodrigo Damazio
01d6dcac59
Merging Bart's Polish fix.
2010-10-07 21:59:11 -03:00
Rodrigo Damazio
ad0ee6b0d6
Merging Bart's Polish fix.
2010-10-07 21:58:07 -03:00