Android application that only allows the device to be unlocked when in range of user specified Geographic Locations
Sources and examples used: https://github.com/jmjurado23/LockScreenWidget http://usefulcodeforandroid.blogspot.com/2013/07/detect-android-actionscreenoff.html http://www.javacodegeeks.com/2011/01/android-quick-preferences-tutorial.html
You must grant the application device administrator rights from Settings -> Security -> Device Administrators
Tested on Lenovo A1000 w/ Android 4.1.2 Tested on Samsung Galaxy S3 w/ Android 4.1.2