Simple Android App used for Demonstrating Testing. See our Android Testing Guide.
This app is just two activities. The first has a text field and a button. When you type in the text field and hit the button, a second activity appears that displays the text entered.
Robolectric - Install robolectric, setup new project as explained and then link in the "roboelectric-tests" folder from this repo as a source folder.
To run robolectric unit tests, right-click project and select Run As => JUnit Test
Robotium - Select File => Import => Existing Projects Into Workspace
and then select the "robotium-tests" folder. This loads the folder into eclipse.
To run robotium tests, right-click project and select Run As => Android JUnit Test