Monitor the lock/unlock button on android
This project is for a larger Android app that I am going to integrate this code into.
If the build.xml file is not present you can use the follwing command to update the project and generate a new build.xml file along with the other necessary files and or directories(Only run while in the projects root directory):
android update project --name PowerButtonMonitor --subprojects --target 9 --path .
To list targets run:
android list targets