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