Project 0d

Due Date: Mon 17 Sep

Individual Project

Objectives

  • Ensure you have a functioning development environment.
  • First steps in Android development

ADT Plugin Installation

Review your installation the required course software, especially the ADT plugin.

Verification of ADT Plugin

To verify that you have a functioning ADT plugin, perform the following steps. (You might want to try first with hello-java, which requires no changes to run the tests.)
  1. If you have an actual Android device, find out the Android version of your device: Settings > About ... > Android version. Else simply use the latest available version in the remainder of this project.
  2. To ensure your Eclipse ADT plugin installation supports the same version as your device: Windows > Android SDK Manager, then find your version and install the corresponding SDK Platform and Samples for SDK
  3. Open your IDE (Eclipse) and ensure you are in the Java perspective.
  4. Create an Android Virtual Device (AVD) of the correct version from above.
  5. Create a new Android sample project: New > Other > Android > Android Sample Project.
  6. Choose the correct Android version from above and click Next.
  7. Choose SkeletonApp.
  8. Open res/values/strings.xml, switch to the source view by clicking the strings.xml tab below, and change main_label to a value of your choice.
  9. Run the application: right-click on the project root node, then Run As > Android Application. Now the emulator will take some time to boot up. Then you should see your application running with your changed message. Play around a bit with the emulator, and you should see an icon for launching the app etc. Leave the emulator running.
  10. Now create another Android sample project: SkeletonApp > test
  11. Rename the newly created project tests to SkeletonApp tests by right-clicking on the project root node, then Refactor > Rename.
  12. Tie this test project to the main project: right-click on the test project node, then Build Path > Configure ... > Projects > Add and choose SkeletonApp. Now the syntax errors (red xs) should go away.
  13. Run the tests: right-click on the test project root node, then Run As > Android JUnit Test.
It is crucial that you resolve any problems you have by the end of this week with the help of the TA or the instructor.

Please create three screenshots:
  • Java perspective after successful build
  • Emulator with the running application
  • JUnit view after running unit tests

Submission

  • Create a private Git repository on Bitbucket called project0d. You must use exactly this name.
  • Add the main and test project folders to the repository.
  • Commit and push your code to the repository. 
  • Share the repository with the instructor (laufer) and the TA (ejburns) through admin > access management. Notification will occur automatically.

Grading Criteria

  • 1 submission via Bitbucket repo
  • 1 modify initial message in app
  • 1 for each of the three screenshots showing that the corresponding step was successful
  • 5 points total
Comments