[Android] Display dates according to locale

Change date format to the current locale order, and add day of week to
detail date and enrollment date.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Change enrollemnt url title

Remove (link) from enrollment url title.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Make detail list not clickable

Clicking on detail list items is meaningless, so disable it. Note: we also
must set the click highlight color to transparent.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Mark unspecified distances as so

Some events don't have a distance specified. Add a message to state that
in the event list and details instead of telling 0km.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Add calendar icon to date detail

A calendar icon has been added to date details. This icon can be clicked
to add the event to the user's calendar.

Icon is from http://www.24psd.com/google-android-calendar-icon/ and it's
"free for commercial use".

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Add events to calendar

Clicking on the calendar icons in the event date and enrollment date items
in the details list adds the event to the system calendar.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Update TODO list

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Remove events scroll bar in tablet

For cosmetic reasons, don't display the scroll bar in the events list
if we have fragments side-by-side.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Change unspecified distance strings

Events with distance not specified are usually events where distance is
not applicable, so change to N/A.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Add share option

Implemented sharing, but details must be sorted out: the application
should provide some custom message and text must be formatted in a
nicer way. Facebook sharing is using one of the embedded URLs and
ignoring text (why?). Google Plus sharing ignores title. Text is too
long for certain share types (SMS, Twitter).

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Refactor date detail

Add a new class for date details handling special actions such as adding
events to the calendar.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Optional details not listed

Use a dynamically built array for the details list so we can filter out
optional or invalid details.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Add map detail

Add map, if any, to the list of details.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Minor cosmetic changes

Reindent source code, add comment.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Enable HTTP response cache

From http://developer.android.com/training/efficient-downloads/redundant_redundant.html:

With the cache installed, fully cached HTTP requests can be served directly
from local storage, eliminating the need to open a network connection.
Conditionally cached responses can validate their freshness from the server,
eliminating the bandwidth cost associated with the download.

Uncached responses get stored in the response cache for for future requests.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] [2.3 fix] Don't call unsupported method

SetActivated is available only in Honeycomb onwards, call only if device
is in dual-pane mode.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Handle calendar error

Display a toast if the calendar activity is not available when adding
an event or enrollment date.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Minor cleanup

Remove redundant checks from code and list classes in a consistent way
in the application manifest.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Update menu search icon

Use consistent icons for search option.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[Android] Change event list appearance

Use smaller text for events to display more of the event name, add location
alongside the distance and make second line in lighter color. Add extra
padding space to avoid cramped items.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>