"ScreenLock Gear" in Gear app store available - lock screen/bezel/button - Samsung Gear S3

*** App is now suspended, since it doesn't work in Tizen 3.0 and this OS has bezel blocking feature itself. Thank you for participation in this project! ***
Hi, I created app "ScreenLock Gear", because I want to monitor my sleep with locked bezel, eliminate turning screen on by my shirt etc. The mission of this thread is to make it comfortable for all of us.
So what is it?
Simple application for screen locking (bezel/screen/button).
Add widget -> Customise -> Tap to lock -> Enjoy locked screen
I uploaded new version (2.0) to Gear store. Description of the new version:
[Widget icons]
- Please see the first image in this post.
[Features]
- Battery friendly - CPU sleeps all the time, big battery saver (there is just listener in background).
- Widget for easy locking and customise settings.
- Supports both - AOD / Display OFF (for AOD is best to set lowest time to unlock).
[New in 2.0]
- Alarm / PIN / Call compatible! It temporary suspends ScreenLock.
- Customisation in widget.
- Unlocking by bezel (right-left-right-left).
- Option to see unlocking pattern progress, including clock and time to unlock.
- HOME button will temporary disable ScreenLock (until next display turn-off)

Again, thanks for the app.
I have not been out in the rain - when I use your app to lock my Gear S3, will it keep logging my walking/hiking/etc? Or does it pause other operations.
I would prefer it you keep it simple but I'm sure others will have requests for more options.
As I wrote elsewhere, when logging walks/hikes, the strap of my hiking pole hits the Back and On buttons and it eventually terminated the logging of my hikes. So this would be a perfect way to prevent accidental touchs of the buttons or screen from changing things.
Again, THANKS.

fred2546 said:
I have not been out in the rain - when I use your app to lock my Gear S3, will it keep logging my walking/hiking/etc? Or does it pause other operations.
Click to expand...
Click to collapse
No, the ScreenLock has no impact to any logging. Because it does simple job: When DISPLAY TURN ON, call DISPLAY TURN OFF. It is like if you set screen timeout to 0.3 sec. So it is only shortening screen timeout, having no negative impact on battery life or influence of logging.
fred2546 said:
I would prefer it you keep it simple but I'm sure others will have requests for more options.
Click to expand...
Click to collapse
Yes, I will add more options, but primary I want to make it more comfortable to unlock.
fred2546 said:
As I wrote elsewhere, when logging walks/hikes, the strap of my hiking pole hits the Back and On buttons and it eventually terminated the logging of my hikes. So this would be a perfect way to prevent accidental touchs of the buttons or screen from changing things.
Click to expand...
Click to collapse
Yes, it can be used, but now only with screen off. S health will continue to log your trip, but you can't see your statistics until you unlock the screen, which is not so comfortable. Maybe only on long hikes. It is in my future plans to enable this app on top of another app.
Thanks for testing

Great idea, I'll give it a run! Thanks for getting this out there

Used it on a 3 mile walk this afternoon. It appears to have worked fine. Shealth still informed me of my statistics at 1, 3 and 3 miles including pace, distance and heart rate. I played with the buttons while walking and the screen stayed dark (there is the brief message "locked") and did not interrupt my hike log. This walk was not as strenuous and steep as the one last week that prematurely ended when the pole straps pressed the wrong buttons. But since I was pressing randomly, it stayed locked.
I was easy to UNlock it and then to stop Shealth's logging.
Obviously, with the screen locked I could not see what the email alerts were but that is fine. I don't have to be permanently connected to my email.
Again, THANKS.

Thanks for the app. I've found I light them room up if I hit the watch while in bed. I may see if tasker can lock the watch at a certain time and maybe even unlock it. I don't know how difficult it would be for you but adding those features would be nice additions. Again, great job and THANKS!!

Konvalink, man, this bezel wake up was making my life miserable.
IMO the app works perfectly, no bells and whistles, just shuts the thing down.
So many thanks, also on behalf of my wife who was about to file.
Love ya man

Brilliant!
Brilliant idea! Thanks.

Thank you very much for this app. Maybe you can add the the back button for lock also.

I've been using this app every night for the past several days. Only issue I have noticed is that when I move my wrist, the watchface will show for 1/2 a second or less then give the "locked" notice. Overall tho, this works great and I really appreciate you sharing it with us.

Needs Polishing
A very essential app. THANK YOU! for sharing
Observations:
1. Hotspots are visible on the AOD screen
2. Momentary "screen on " before showing number of unlock tries
3. Delay in unlocking when a notification is active
Please continue the good work. Again, thank you.

konvalink said:
- It is not compatible with PIN protection - too hard to unlock screen
Click to expand...
Click to collapse
Can you please clarify? Can't I use your app if I need Pin also? I use Samsung Pay, so it's mandatory to have pin protection.

Ljusalfheim said:
Can you please clarify? Can't I use your app if I need Pin also? I use Samsung Pay, so it's mandatory to have pin protection.
Click to expand...
Click to collapse
The problem is, when PIN protection is enabled, I'm not able to monitor keys or run my app, since PIN protection is killing everything because of safety reasons.
But you can use it. Locking will work. Only unlock will be harder, because app has no chance to monitor BACK key for exit. I will try to solve it somehow, but now, this unlocking would work with PIN enabled:
- Press HOME several times. This will minimise ScreenLock app, so you can write your pin.
- Then you will see black screen, press BACK several times. Otherwise the ScreenLock will start on another SCREEN ON event.
So it's not comfortable yet, but it works.

So it's not comfortable yet, but it works.
Click to expand...
Click to collapse
Thanks, amigo, will wait for updates! Keep up the great work!

