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