Jimmy Shih
1a23ba673c
- use a dialog to insert markers with an option to open full insert screen
...
- remember the last chosen marker type
- auto increment the default marker name
- fix IME option when toggling between marker type
- add more spacing between items in the editor
- rename WaypointType to WAYPOINT and STATISTICS
- rename to ListItemUtils
- remove unused appwidget_text color
2012-04-27 09:48:01 -07:00
Jimmy Shih
2ec090354b
Clean up icon names.
2012-04-26 11:13:14 -07:00
youtaol
6848a7a475
Merge heads
2012-04-26 18:59:06 +08:00
youtaol
420cb0f49b
Change some code style of smoke test case. Add some checks in some tests when the screen is rotated.
2012-04-26 18:51:09 +08:00
Jimmy Shih
4018237691
In TrackListView, only update the list when certain keys are changed.
2012-04-25 18:13:30 -07:00
Jimmy Shih
2b6309f7c1
Improve the startup sequence.
...
- new welcome dialog message.
- new check units text.
- for US and UK, default to imperial.
- for fragments, fix handling of onCancel. No need
to handle onCancel at the dialog level.
2012-04-25 17:30:56 -07:00
Jimmy Shih
1e4a6c04c2
Rename "Share with friends..." to "Share".
2012-04-25 10:16:51 -07:00
youtaol
e4481ca3e6
Change code style, remove useless method of MyTracksSmokeTest
2012-04-25 15:20:41 +08:00
Jimmy Shih
5a32550f85
merge heads
2012-04-24 09:55:17 -07:00
youtaol
b9a9cc6cd9
An end-to-end test case of MyTracks.
2012-04-24 19:38:32 +08:00
youtaol
920f8e4180
Change the way to generate the SQL statement to fix http://code.google.com/p/mytracks/issues/detail?id=907 .
2012-04-24 19:25:45 +08:00
Jimmy Shih
e998ac07e1
fix comment on 57e157793bd1
2012-04-23 19:09:23 -07:00
Jimmy Shih
c4bcdc56c8
fix comment for 871dbae587aa
2012-04-23 19:06:11 -07:00
Jimmy Shih
82a338bd13
fix comment for 5b638c36df7f
2012-04-23 18:35:01 -07:00
Jimmy Shih
33118568bc
A few fixes.
...
- use fill_parent since we are still supporting api level 7.
- on the TrackListActivity, hide the empty view content
until the check unit dialog has been showned.
- fix the ChartView height. ChartView is no longer displayed
on the full canvas. The new design has a tab bar and a
zoom control.
- In TrackDetailActivity, only call methods of a tab fragment
if it is the current tab.
2012-04-23 17:49:23 -07:00
Jimmy Shih
2ea4b09dcc
Several minor fixes
...
- for TrackEdit and MarkerEdit, use windowSoftInputMode=stateHidden
- improve layout for the map in MapFragment.
- fix text size for API level < 14.
- fix bug when inserting a statistics marker with a modified name
2012-04-23 14:57:39 -07:00
Jimmy Shih
8f801b1bdb
Add AbstractMyTracksActivity as the base class for
...
all My Tracks activities.
2012-04-23 12:42:29 -07:00
Jimmy Shih
1483f19f10
Clean up activities' manifest.
2012-04-23 10:41:29 -07:00
Jimmy Shih
7fd3f0e8d9
Update menu icons.
...
Update tab icons.
Place tab tag in the appropriate fragment.
2012-04-23 10:07:08 -07:00
Jimmy Shih
7701d31bdc
Clean up all the layouts.
...
Utilize styles when possible.
2012-04-20 17:46:48 -07:00
Jimmy Shih
eb3e7e0b86
merge heads
2012-04-20 12:51:48 -07:00
Jimmy Shih
aaef92b139
Use stats_core.xml layout for
...
- AggregatedStatsActivity
- StatsFragment
- MarkerDetailActivity
Remove StatsUtilities. Use StatsUtils to set all stats labels and values.
2012-04-20 12:50:22 -07:00
Jimmy Shih
6838897353
Add a method to add all items to an array adapter.
...
ArrayAdapter.addAll is only avaiable to API >= 11.
2012-04-19 16:51:15 -07:00
Jimmy Shih
8f7c44d1e7
merge heads
2012-04-19 13:12:41 -07:00
Jimmy Shih
e314f968b8
merge heads
2012-04-19 11:29:28 -07:00
Jimmy Shih
1676f19830
Create an IntentUtils.newIntent utility method to create an intent
...
with FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_NEW_TASK.
2012-04-19 11:24:40 -07:00
Jimmy Shih
352137c440
fix comment for 3e985a497047
2012-04-19 10:40:10 -07:00
Jimmy Shih
c8deb63de9
Use the same list item layout for TrackList, MarkerList, and SearchList.
...
Use the same contextual menu for TrackList, MarkerList, and SearchList.
2012-04-18 12:53:12 -07:00
Jimmy Shih
172aed44ab
fix merge conflict
2012-04-17 12:30:56 -07:00
Jimmy Shih
09a6a0a604
sync from main
2012-04-17 12:27:12 -07:00
Jimmy Shih
89b16e48e9
Add MarkerEditActivity, MarkerListActivity, MarkerDetailActivity.
2012-04-17 12:25:54 -07:00
Jimmy Shih
45855c794c
merge heads
2012-04-17 10:10:50 -07:00
Jimmy Shih
d402c5555c
fix comment for 3fe71196df15
2012-04-17 09:45:59 -07:00
Jimmy Shih
fef4d6bc23
merge heads
2012-04-17 09:39:20 -07:00
Jimmy Shih
dc7fb591be
merge heads
2012-04-16 10:18:33 -07:00
Jimmy Shih
f66742ec98
merge heads
2012-04-16 10:12:22 -07:00
Jimmy Shih
da6c33617c
merge heads
2012-04-16 10:03:42 -07:00
youtaol
4ea5b199b9
Merge heads.
2012-04-13 18:07:04 +08:00
Jimmy Shih
00eee811f4
Add an empty view when the track list is empty.
2012-04-12 16:48:59 -07:00
Jimmy Shih
e3f13dd633
In contextual action mode, add the track name as the action mode title.
2012-04-12 15:43:50 -07:00
Jimmy Shih
178b1be990
Rename ServiceUtils.java to TrackRecordingSeriviceConnectionUtils.
...
Move common code between TrackListActivity and TrackDetailActivity
for dealing with TrackRecordingServiceConnection in the utility class.
2012-04-12 15:17:46 -07:00
Jimmy Shih
2aa4cdc442
Add PreferencesUtils to access
...
- recording track id
- selected track id
2012-04-12 14:26:18 -07:00
Jimmy Shih
53c5ebbef9
merge heads
2012-04-12 13:25:33 -07:00
Jimmy Shih
c98b10c548
merge heads
2012-04-12 13:25:12 -07:00
Jimmy Shih
08e460d208
Fix unit tests to run in any timezone.
2012-04-12 13:14:35 -07:00
Jimmy Shih
06322dcfdc
fix comment 5e46fdb4a91d
2012-04-12 12:55:39 -07:00
Jimmy Shih
d045b0440f
fix unit tests in TrackRecordingServiceTest
2012-04-12 12:50:03 -07:00
Jimmy Shih
2fd3816edf
Fix unit tests
...
- update string in CsvTrackWriter, CsvTrackWriterTest, and DescriptionGeneratorImplTest
- with Solo, UploadResultActivity can run by itself, but cannot run as
part of the unit test. Modify the test to not use Solo.
- remove ANT+ tests in SensorManagerFactoryTest and replace them with
bluetooth tests since most of the phones do not have ANT+.
- remove TrackDetailActivityTest since we are no longer using it to
start the app. Will replace this with end-to-end smoke tests.
2012-04-11 17:02:21 -07:00
Jimmy Shih
28f3565bae
sync from main
2012-04-11 10:29:52 -07:00
Jimmy Shih
e82c3f15d2
should have been part of 5e46fdb4a91d
2012-04-11 10:25:07 -07:00