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
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
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