iiizio Apps

ScreenWakeUp 0.3
iiizio
ScreenWakeUp uses the proximity sensor to lock and wake up thescreen. It run as a service and it will restart automatically onboot.WARNING: BEFORE UNINSTALL YOU MUST RELEASE THE LOCK ADMIN! (runScreenWakeUp and select on RELEASE LOCK ADMIN)You can lock the screen with ScreenLock application (it's not awidget), a long press on search key, covering the proximity sensoron the top of the phone for a few seconds (settable) or simply youcan put the phone in your pocket (I've noticed it can fail if thetissue of pocket is opaque black, I think due of how the proximitysensor works).The screen automatically wakes up (or unlocks if enabled) whenyou take the phone out from the pocket or you move a hand overit.The program is event driven (don't uses CPU cycles to checksensors), but the phone needs to stay in PARTIAL_WAKE_LOCK mode topermit the wake up. The CPU doesn't go into sleep mode, so after afew minutes (settable) the lock will be released to prevent batterydrain. You can read more about PARTIAL_WAKE_LOCK here: http://developer.android.com/reference/android/os/PowerManager.htmlDon't be afraid about consumption of proximity sensor, it'sreally low (0.045mA on my atrix).Permissions required:- WAKE_LOCK for turn on the screen- DISABLE_KEYGUARD for unlock the phone automatically- MODIFY_AUDIO_SETTINGS for check if a headset is connected- RECEIVE_BOOT_COMPLETED for restart automatically at boot- VIBRATE for vibrate on screen lockNo internet connection needed, no ads, no privacy risk.Known bugs:- Sometime the auto unlock option don't works- Sometime the proximity sensor stops to work when the phone isconnected to PC (you must restart the phone)Legal stuff:This program is free software: you can redistribute it and/ormodify it under the terms of the GNU General Public License aspublished by the Free Software Foundation, either version 3 of theLicense, or (at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNUGeneral Public License for more details.Tested only on Motorola Atrix with Android 2.3.4For comment / feedback / bug / suggestion / localization /donations write to: iiizio AT users.sf.netPS: Sorry for my bad EnglishThanks to Daniel Añez Scott for spanish translation.Thanks to Stefan (sk750) for the motion sensors management.