Android Sensor App

Due Date:

Option 1: video submission 12/12/14 11:59pm

Option 2: demo appt after 12/15/14

Build a mobile phone app that uses sensors

This first goal of this application is to familiarize yourself with the Android app development processes.

The second goal is to see the Observer pattern used in the sensor system of a mobile phone.

Task (10 hours)

  • This is a group assignment for groups of 1-4 people
  • Option 1: The I'm-scared-of-this assignment-assignment:
    • Build an application that plays 5 different sounds when the phone is put in 5 different orientations.
    • Demonstrate the system by video-capturing the system in operation on a real phone.
    • Turn in a web-page URL with:
      • The names of the people in your group and a description of the work they did
      • A video of the system working (target length 3 minutes)
      • A one page written explanation of the components of your system.
      • A link to the source code of your program.
    • Here is a YouTube playlist with tutorials to supplement lecture: http://www.youtube.com/playlist?list=PLix7MmR3doRoN8pfJ-jd5SwR2SuS1H-7a
  • Option 2: The I'm-awesome-and-Prof-Patterson-needs-to-know-it assignment:
    • Build a text-input alternative to a keyboard that uses the phone's orientation
    • This would be a program that allows you to construct a string by turning the phone and hitting at most one button.
    • Turn in a web-page URL with:
      • The names of the people in your group and a description of the work they did
      • A one page written explanation of the components of your system.
      • A link to the source code of your program.
  • Requirements for the system:
    • It must run a Java program compiled in Eclipse or Android Studio and deployed on the Android platform.
  • Admin
    • This is a solo or group assignment. Groups may be no bigger than 4 people
    • Recommended roles
      1. Build a Hello World Program in an emulator
      2. Build a program that plays sounds in an emulator
      3. Build a program that senses orientation in a real phone
      4. Build a program that creates the logic for matching orientation to sound playing
      5. Put together the materials for turn-in
    • In a separate EEE quiz you will be required to independently grade the work of the other members of your group. This may have the effect of modifying their/your grade.
    • You may check out phones to deploy your app or us your own.
  • Rough grading
    • Group members all agreeing that you did more or less than your share might send your grade up or down a notch
    • To get an A:
      • The program will be demonstrated on a real phone
      • The java program must respond to orientation in real-time and play sounds.
      • Demonstration must be compelling as presented in the video
      • Web-page must be complete
    • To get a B:
      • The system might only work on a simulator
      • The system might have individual components that work but it doesn't work together
    • To get a C
      • The video also fails to show anything happening
      • The video looks like you are faking it
      • There are clear errors in the Java program
  • Option 1:
  • Option 2: