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
963bbedea5
merge heads
2012-03-19 14:26:13 -07:00
Jimmy Shih
8e62ff239c
fix eclipse warnings
2012-03-14 15:37:22 -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
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
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
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
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
Jimmy Shih
c8e184d29c
merge heads
2012-03-05 16:25:51 -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
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
ml1050
8bb94bc104
cosmetics
2012-02-15 16:03:20 +01: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