Openphoto - Android app
Find a file
Eugene Popovich 40f2023352 Card 77 (Add photo details to Trovebox Collect)
Trovebox-Android-App:

- AlbumsFragment.AlbumsAdapter: added missing newly added runnable
parameter to the PhotoUtils.validateUrlForSizeExistAsyncAndRun call in
the getView method
- FacebookFragment: added missing newly added runnable parameter to the
PhotoUtils.validateUrlForSizeExistAsyncAndRun call in the postPhoto
method
- SelectAlbumsActivity.SelectAlbumsUiFragment.AlbumsAdapter: added
missing newly added runnable parameter to the
PhotoUtils.validateUrlForSizeExistAsyncAndRun call in the getView method

Trovebox-Android-Common:

- GalleryFragment.GalleryAdapterExt: added missing newly added runnable
parameter to the PhotoUtils.validateUrlForSizeExistAsyncAndRun call in
the init method
- PhotoDetailsFragment.PhotoDetailsPagerAdapter: added missing newly
added runnable parameter to the
PhotoUtils.validateUrlForSizeExistAsyncAndRun call in the
instantiateItem method
- PhotoDetailsFragment.ThumbnailsAdapter: added missing newly added
runnable parameter to the PhotoUtils.validateUrlForSizeExistAsyncAndRun
call in the getView method
- Photo: added mHost, mToken fields, their getters and setters and
support to parcelable implementation
- PhotoUtils: added additional parameter to the
validateUrlForSizeExistAsyncAndRun method declaration
- PhotoUtils: added missing newly added parameters to the getPhoto API
call in the getThePhotoWithReturnSize method
- PhotoUtils.RetrieveThumbUrlTask: added mPhoto2 field and moved mPhoto
field modification from doInBackground to the onSuccessPostExecute to
avoid concurent modification
- ITroveboxApi: modified getPhoto declaration: added new token and host
parameters
- TroveboxApi: added host and token parameters support to the getPhoto
API method implementation
- AbstractUploaderService: added setting of host and token information
to the Photo object onsuccessful upload in the handleIntent method

Trovebox-Android-Test:
- GalleryActivityTest: added missing parameters to the getPhoto call in
the testLoadImages method
- PhotoDetailsActivityTest: added missing parameters to the getPhoto
call in the testPreconditions method
2014-02-10 10:58:04 +02:00
app Card 77 (Add photo details to Trovebox Collect) 2014-02-10 10:58:04 +02:00
common Card 77 (Add photo details to Trovebox Collect) 2014-02-10 10:58:04 +02:00
submodules Card 48 (Apply same as in trovebox-collect sync appearance to trovebox 2013-12-13 14:19:42 +02:00
test Card 77 (Add photo details to Trovebox Collect) 2014-02-10 10:58:04 +02:00
.gitignore #279 - updated content after Eugene's comments. 2013-11-19 20:32:15 -02:00
.gitmodules Card 48 (Apply same as in trovebox-collect sync appearance to trovebox 2013-12-13 14:19:42 +02:00
LICENSE Adding Apache License across all OpenPhoto repos. 2011-07-29 00:29:26 -07:00
README.md Update README.md 2013-10-31 12:56:03 +02:00

Test coverage

 cd <inside the app directory>
 android update project --path .
 android update test-project -m <full path to app directory (not just .)> -p ../test/
 cd ../test/
 ant coverage

Code Formatting

Please use the following xml file as formatting in eclipse and make it to be applied whenever a file is saved. https://github.com/android/platform_development/raw/master/ide/eclipse/android-formatting.xml https://github.com/photo/mobile-android/blob/master/README.md

Facebook SDK

Install Facebook SDK by cloning the GitHub repository: git clone git://github.com/facebook/facebook-android-sdk.git

Fake Account Credentials for Trovebox

The file FakeAccountTroveboxApi.java is a fake implementation for the interface IAccountTroveboxApi.java. This fake implementation will return credentials to the site http://apigee.trovebox.com

#Environment To make the environment working we need to Add Support Library in the project ActionBarSherlock. These are the steps on Eclipse:

  1. Click with right button in the project ActionBarSherlock
  2. Select Android Tools
  3. Select Add Support Library
  4. Accept and Finish

Advanced Enironment Setup instructions

https://github.com/photo/mobile-android/wiki/Eclipse-build-environment-setup