Project:
Android Mobile Application
Program Description:
The goal of this project was to use the Android Software Development Kit to create a simple mobile application that acts as a graduate class reminder, where if the devices GPS coordinates were not within the bounds of the Bridgewater State University campus during the classes meeting date and time then the app would audibly and visually display a reminder to get to class.
The application was built using the standard Android SDK and tested by using the Android emulator.
The application has a cascading if-then-else function that determines the correct date and time by querying the OS every N ms. The function calls itself repeatedly with a delayed post callback. The if-then-else function either enables or disables an alarm variable.
Another function also runs to control the visuals of the applications. This function also uses a delayed post callback to schedule itself. When the function runs it checks the status of the alarm variable. If the alarm variable is enabled then the function displays the alarm. However, if the alarm is disabled then the function removes all visuals.
The alarm also has a cancel button that allows the user to cancel the alarm when the device is not on the Bridgewater State University campus but user wants to silence the alarm.
The alarm will go off on Thursdays Between 6:00pm - 8:40pm if the device is not on the Bridgewater State University Campus.
Features:
Implements Android Java for Platform 2.2
Support GPS Enabled Phones Running Android 2.2
A simple mobile app demonstrating uses of GPS on a mobile device
Code Snippet:
Screen Shots:
- Before the Alarm Goes Off
- After the Alarm Goes Off, 1 of 2 changing images
- After the Alarm Goes Off, 2 of 2 changing images
- After the Cancel Button has been pushed