i just cant find it. tried a lot of times. may i get a link? thank you
konvalink said:
Hi, I created app "ScreenLock Gear", because I want to monitor my sleep with locked bezel, eliminate turning screen on by my shirt etc. The mission of this thread is to make it comfortable for all of us.
So what is it?
Simple application for screen locking (bezel/screen/button).
Add widget -> Tap to lock -> Enjoy locked screen -> Press BACK quickly several time to unlock.
Or set this app for HOME double-click.
[Features]
- Widget for easy locking
- Supports both - AOD / Display OFF
- Battery friendly - there is just listener in background, so CPU sleeps all the time
- Counter of locks
[Notes]
- This is alpha version, so please try it and comment your ideas
- It is not compatible with PIN protection - too hard to unlock screen
- To explain the unlock pattern - you have to press the BACK three times in sequence of time 0.1 to 0.3 sec between every press. Because if I let here more time, it will delay global locking time.
[Future plans]
- Primary: make unlocking more friendly
- Make user to select different unlocking pattern
- Ability to lock screen on current app (S health)
Click to expand...
Click to collapse

HI again.
i need to have one particular app permanently on screen (Skydive altimeter) during a certain period of gime (approximately 5 min ). It's essential that the bezel doesn't interfere so it would be great if your app could block it but I must see the interface of Skydive altimeter. Is it possible?

Thanks great app.please make time based lock option or lock when detect sleeping

Great app. I got 4 days of working time with AOD in red font.
About unlocking: maybe full 360 bezel movement instead of clicking back button?

Hi,
First off, thanks so much for this app, I don't understand why Samsung didn't put this type of feature directly in the gear... Anyways, I'll test this tonight and see how it goes
However, is it possible for you to add an option page where you can decice how to unlock and if we can show the number of unlock tentatives? On my end, I would prefear if the gear stayed fully off, without showing the number of tentatives.
Thanks!!

More than happy with app
I used the app a few times hiking and find it working very well. It keeps S-health's log going and the underlying S-health app does not prematurely terminate logging of my hike or walk because something (like the straps from my hiking poles) has activated the Home or Back buttons.
And even though I have Samsung Pay activated and have a password/pin your app does not interfere.
THANKS VERY MUCH.

Related

[App] Power Switch - screen off by closing your case!

Power Switch
Save power by turning off your device's screen whenever you shut the case!
Power Switch is a tool for devices with cases - somewhat like the SmartCover, it will turn off the screen when you shut the case.
If you have a device with poor battery life, Power Switch can save tons of juice by switching it off entirely after a given amount of time asleep.
Features:
- Sleep seconds after shutting case
- Automatic shutdown
- Set up a schedule using Night Mode
- Configure sensor sensitivity
- Facedown to turn screen off
- Persistent notification
- Uses almost no power
The app has gone through an extensive testing process here at XDA under another name. Thanks to everyone who helped make it happen, you're the best!
However, this testing showed that some features of that app were not all that useful, and some were conspicuously absent. To save both you and us a lot of grief, we made the second-generation Killswitch.
If you have any comments or suggestions, please use this thread. I daresay Im known as a kindly developer always open to suggestions.
If you want to upgrade from Killswitch, send an email to the address in my signature containing the words "KILLSWITCH REFUND" and the order numbers of both Killswitch and Power Switch. I will then refund you the cost of Killswitch, and you will have Power Switch.
Lite
This version limits the cool down timer - it works just as well, but doesnt save as much juice!
https://market.android.com/details?id=fahrbot.apps.powerswitch.demo&feature=more_from_developer
Pro
Has all the juice-saving power and customization!
https://market.android.com/details?id=fahrbot.apps.powerswitch.pro&feature=search_result
Works on Gingerbread handsets?
Yes, works on 2.0+. No need for root either.
Any opinions?
Anything else?
Pretty clever implementation of the dialog box, all of the buttons on that is very useful and I will be using this app for my tablet
Enjoy, and please leave suggestions and market reviews, they help a lot!
Any suggestions guys?
I like the app's style and potential.
Maybe you could give consideration to some of the following as potential future features:
- Option to mute/unmute
- Scheduled backup for rooted devices?
- Check for updates (scheduled times?)
- Change data sync frequencies
- Enable/disable location services - root (Latitude etc)
- Kill/enable WiFi/mobile data
- Auto reply to SMSs (option to specify time period)
None of the above are at all thought through by me but you might see some potential that perhaps you hadn't been considering. If you think it's all a load of [email protected] Just ignore this (at least you got a free bump).
nobnut said:
I like the app's style and potential.
Maybe you could give consideration to some of the following as potential future features:
- Option to mute/unmute
- Scheduled backup for rooted devices?
- Check for updates (scheduled times?)
- Change data sync frequencies
- Enable/disable location services - root (Latitude etc)
- Kill/enable WiFi/mobile data
- Auto reply to SMSs (option to specify time period)
Click to expand...
Click to collapse
Mate, these are good ideas, but the app really has a different purpose. I am in fact working on something else where these ideas would be more appropriate...
Works great for its intended purpose. Gracias.
Good to see you in this thread tivo, thanks for the thanks!
So based on the description of what this does...
It has no reason to access the internet, but it does.
It has no readon to read my phoen state etc, but it does
It also has no reason to modify my SD card contents, but it does.
I'd like to try this as it may be quite useful. But Im sorry, there's no way Im going to try it given the permissions it seems to require for no stated reason!
Man id really love to reply in a smarmy, pushy-noob destroying, paranoia dispelling way, but you do have a point.
Internet - license, debugging, flurry (very coarse, national level)
Read data - debugging
SD - debugging log creation
Phone state - disables itself during calls (duh)
See i could have said anything there and you would never know (ehm google, htc, amazon).
But im a community dev here. With quite a few apps and a little respect i like to think.
ftgg99 said:
Man id really love to reply in a smarmy, pushy-noob destroying, paranoia dispelling way, but you do have a point.
Click to expand...
Click to collapse
Ive nothing against you or your app, but having looked at many things to buy on the market, Ive yet to buy a single one due to the level of permissions they seem to require with no reason given.
I suspect flurry isnt used for poping up annoying ads for "Also by the same author". Yes I know! But I found one free game I liked that insisted on running a background service whose sole purpose seemed to be to download advert details and show notifications of the other games produced by the publisher. A few in game ads I can live with, but not that level of annoyance.
Sorry rant over. Time to find the credit card I think
flurry is just a statistics service, the thing youre talking about is called airpush, its evil incarnate.
Unfortunately it seems this isnt going to work with my transformer and my case
Ive turned the sensitivity down to 1% and it still thinks its too dark and starts to turn the screen off. If I set it to 0% it doesnt start to turn things off at all. This is under energy saving lights or standard fluorescent lights which may be having some effect I guess. Certainly the front camera is quite dark under these lights.
Additionally, when I close the cover I suspect the screen light is reflecting from the cover and lighting the sensor enough to keep things still running unless the screen is really dark. (Even with the cover closed I can see light from the screen through gaps) Turning the sensitivity to a larger percentage would fix that of course, but then it will start turning off while Im using it
What case is this?
ftgg99 said:
What case is this?
Click to expand...
Click to collapse
Sorry, meant to add that in!
Its this Tuff-Luv one
I dont see any holes in it...

