We are looking for an application to capture an image from a front-facing Android camera every time the phone has been woken up from sleep, or if that is not possible, every time the phone has been unlocked.
This app should consist of a background service which starts at boot, and a UI component which the user can launch to control the background service, review photos and customize app settings. As soon as the user unlocks the phone, the service should silently take a photo of whoever unlocked the phone, then save it to the SD card for later review. The user should then be able to review via the app's UI or by connecting the handset to a PC via USB.
As a secondary goal of the project, we would like to be able to take a photo only when a certain application is launched. Using a UI within the application, the user should be able to set the background service up to monitor currently running processes on the phone, and trigger the camera to take a photo on launch of a given application. For example, if the user has set the background service to monitor for the string "youtube", any time the Youtube application is launched a photo from the front facing camera should be captured and saved to file.
Ideally this application should run on any non-rooted Android handset with front facing camera. If for some technical reason this is not possible, requiring a rooted handset is acceptable.
At the completion of the project, the winning bidder must hand over a working APK, along with all code required to build the project.