Card 76 (Show Gallery in the Collect App)
Trovebox-Android-App:
- PhotosEndlessAdapter: updated mTroveboxApi.getPhotos API call
accordingly to the new method declaration (added missing parameter) in
the loadItemsGeneral method
- project.properties: switched to SDK 19

Trovebox-Android-Common:
- ITroveboxApi: updated getPhotos method declaration (added token
parameter)
- TokenValidationResponse: added mData field and its support to the
constructor. Also added getter method for the field
- TroveboxApi: modified getPhotos method implementation (added token
parameter support) and updated getPhotos call with the missing default
parameter value everywhere
- project.properties: switched to SDK 19

Trovebox-Android-Test:
- GalleryActivityTest: updated getPhotos call with the missing parameter
in the testLoadsImages method
- TokenValidationResponseTest: updated reference to the json raw and
added new data paremeter check in the testReponse method
- res/raw/json_token_validatio_response.txt: added (renamed from
token_validation_response.txt)
- project.properties: switched to SDK 19
Card 76 (Show Gallery in the Collect App)

Trovebox-Android-App:
- AlbumsFragment, FacebookFragment, PhotoDetailsEditFragment,
SelectAlbumsActivity, TwitterFragment, UploaderService, ShareUtils:
updated reference to PhotoUtils
- GalleryFragment: now it extends Gallery fragment from common library.
A lot of common functionality is extracted to that common fragment so it
may be reused in Trovebox collect app
- MainActivity: removed PhotoUploadedHandler from extends declaration as
well registering photo uploaded action broadcast receiver from onCreate.
Also removed photoUploaded method implementation. This is done because
GalleryFragment now may register itself as a broadcast receiver in the
onCreate method
- PhotoDetailsActivity.PhotoDetailsUiFragment: added new methods
getReturnSizes, getDetailsReturnSizes, getBigImageSize (moved from
PhotoEndlessAdapter)
- PhotoDetailsActivity.PhotoDetailsUiFragment: modified reference to the
getDetailsReturnSizes method in the initImageWorker method
- PhotoDetailsActivity.DetailsReturnSizes: added
- PhotoUtils, TokenUtils, ScalableListView, ImageFlowUtils: moved to
common library
- AlbumsEndlessAdapter, MultiSelectTagsAdapter: updated reference to
EndlessAdapter
- res/layout/fragment_gallery.xml: updated list section with the include
statement
- res/layout/item_gallery_image.xml, item_gallery_image_line.xml: moved
to common library
- res/values/dimens.xml: moved gallery related dimensions to common
library
- res/values/strings.xml, values-pt/strings.xml, values-ru/strings.xml:
moved some constants to common library
- .classpath: removed photoview src folder (moved to common library)
- .project: removed photoview linked resource declaration (moved to
common library)

Trovebox-Android-Common:
- GalleryFragment: added. This is a gallery fragment with the common
functionality extracted from Trovebox Android App with advanced
modifications such as host and token parameters support
- Album: added blankForId method
- PhotoUtils: added (moved from Trovebox Android App)
- TokenUtils: added (moved from Trovebox Android App)
- ITroveboxApi: added host parameter to the one of getPhotos declaration
- TroveboxApi: added host parameter support to the getPhotos
implementation. Also added missing parameter where the modified
getPhotos method is called
- EndlessAdapter: added (moved from Trovebox Android App)
- PhotosEndlessAdapter: added (moved from Trovebox Android App). Added
host and tokenk parameters support
- ScalableListView: added (moved from Trovebox Android App)
- ImageFlowUtils: added (moved from Trovebox Android App)
- res/layout/fragment_gallery_list.xml: added
- res/layout/item_gallery_image_line.xml: added (moved from Trovebox
Android App)
- res/layout/item_gallery_image.xml: added (moved from Trovebox Android
App)
- res/values/dimens.xml: added gallery related dimensions (moved from
Trovebox Android App)
- res/values/strings.xml, values-pt/strings.xml, values-ru/strings.xml:
added new string constants (from Trovebox Android App)
- .classpath: added photoview src folder declaration
- .project: added photoview linked resource declaration

Trovebox-Android-Test:
- GalleryActivityTest: fixed getPhotos call accordingly to the updated
declaration in the testLoadsImages method