![]() 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 |
||
---|---|---|
app | ||
common | ||
submodules | ||
test | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
README.md |
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:
- Click with right button in the project
ActionBarSherlock
- Select Android Tools
- Select Add Support Library
- Accept and Finish
Advanced Enironment Setup instructions
https://github.com/photo/mobile-android/wiki/Eclipse-build-environment-setup