Simple application made to avoid launching applications or made wrong calls when the phone is accidentally unlocked on pockets when is activate the option "Tap to wake up" from Display settings.
Unfortunately due to hardware and software diversity, I cannot guarantee its success, I still have issues too, but using this application I reduced the numbers of times when the phone screen was accidentally activated into the pocket.
I made this application based only on the behaviors of my phone Sony Xperia Z3 Compact with Android 5.1.1.
Be very carefully and do experiments when you modify any of application options!
The application is in beta version.
android.permission.BIND_DEVICE_ADMIN
Needed this permission to lock the screen.
Functionality
The application goal is to lock the screen if the screen phone is accidentally activated. This can be happen into pockets.
From settings can be define how can be identified wrong activation based on the:
- proximity sensor (always);
- light sensor value (can be enabled and defined a limit for the light values accepted to be associated with pockets). By default I set the settings for the light sensor to consider a "pocket" if the light value is between 0 and 10, but this can happen into the night, that's why is important to not grab the phone putting the hands or fingers near the proximity sensor too, because if the proximity sensor is activated and if the light value is lower than the limit value (10 by default) the situation is associated with a "pocket" case and the screen is locked back after a delay time period, defined on the second option "Lock screen delay".
Calls monitoring
Can be also call state monitored to lock screen if:
- a call is made using a Bluetooth or an hands-free device;
- a call is received and the user answering using a Bluetooth or an hands-free device.
Notification
This option show on the screen a notification which allow the user to lock back the screen without to use the Power Button.
The notification is visible in two cases:
1. when the phone screen is activated till the user lock back the screen or input the protection method (swipe / PIN / pattern);
2. when the screen is activated by a call event, (receiving or make a call using an hands-free device)
The notification can be disabled if is unchecked the option "Enable notification".
Screen Lock shortcut
This allow the user to place on the home screen a shortcut (it is not a widget) which will allow to lock the screen without pressing the Power Button.
Sources
The application is Open Source and the sources are available on: https://github.com/ciubex/keepscreenlock
Keep Screen Lock is an Android Tools app developed by Ciubex and published on the Google play store. It has gained around 1000 installs so far, with an average rating of 3.0 out of 5 in the play store.
Keep Screen Lock requires Android with an OS version of 4.0 and up. In addition, the app has a content rating of Everyone, from which you can decide if it is suitable to install for family, kids, or adult users. Keep Screen Lock is an Android app and cannot be installed on Windows PC or MAC directly.
Android Emulator is a software application that enables you to run Android apps and games on a PC by emulating Android OS. There are many free Android emulators available on the internet. However, emulators consume many system resources to emulate an OS and run apps on it. So it is advised that you check the minimum and required system requirements of an Android emulator before you download and install it on your PC.
Below you will find how to install and run Keep Screen Lock on PC:
If you follow the above steps correctly, you should have the Keep Screen Lock ready to run on your Windows PC or MAC. In addition, you can check the minimum system requirements of the emulator on the official website before installing it. This way, you can avoid any system-related technical issues.
Keep Screen Lock APK 1.1.6 | 1.4 MB | 1.1.6 |