an android app to turn on/off screen automatically by detecting values from proximity sensor.
- By detecting p-sensor, automatically turn on/off the screen for you.
- Allows you to only enable the function during charging.
- Allows you to disable the feature when the screen is rotated.
- Separate timeout values for screen on/off delay to prevent from accidentally triggering the feature.
- A widget is supported to quickly toggle the function.
- Notification is supported to quickly toggle function, or directly turn screen off.
Modify Settings in "Auto Screen Settings" app and enable the function
or
- Add widget "AutoScreenOnOff" to your home screen
- Press once on the icon to trigger Device Management Confirmation Dialog.
- Agree to activate device management. (This is required to turn off the screen)
- Now everything should work now. Try cover your hand over the top area of the screen (where the proximity sensor might be located) to see if it works.
This project is built using Android Studio. If you want to clone the git and modify the codes, please use Android Studio too.