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! [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