-
Notifications
You must be signed in to change notification settings - Fork 6
Contributing
First set up your developing environment. It might also make your life easier to use IntelliJ.
Compilation and test can be checked by running mvn clean verify
in the root of the project (make sure you have an avd running or a device attached to run integration tests - verify this step by running adb devices). Checkstyle failures indicate style errors and can be viewed in the target/checkstyle-result.xml file.
This app uses RoboGuice and ActionBarSherlock. RoboGuice is a framework for simplifying Android development. An example can be seen here. ActionBarSherlock is a library that facilitates the use of the Action Bar across all versions of Android. It mirrors the support API, thus adding minimal overhead. To use RoboGuice and ActionBarSherlock togethet, we're using RoboSherlock, a library that combines the base classes into one. This will have us change our imports as the follwing:
- Activity to RoboSherlockFragmentActivity (or in rare cases RoboSherlockActivity)
- Fragment to RoboSherlockFragment
We are likely to use more in our project, but these two will cover 80% of our cases.