- When starting an activity, always use FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_NEW_TASK together.
- TrackDetailActivity should handle events for a specific trackId, not
handling events for the current recording track.
- In TrackListActivity, to support screen rotation, make sure the EULA dialog
is not shown before creating another one.
- Do not need to bind service in onStart. OnResume will bind the service
if a recording is happening.
For API level >= 11, use the search widget.
For API level < 11, use the search dialog.
For API level >=14, the search button will expand the search widget.
For API level < 14, the search button will invoke the search dialog.