[APP][FREE][2.2+] IntelliCover - Proximity Sensor Based Screen Control (And MORE)

Finally got my app up and running on the Market and being a die hard xda user, I thought it would only be appropriate to post it here for fellow users to enjoy. =)
IntelliCover is a utility which uses your device’s proximity sensor to control its display and allow fast and efficient access to your phone or tablet.
It turns the screen turns off automatically when you put your device in your pockets, close its flip cover, store the device in a bag, or even just leave the device facing down on a table. As soon as the device is back in your hand the proximity sensor is triggered again, the screen turns back on and your phone is instantly ready for use.
IntelliCover is more feature-filled than any other similar application on the market. And the best part? It's FREE!
Click here to visit the market page and download the app for free
P.S. If you find a bug, I'd appreciate if you could report it to me before giving a bad rating because it usually only takes me less than a day to fix.
*** Features ***
Calibration:-
Proximity Sensor Delay – Add a delay to the time takes to trigger the sensor and turn the screen off.
Application Settings:-
Automatic Unlock – Automatically dismiss the Unlock Screen, provided there is no password. *Experimental*
Disable in Landscape Mode – Disable the proximity sensor when an application is in landscape mode.
Go to Home Screen – Show the home screen when the screen turns on.
Screen Off Only – The screen will turn off but not on when the proximity sensor is triggered.
Screen On Only – The screen will turn on but not off when the proximity sensor is triggered.
Start on Boot – Automatically start the IntelliCover service when the device turns on.
Notifications:-
Proximity Warning – Vibrate every time the proximity sensor is triggered.
Status Bar Notification – Show an ongoing notification in the status bar.
Screen On and Off Actions:-
Airplane Mode – Enable or disable airplane mode.
Auto Rotate (will be removed) – Activate or deactivate.
Auto Sync – Activate or deactivate auto-sync.
Bluetooth – Enable or disable Bluetooth.
Haptic Feedback (will be removed) – Activate or deactivate haptic feedback.
Ringer Mode – Switch ringer mode to Normal (Sound with Vibration), Vibrate or Silent.
Wi-fi – Enable or disable wi-fi.
*** Frequently Asked Questions ***
Q) Is it really free? Where are the ads?
Ans) IntelliCover is completely free and has no ads whatsoever!
Q) Do I require a rooted device to use IntelliCover?
Ans) Nope. IntelliCover works on all supported phones and tablets, rooted or unrooted.
Q) Doesn’t using the proximity sensor consume a lot of battery?
Ans) Actually, the proximity sensor consumes minimal power, almost little enough to be insignificant.
Q) What are the ‘Screen On’ and ‘Screen Off’ actions?
Ans) IntelliCover allows you to set events to be triggered when the screen turn on or off. For example, by setting wi-fi to turn on when your screen turns on and setting it to turn off when the screen turns off, you could save a huge amount of battery power.
Q) Can I request a feature?
Ans) Of course! Head over to the Contact section to drop me an e-mail.
Q) Why does IntelliCover keep running in the background?
Ans) It has to run in the background to know when the proximity sensor is triggered.
Q) Can I donate to the developer?
Ans) Not yet but hopefully I’ll have something set up soon.
*** Permissions Required ***
INTERNET - Required for error logging (to send crash reports)
WAKE_LOCK - Required to unlock screen
WRITE_SETTINGS - Required to toggle ringer mode
VIBRATE - Required to vibrate phone
RECEIVE_BOOT_COMPLETED - Required to detect phone boot
WRITE_SYNC_SETTINGS - Required to toggle autosync
READ_SYNC_SETTINGS - Required to toggle autosync
BLUETOOTH - Required to toggle bluetooth
BLUETOOTH_ADMIN - Required to toggle bluetooth
ACCESS_WIFI_STATE - Required to toggle WiFi
UPDATE_DEVICE_STATS - Required to toggle WiFi
CHANGE_WIFI_STATE - Required to toggle WiFi
*** Contact ***
Feel free to contact me at [email protected] with any issues, bug reports, feature requests, suggestions or queries. Please read the FAQ above before sending an e-mail to avoid redundancy.
Click here to visit the market page and download the app for free
Hello! I love the app! I just installed it, and it works great so far keep up your good work!
Sent from my HTC Sensation Z710e using xda premium
Seems good, some questions though.
1. Is it supposed to be able to turn the screen on? Take phone out of pocket, proximity sensor detects values that indicate there's nothing near (Sorry, dunno how / what values are calculated / used) and viola, screen on?
2. Dunno if I've set it up incorrectly. But, currently, if I turn on my screen, via the power button (Sony Xperia S), the stock lockscreen will show, and either one of two things will happen. Either I unlock it successfully, and the split second I'm completing the unlock, the phone will screen off, and engage the lockscreen - after unlocking this, can I get into my phone. OR it'll do what I've previously mentioned, without input.
timmy-kidd said:
Hello! I love the app! I just installed it, and it works great so far keep up your good work!
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
Thanks! Glad you liked it! =)
Profool said:
Seems good, some questions though.
1. Is it supposed to be able to turn the screen on? Take phone out of pocket, proximity sensor detects values that indicate there's nothing near (Sorry, dunno how / what values are calculated / used) and viola, screen on?
2. Dunno if I've set it up incorrectly. But, currently, if I turn on my screen, via the power button (Sony Xperia S), the stock lockscreen will show, and either one of two things will happen. Either I unlock it successfully, and the split second I'm completing the unlock, the phone will screen off, and engage the lockscreen - after unlocking this, can I get into my phone. OR it'll do what I've previously mentioned, without input.
Click to expand...
Click to collapse
Yup, it turns the screen on as well. The values are pretty much just FAR and NEAR for most proximity sensors, so once it detects that there's no object close to it, it should turn the screen on. If it's not turning on at all, that might be the root of the problem i.e. it might be causing the unlock issue as well...Hmmm...I checked out your phone specs and since you said "stock lockscreen", I think it's safe to assume you're on the stock ROM but are you still on Gingerbread? If so, that partially explains the issue. Some Gingerbread ROMs have compatibility issues with the app that are very similar to what you've described, I have no idea why but I'm still looking into it. I had to fix ALOT of Gingerbread issues to get it working this far lol. If you're not on GB though, I guess I need to hunt for an Xperia and begin testing/debuggin. :fingers-crossed:
HUGE update released! V2.0 Hope you all like it. =)
Thanks a lot for sharing your app, it looks grate but unfortunately it is not working with my Galaxy note 10.1
Sent from my GT-N8000 using XDA Premium HD app
I like it! Works fine in my SII stock rom. It will be perfect if i could enable a sound notification when turns off the screen. Not really necessary but cool 4 me (car unlock beep-beep)
Thanks mate!
Frank
thanks for the update
working good.
I'm working on adding a widget and changing the design, but if anyone has any better suggestions, I'd love to hear them because design is not as important as functionality.
Love it. great app, and working fine on both my LG Optimus 3D and Samsung Galaxy Note II.
could we have a choice on the notification icon, would be nice to have a small black dot or something. i just like a empty notification bar but understand the need for it to actually be in the notification bar
thanks
other than that this is my fav ap on my phone
won't this drain battery
mikeschevelle said:
could we have a choice on the notification icon, would be nice to have a small black dot or something. i just like a empty notification bar but understand the need for it to actually be in the notification bar
thanks
other than that this is my fav ap on my phone
Click to expand...
Click to collapse
Yea, it's unfortunate that foregrounding requires the notification icon. You could try using the app without foregrounding, it works for some people. Adding more notification icons should be easy, won't take much time. =) Which ones do you think I should add? A small black dot would disappear on most black status bars (but it'll look like there's an empty space in the status bar so it'll look a little weird)...
skyrocketeer said:
won't this drain battery
Click to expand...
Click to collapse
The proximity sensor uses very little battery and the app itself is pretty light (4-5MB RAM). So far I've only gotten one deep sleep complaint out of 3500+ downloads but no battery issues.
im fine with the black dot, it will keep my bar looking empty
mikeschevelle said:
im fine with the black dot, it will keep my bar looking empty
Click to expand...
Click to collapse
Finally! Found a way to completely remove the icon and the notification from the status bar when the app is foregrounded. It'll be in the next update (today or tomorrow). It can still be enabled manually from the Notifications section but yea, enjoy the emptiness of your status bar. xP
Pretty Huge Update. Hope you like it!
Version 3.0
-Added Screen On Fix for some phones (Enable in settings)
-Status Bar Notification/Icon will no longer automatically show up when app is foregrounded.
-Added Pocket Mode
-Added Table Mode
-Added Widget
-Fixed Screen On/Off Actions bug
One thing I notice (which is NO WHERE CLOSE to a big deal)
The launcher I use (Nova) I hide the status bar and use a gesture to bring it down. When ever Intellicover turns the screen on, the status quickly shows itself and then goes back hidden, not more than a half second of this, but I cannot select anything on the screen until after that status bar thing happens
I like the concept of the app, and it works fine with my sensors. I have one complaint though, I don't like how when the phone screen turns on, it opens to the Intellicover App. Sure I can set it to go to the home screen, but I don't always want that. Once Intellicover is running, I don't want to ever see it again unless I manually launch it from the app drawer. If I have Chrome open and I have to suddenly put my phone down or in my pocket, I'd like to pull my phone back out and have Chrome still be on the screen, just like happens now using the sleep button.
Turns my dumb flip cover on my note 2 into a smart cover. Thanks
Sent from my SPH-L900 using xda premium
garfnodie said:
I like the concept of the app, and it works fine with my sensors. I have one complaint though, I don't like how when the phone screen turns on, it opens to the Intellicover App. Sure I can set it to go to the home screen, but I don't always want that. Once Intellicover is running, I don't want to ever see it again unless I manually launch it from the app drawer. If I have Chrome open and I have to suddenly put my phone down or in my pocket, I'd like to pull my phone back out and have Chrome still be on the screen, just like happens now using the sleep button.
Click to expand...
Click to collapse
Actually, that shouldn't be happening. Once set you never have to see it again. I'm not quite sure what could be triggering this but if you could provide a little information about the OS/phone model/etc. I could try to get a hold on the device and try to replicate the error...

[APP][4.0+] Pocket Lock - Dump your power button! Automates locking and unlocking

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Pocket Lock
Dump your power button! Pocket Lock automates locking and unlocking for you.
Download Pocket Lock on the Play Store​
Featured on Lifehacker! - "Pocket Lock actually works exactly as advertised, with no fuss, and that's what makes it such a cool app to have."
Pocket Lock intelligently locks and unlocks your phone for you. Choose from three different locking modes: proximity sensor only, gravity sensor only, and a fusion of both sensors. Just drop your phone in your pocket and it locks. Take it out and it unlocks. Pocket Lock is great for phones with broken power buttons or flip cases.
Pocket Lock is easy to set-up and forget, since it starts automatically on boot, but it also offers advanced customization options. The app is completely free and has no ads. If you have any questions, comments, or concerns, use the Send feedback option in the app to email me directly.
Screenshots:
[IMGhttps://lh6.ggpht.com/rE9Bms28mQjg8CeZVcBaS3YvBtWNWzuPAUnDxQh1oi_moV6T4LLfvxq7l_E8tQStFQ=h900-rw[/IMG]
Click to expand...
Click to collapse
Features:
* Intelligently locks your phone using the proximity and gravity sensor
* Works out of the box
* Intuitive options allow for easy customization
* Keeps your phone off when in your pocket. No more pocket pictures!
* Exclude applications
* Option to only lock or unlock your phone, great for Moto X Active Display
* Disable during phone calls
* Disable when screen is rotated
Notes:
Put your phone in your pocket upside down and with screen facing you for best results.
To uninstall, use the uninstall option in the app menu.
XDA:DevDB Information
Pocket Lock, App for all devices (see above for details)
Contributors
PaeP3nguin
Version Information
Status: Stable
Current Stable Version: 2.4.8
Stable Release Date: 2017-08-20
Created 2014-08-29
Last Updated 2017-08-20
Reserved
FAQs:
Help, my phone keeps locking and I can't use it!
First, try turning your phone upside down and unlocking it. If that works, then you have an issue with your gravity sensor. If that doesn't work, them you have may an issue with your proximity sensor. Restart the phone and quickly open Pocket Lock and change the locking method to "Do not lock", then let me know!
How do I uninstall Pocket Lock?
Use the uninstall option in the Pocket Lock menu.
Why does my phone turn off when I'm using it?
This is likely because the proximity sensor is accidentally getting covered. Try setting the lock delay higher and be careful to avoid the proximity sensor with your fingers. If this still does not work, just change the lock method to not use the proximity sensor at all, which should eliminate the problem entirely.
Why doesn't Pocket Lock unlock my phone?
The Android operating system will slow down the rate of sensor events or even stop sensors when the screen is off in order to save power. While this is great for your battery life, this means that if your phone has been off for a while, Pocket Lock may not wake it up immediately. I have noticed that the proximity sensor seems less prone to this problem than the other sensors, so try covering and then uncovering the proximity sensor.
Why does Pocket Lock use so much battery?
Pocket Lock has to keep your phone's sensors on in order to lock and unlock the screen. Some sensor use more power than others, which will in turn use more battery. Check the Diagnostics page and look at the value for Proximity sensor power usage and Gravity sensor power usage. Change your lock method to only use whichever sensor has the lower value. Consider trying the accelerometer to save battery.
Why does my phone turn off in the dark?
That's your phone manufacturer cheaping out by not using a quality proximity sensor! I would suggest changing your lock method to not use the proximity sensor.
Excluded applications doesn't work!
Recent versions of Android broke the original way Pocket Lock detected what application was running. Please try out excluding at least one app before buying pro If you've bought pro and excluded apps doesn't work, forward your order confirmation to [email protected] and I'll refund you.
What if I only want Pocket Lock to lock/unlock my phone?
In the lock method setting, you can change the locking sensor or unlocking sensor to "Do not lock" or "Do not unlock"
What apps are Pocket Lock incompatible with?
Pocket Lock may not play well with apps like No Lock, SkipLock, custom lock screens, or anything that messes with the lock screen or how the phone locks. Pocket Lock should not cause problems for other apps, though, because it's nice
How can I make Pocket Lock work with delayed lock/smart lock/custom lock screens?
Enable the "Alternate screen off method" setting. Note that the screen may now take a few seconds to turn off.
Why does Pocket Lock need the permission "Device ID & call information: read phone status and identity"?
This is so that Pocket Lock can detect when you're in a call and not lock your phone.
Why does Pocket Lock need the permission to modify system settings?
This is only used if you use the Alternate screen off method. Instead of force-locking your screen, Pocket Lock simply changes your screen timeout to zero, then back to your original setting after locking.
Reserved
Privacy policy:
Pocket Lock does not store or transmit any of your data. Pocket Lock doesn't even access the internet. Pocket Lock only records one statistic: the number of times it has locked or unlocked your phone. The only way this is used is to display to you in the app.
Upcoming features:
Battery analysis: helps you customize settings to use the least amount of battery
Beta downloads:
None at the moment
Add an Active Screen based element. IE enable unlock method on notifications for a set amount of time. Also Pocket Mode (notifications turn screen on unless in the pocket). User could configure ongoing and low priority?
Last but not least: Blacklist
ahrion said:
Add an Active Screen based element. IE enable unlock method on notifications for a set amount of time. Also Pocket Mode (notifications turn screen on unless in the pocket). User could configure ongoing and low priority?
Last but not least: Blacklist
Click to expand...
Click to collapse
Thanks for the suggestions! The blacklist is definitely on the to do list, though I want to make sure the basic functionality works well before starting on that. Pocket Mode is something I hadn't thought of that I'll have to look into. Right now, the app will relock the screen if a notification turns it on, though. Active screen is a cool idea, but I'm not sure if Pocket Lock's purpose warrants adding something like that. I believe there are already pretty good apps for that and Pocket Lock plays well with them. You can set Pocket Lock to just lock the screen and then those apps can unlock when they need to.
Must enter patern after every unlock?
This app sleeps and wakes display fine. However on every wake I must enter my pattern to unlock it. Is this by design?
whomiketodd said:
This app sleeps and wakes display fine. However on every wake I must enter my pattern to unlock it. Is this by design?
Click to expand...
Click to collapse
Right now, that is how it works, yes. Eventually I will add some sort of delayed lock, like Android has naively, but for now, this most closely stimulates pushing the power button. If I just turn off the screen instead of locking the screen, Android may not enter a low power state. Thanks for using Pocket Lock!
Does this cause wakelocks to keep the screen active? How bad is it for battery life?
12gage said:
Does this cause wakelocks to keep the screen active? How bad is it for battery life?
Click to expand...
Click to collapse
Pocket Lock does not use any wakelocks when the screen is on and only very briefly uses a wake lock when unlocking the screen (probably under 100ms). The biggest concern in terms of battery life is how much power your phone's sensors use. Generally, proximity sensor use less power, so if you're worried about power usage, change your lock method to only use the proximity sensor.
You can also check how many milliamps your sensors use on the Diagnostics page in the app.
Working great mate, I will be running it to see how well it works for my uses. Previously I lost my power button on my s3, since then I have been using a gestures to lock. With the home button being my goto button, well I would hate to lose it!
Hopefully this will be battery friendly and efficient for my uses. Thanks mate!
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
kalans said:
Working great mate, I will be running it to see how well it works for my uses. Previously I lost my power button on my s3, since then I have been using a gestures to lock. With the home button being my goto button, well I would hate to lose it!
Hopefully this will be battery friendly and efficient for my uses. Thanks mate!
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
Click to expand...
Click to collapse
Hey, great to hear! If you go to the Diagnostics page in the app and tell me the values for Proximity sensor power usage and Gravity sensor power usage, I can give you an estimate of how much power the app uses and what combination of sensors will use the least power.
Just uploaded the latest update onto the Google Play Store! Let me know what features you'd like to see in the next update. Right now, I'm thinking I'll add the option to use the accelerometer instead of the gravity sensor (saves power), and the option to change the proximity sensor sampling rate.
I tried your app yesterday and while it locked the phone just as expected when I put it in my pocket it took very long (about 2 seconds) to turn on the screen when I took it out of the pocket. I changed the turn on time to very low value (20ms) but that didn't change anything. Will see what the new update brings and if that changes anything.
adl said:
I tried your app yesterday and while it locked the phone just as expected when I put it in my pocket it took very long (about 2 seconds) to turn on the screen when I took it out of the pocket. I changed the turn on time to very low value (20ms) but that didn't change anything. Will see what the new update brings and if that changes anything.
Click to expand...
Click to collapse
Hmm, that's rather strange. What phone are you using? It's possible that Android is slowing down the sensor events when the screen is off to save battery, so it might have taken a while to detect it was out of your pocket.
PaeP3nguin said:
Hmm, that's rather strange. What phone are you using? It's possible that Android is slowing down the sensor events when the screen is off to save battery, so it might have taken a while to detect it was out of your pocket.
Click to expand...
Click to collapse
It's a Nexus 5 running the Slimkat Custom ROM. Not sure if that's helping...
I am trying the all "gravity screen on" now and it's turning the screen on instantly, so sensors shouldn't be the problem.
adl said:
It's a Nexus 5 running the Slimkat Custom ROM. Not sure if that's helping...
I am trying the all "gravity screen on" now and it's turning the screen on instantly, so sensors shouldn't be the problem.
Click to expand...
Click to collapse
Hmm, strange. In the Pocket Lock settings, what is your lock method set to?
PaeP3nguin said:
Hmm, strange. In the Pocket Lock settings, what is your lock method set to?
Click to expand...
Click to collapse
I left it on standard, so both methods.
I didn't change any other setting, only the setting I mentioned above. Well try the new version as soon as I see it in playstore (shows old version so for).
EDIT:
New version seems to work better/faster. I still uninstalled it, as i found out that for my phone usage i am better off without an automatic on/off app. I usually have my phone in the backpocket and before i sit down i take it out but don´t want it to turn actually on or i carry the phone around in my hands.
Anyway good luck with the app!
adl said:
I left it on standard, so both methods.
I didn't change any other setting, only the setting I mentioned above. Well try the new version as soon as I see it in playstore (shows old version so for).
EDIT:
New version seems to work better/faster. I still uninstalled it, as i found out that for my phone usage i am better off without an automatic on/off app. I usually have my phone in the backpocket and before i sit down i take it out but don´t want it to turn actually on or i carry the phone around in my hands.
Anyway good luck with the app!
Click to expand...
Click to collapse
Good to hear the new version is working better. Hey, thanks for using Pocket Lock!
New update just uploaded. I've sort of given up on the gravity sensor. Even though it's supposed to be more accurate, it tends to use way more power and seems to have problems on Samsung phones. The next update will default to using the accelerometer, though there is an easy checkbox to disable that change.
Could you guys let me know what the Gravity sensor power usage and the Accelerometer sensor power usage values in the Diagnostics screen show? I'm pretty sure that the accelerometer should universally use less power.
Just downloaded this a few hours ago and it's been great. The app UI itself is nice, too!
I particularly like the vibrate/sound on lock and unlock. Any chance you'd let us pick our own sound in the future?

[APP][Android 6+] Ambi-Turner - wake up ambient display

I've created an app that wakes ambient display when you take the phone out of your pocket or if you have the phone face down and turn it over. The app is in addition to Google's ambient display and does not change your lock screen in anyway. It can also set "pulses" of ambient display. The free version allows you to have it always pulse while charging.
I added a few other paid features for tilt or lift to unlock, wave to unlock, pulsing at an interval, and battery percentage display on the ambient display.
Please let me know if you have any suggestions or run into any problems. Thank you!
Check it out: https://play.google.com/store/apps/details?id=com.compass.ambiturner
Pulse means, as long as i have for exampel a unread whatsapp message, ambi is showing at the set pulse time?
Maybe ill test it on OP3 with CM14.1 running ... will report back!
MultiCulti said:
Pulse means, as long as i have for exampel a unread whatsapp message, ambi is showing at the set pulse time?
Maybe ill test it on OP3 with CM14.1 running ... will report back!
Click to expand...
Click to collapse
Correct. There is a filter for you to choose which apps can trigger a pulse. The pulse timeout is how long do you want the pulses to continue before it stops (to save battery). Pulse will temporarily pause when your phone goes into deep sleep. I could wake it up, but that's a much larger battery hit.
The other features seems to have little to now battery impact. Pulse is fine as long as the interval isn't set crazy low.
So far I've only personally tested it on stock Pixel XL.
ok, so far its working fine here!
Just the pulse isnt working (tried whatsapp and google messenger)
Love the idea off showing the battery, but its not that looking good :silly:
but i think, you just can manage this as "notification", or am i wrong?
anyways, good idea so far, will follow (bought it anyway) :laugh:
MultiCulti said:
ok, so far its working fine here!
Just the pulse isnt working (tried whatsapp and google messenger)
Love the idea off showing the battery, but its not that looking good :silly:
but i think, you just can manage this as "notification", or am i wrong?
anyways, good idea so far, will follow (bought it anyway) :laugh:
Click to expand...
Click to collapse
The battery level is a notification. I'll create a custom layout to improve the look in a future update.
The pulse is the least reliable feature. I'm still working out the kinks, but doze and deep sleep definitely are one problem. I'm testing various ways and will try to get it as consistent as possible.
Alarm Manager would work but it would drain battery.
Looks great! Just to confirm - you need to have a lock screen set up for it to work?
poczynek said:
Looks great! Just to confirm - you need to have a lock screen set up for it to work?
Click to expand...
Click to collapse
Yes, it works with androids Ambient Display. So if you have that and it's turned on it should work.
So I've done some limited testing with the app white listed from doze and so far it improves the responsiveness significantly. I don't know the battery impacts yet, but if it's not noticeable I'll add code to prompt users to white list it.
Other upcoming changes:
Advanced settings to adjust wait times for how long the phone has to be in your pocket or laying flat before a wake can occur.
A pulse option that initially pulses faster when a notification comes in, and progressively shows down until the timeout.
Possibly change in lock screen battery indicator appearance.
Filter on laying flat thresholds. I suspect the accelerometer incorrectly reports the phone tilted while it is laying flat on occasion.
New update posted.
I may have discovered what is causing the intermittent nature of wave to wake. I made some changes in how I'm using the proximity sensor so that should help. I'll have to wait and see after a day or so of use to see how consistent it is.
I also added an option to turn off the wake from pocket.
There's now a help screen with an email developer button and some troubleshooting hints. I've been getting a large number of 1 star reviews, and many of them are people who don't realize you need to have ambient display turned on and a lock screen set, so I included more info on that.
Oh, and the notification is now hidden unless you have the Battery Indicator selected!
If anyone is still having problems with tilt to wake please let me know. On my Pixel XL that has been working every time all day. There is sometimes a delay, but I think that's due to the aggressiveness of Android 7.1 putting the device into sleep.
Awesome app. I bought it mainly because of Wave To Wake, but for some reason it works two times on my Nexus 6 and then stops working until I turn my screen on and off again. Oh, and I've already whitelisted Ambi-Turner from the battery optimisation.
Also I would love if you could make Ambient Display work as soon as I turn the screen off, without having to wait for 10 or 3 seconds.
Thank you a lot for your hard work, I hope this can be fixed. Please contact me if I can help with anything!
Ygor Cortes said:
Awesome app. I bought it mainly because of Wave To Wake, but for some reason it works two times on my Nexus 6 and then stops working until I turn my screen on and off again. Oh, and I've already whitelisted Ambi-Turner from the battery optimisation.
Also I would love if you could make Ambient Display work as soon as I turn the screen off, without having to wait for 10 or 3 seconds.
Thank you a lot for your hard work, I hope this can be fixed. Please contact me if I can help with anything!
Click to expand...
Click to collapse
I'm trying to get wave to wake as consistent as possible. Did you update last night? Let me know if that helps it.
I'm actually working on some advanced settings to let you control those timeouts.
grokus said:
I'm trying to get wave to wake as consistent as possible. Did you update last night? Let me know if that helps it.
I'm actually working on some advanced settings to let you control those timeouts.
Click to expand...
Click to collapse
I'm testing it right now and it's still quite inconsistent. Though I never know if I'm waving too fast or too slow, you know? Maybe if there was a way to make it more sensitive? Thanks for the attention! ;D
Edit: just to be clear, Wave To Wake does only work two times, but I discovered that I don't actually need to turn the screen on for it to work, I can just move the device (then Ambient Display will turn on) and after that the Wave To Wake will work again (though still only two times). I believe it has something to do with the time after it's been awake or something like that.
Android Wear Issue
Ok...I love the app when its working and even bought the Pro. So worth it to me.
This morning I forgot my Android Wear watch (LG Urbane) at home and Ambi Turner was working perfectly. I had to run home at lunch, grabbed my watch, turned it on and now Ambi Turner isn't working.
Any thoughts how to get around this?
mschumacker said:
Ok...I love the app when its working and even bought the Pro. So worth it to me.
This morning I forgot my Android Wear watch (LG Urbane) at home and Ambi Turner was working perfectly. I had to run home at lunch, grabbed my watch, turned it on and now Ambi Turner isn't working.
Any thoughts how to get around this?
Click to expand...
Click to collapse
UPDATE: I turned off the 'Mute' for my watch and Ambi Turner started working again. Hmm...gotta thing this one through. Turning on Mute alerts my watch, but I also see them on Amber Display.
Ygor Cortes said:
I'm testing it right now and it's still quite inconsistent. Though I never know if I'm waving too fast or too slow, you know? Maybe if there was a way to make it more sensitive? Thanks for the attention! ;D
Edit: just to be clear, Wave To Wake does only work two times, but I discovered that I don't actually need to turn the screen on for it to work, I can just move the device (then Ambient Display will turn on) and after that the Wave To Wake will work again (though still only two times). I believe it has something to do with the time after it's been awake or something like that.
Click to expand...
Click to collapse
I'm adding some customization for the wave timeouts. I wish I could measure hand distance from phone but the pixel and nexus sensors don't have that granularity the way moto phones do.
mschumacker said:
UPDATE: I turned off the 'Mute' for my watch and Ambi Turner started working again. Hmm...gotta thing this one through. Turning on Mute alerts my watch, but I also see them on Amber Display.
Click to expand...
Click to collapse
Hmm that's strange. I'm using a garmin fitness watch that has notifications and haven't seen anything like that. Does your watch somehow mute notifications on your phone so that only the watch displays them?
grokus said:
Hmm that's strange. I'm using a garmin fitness watch that has notifications and haven't seen anything like that. Does your watch somehow mute notifications on your phone so that only the watch displays them?
Click to expand...
Click to collapse
Yes...there is a setting in Android Watch (Silence phone while wearing watch ) in the new version. It used to be 'Mute calls and notifications'. Its actually very handy so that when I'm in a meeting, I just get a vibration on my watch instead of my phone making any noise. Add the 'Feel the Wear' app where you can customize the vibration pattern per app...just a great combo.
EDIT: Since I just got a new version of Android Watch, it seems I can turn on the Silence option and the AmbiTurner, wake on wave, is working! Woo HOO!
Made tons of improvements. Tilt to wake should be extremely reliable now. There is also a lift to wake option. I reduced the speed you need to wave, so it should be much easier to trigger now. I also added an option to always pulse while charging.
Let me know how it works!
I had taken a break from updating it because I became a father but I have a little spare time now.
grokus said:
Made tons of improvements. Tilt to wake should be extremely reliable now. There is also a lift to wake option. I reduced the speed you need to wave, so it should be much easier to trigger now. I also added an option to always pulse while charging.
Let me know how it works!
I had taken a break from updating it because I became a father but I have a little spare time now.
Click to expand...
Click to collapse
@grokus is this app still being developed?
Sent from my LG-H990 using XDA Labs

[GUIDE] How to have screen auto on/off with any "flip" case

Hey there folks!
Since MiA1 does not have double tap to wake, or you just want funcionality of waking screen and be ready to go with ANY flip case you
might have bought (and screen off when you close it) here is a simple guide to achive so, i have been testing it for 5 days and so far it works flawlessly.
So far im getting only 1% of battery usage overall, meaning the app itself is NOT keeping CPU awake, only the proximity sensor to determine if the case
is closed or not. Really battery friendly overall. Dont know the bad reviews on PlayStore - people moan about anything these days and app does not
work well with any device, but with A1, its a bingo.
1. remove your lockscreen security (set to none) - this is up to you! If you have your phone with you at all times, it
removes the need to do extra steps (draw pattern, PIN, etc...). If you prefer to open case and be taken to locksceen, skip this step!
2. install "EveryCover" DOWNLOAD - !app is add supported! - also, there is paid version which i have so i support the dev, but free one works just as well!
- enter ap and activate the service (works by using Device Admin)
- tick "Auto start at Boot" - so service keeps running after restart
- tick "Service in notification bar" - it will prevent app to be killed by system - more on that later!
- you can even set the time period in which app is inactive (ex. - when you sleep at night)
3. Test the funcinality. Just open and close your case, like you normally would (not 2 times in 1 secs, right ). In my testing of daily usage it almost never "misses".
The screen on is almost instant when you flip the case and screen is set to off after 1 sec of closing case. I tested many many times to see if the screen really switches off, and it
works great. I will also mention that it seems to work even in almost pitch dark (!) and no problems on indoors on evenings etc... It seems that the app is really good at listening to
sensor, or we have a really good proximity sensor on A1!
OPTIONAL STEPS:
Now if you are perfectionist or just like me, 2 things may bother you with this setup, and i will also explain steps how to deal with them.
4. persistant notifications - if you enabled "Service in notification bar" there will be constant notification which may bother you. To deal with this, just long press
on the notification and switch the toggle to the right. (or you can go to app settings and do the same, turn off notifications)
5. "EveryCover running in the background" notification - the last problem you may encounter, altho only the visual one, can be pain to watch. To disable this notification just download this app:
HERE!
Just enter app, grant permission, select "Press to select apps" and choose EveryCover.
You are done! This way, you have:
- working screen on/off solution for ANY flip case
- clean status bar without unnecessary notifications
- persistant service that will NOT be killed by system or after restart
- all that with only 1% of battery usage and no impact on performance what so ever.
Dislclaimer; I am not a dev of any apps mentioned here.
Cheers, hopefully this helps someone!
Magnetic wake / sleep works if you can find a case with magnet placed at correct place built in case.
Phone wakes and sleeps when opened or shut automatically with this feature. Don't be confused with smart cases as not the same thing. I'm late with this reply but works with many phone Inc all my xiaomi phones

Categories

Resources