[App] Power Switch - screen off by closing case - Galaxy S II Themes and Apps

Guys, im the developer of Power Switch, an app that switches off your tablet's screen when you shut the case.
The main thread can be found here:
http://forum.xda-developers.com/showthread.php?t=1277712
Ive had reports of problems with the light sensor, so would appreciate some debugging feedback.
You can use the lite version to test, it has all the features, but just wont save as much juice.
Thanks in advance. Feel free to reply here or in the main thread, i read both regularly!

Anyone? Feedback appreciated!

Don't have a tablet so wouldn't be using this app but i use 1 of your other apps screenshot ER and like it

Soory should have changed that to phone. This app will work even better on phones, as they have a proximity sensor!

Related

[App] Wave Control - Control your phone without even touching it

Wave Control uses the proximity sensor to detect hand gestures to control music playback (free version) and more (paid version).
Update (10/11/2012): Half of proceeds from app sales from October will be donated to Breast Cancer Research
More Info Here
Update (9/7/2012): New Tasker Support for changing profiles in Wave Control!
Update (31/08/2012): Jelly Bean users are getting force closes in the Play Store app when navigating to Wave Control -- The free version's apk is available to download on this post. Please if it's working for you in Play Store download from there.. I need the install count
I developed this on the Note and luckily it happens to have one of the best proximity sensors (at least for my uses). Works best on the Note and Galaxy Nexus. Not so great on HTC phones and SGSII due to their particular sensors (much slower).
There are 4 basic gestures:
-Hover
-1 Wave
-2 Waves
-3 Waves
By default they correspond to Play/Pause, Next, Previous, Enable/Disable Controls respectively.
In the Pro version, they can be remapped to any of those plus: Turn Screen On, Volume Up, Volume Down, Launch Google Voice Search, Alt Play/Pause (for MX Video Player), and do nothing.
Popular uses are:
When driving, don't have to take your eyes off the road to try to hit a button
When your hands are dirty so you don't smear crap all over your phone like when cooking or working on car
While on the computer, you don't have to bother waking the phone to change the song (works even when the screen is off)
I'd like to see what you guys think of it. If you have any suggestions for new features or any feedback, I'd love to hear it.
Google Play Store Links:
Free Version
Paid Pro Version
Here are a couple youtube video demos:
and more of the Pro features:
I've got an identical post in the Galaxy Note forum. I'm limiting the call for feedback to these two devices for now since they have the most responsive sensor.
Holy crap, this is awesome.
Sent from my Galaxy Nexus using xda premium
Looks good, so far. I already paid for it, in support of where I think it might go. It would be interesting to see the ability to launch other apps besides Voice Search, chosen by the user, rather than hard coded. This would open up lots of possibilities.
I think this would not work in the night or in dark rooms?!
Otherwise this is really cool!
Meep70 said:
Looks good, so far. I already paid for it, in support of where I think it might go. It would be interesting to see the ability to launch other apps besides Voice Search, chosen by the user, rather than hard coded. This would open up lots of possibilities.
Click to expand...
Click to collapse
Yeah been rolling this idea around for some time. I've been kind of lazy about implementing it. I think I'll start coding it up to include in the next update unless a bug pops up first.
Thanks for the support!
kickr said:
I think this would not work in the night or in dark rooms?!
Otherwise this is really cool!
Click to expand...
Click to collapse
If I used just the light sensor then, yeah it would have that limitation. The proximity sensor (on the same chip) uses an IR LED to light up the near object and the light sensor to detect the IR reflection.
Hows the battery usage of the app? I am presuming that app is always running in the background polling for some action in the proximity sensor.
Pat123 said:
Hows the battery usage of the app? I am presuming that app is always running in the background polling for some action in the proximity sensor.
Click to expand...
Click to collapse
For me, it's been a little under what the music player uses. The system broadcasts on state changes of the sensor so I don't have to poll. Which is quite nice.
This is phenomenal. I like the potential!
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
ArmanUV said:
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
Click to expand...
Click to collapse
I was thinking the exact same thing too. Awesome, but potentially a battery drain.
Blazing on my Nexus Prime using xda premium
ArmanUV said:
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
Click to expand...
Click to collapse
15israellai said:
I was thinking the exact same thing too. Awesome, but potentially a battery drain.
Click to expand...
Click to collapse
Yeah, it holds a Partial Wakelock.
If someone knows how to still receive state changes from the proximity sensor without a Partial Wakelock, please let me know!
I'm always looking for ways to make the app for energy efficient. Working with the screen off saves a lot of battery since the screen is usually the biggest consumer of power.
If you want to know for sure how much battery it uses, just try it out. If it uses more battery than you feel is acceptable for the functionality, stop using it. It's not something to leave running in the background indefinitely.
I would love a sensitivity toggle. For me, the response time seems slow.
MarksThinkTank said:
Yeah, it holds a Partial Wakelock.
If someone knows how to still receive state changes from the proximity sensor without a Partial Wakelock, please let me know!
I'm always looking for ways to make the app for energy efficient. Working with the screen off saves a lot of battery since the screen is usually the biggest consumer of power.
If you want to know for sure how much battery it uses, just try it out. If it uses more battery than you feel is acceptable for the functionality, stop using it. It's not something to leave running in the background indefinitely.
Click to expand...
Click to collapse
it doesn't have to be that way. Why not give the user an option to disable the wake lock so that the app works only when the screen is on?
Also, can you explain the Pocket mode and the "Headphones unplug exit" options? I read the description about Pocket mode but I'm not sure I understand: Is a false positive 3 wave gesture so common that there needs to be workaround for it? Furthurmore, when does the app need to be in front? If the screen is on but the app is in background, chances are the user is actually using the phone.
ArmanUV said:
it doesn't have to be that way. Why not give the user an option to disable the wake lock so that the app works only when the screen is on?
Also, can you explain the Pocket mode and the "Headphones unplug exit" options? I read the description about Pocket mode but I'm not sure I understand: Is a false positive 3 wave gesture so common that there needs to be workaround for it? Furthurmore, when does the app need to be in front? If the screen is on but the app is in background, chances are the user is actually using the phone.
Click to expand...
Click to collapse
Yeah perhaps that could be a replacement for the pocketmode.. just disable the wakelock.
Pocket Mode was a user request. I guess the person had fairly baggy pants such that the controls were getting reenabled and music started playing while they were walking. So all it does is prevent that from happening. It's raised more support questions than it addressed so it does need to change.
The headphones unplug exit is an auto exit of the app when you unplug your headphones. It used to just be the way the app behaved but I had a request to be able to disable it.
Having to have the app in front is more of a carryover from before I had the notification icon change with enable/disable. It was just to make the user see the status change. I had kinda forgotten about it.
All good points! Thanks for the feedback.
I think I'll change Pocket Mode to something like Only Work With Screen On and then just toggle the wakelock. More straight forward.
Thanks again!
Pocket Mode
Galaxy Nexus CM9 nightly, Pro version - Pocket Mode is turned on in settings, but app continue to work with screen turned off.
200mpx said:
Galaxy Nexus CM9 nightly, Pro version - Pocket Mode is turned on in settings, but app continue to work with screen turned off.
Click to expand...
Click to collapse
Yeah the current implementation only prevents a re-enable. So, until you disable it, it'll still work. I'll be changing that soon to avoid confusion.
------
So this fun... it still works without the wake lock. Now I'm thinking back to why I put it there in the first place.
I think I had read that on some phones it's required to still receive sensor data, but not all. So I guess my Note doesn't require it. I get down into deep sleep without the wakelock (as long as music isn't playing) and am still able to start music back up. Sweet.
Now how to word the option to not confuse non devs....
MarksThinkTank said:
Yeah the current implementation only prevents a re-enable. So, until you disable it, it'll still work. I'll be changing that soon to avoid confusion.
Click to expand...
Click to collapse
It will be great to have real Pocket Mode - if Hover lasts more that 1 sec (or other time, better make it adjustable in settings) turn on real Pocket Mode - disable controls
---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------
MarksThinkTank said:
I think I had read that on some phones it's required to still receive sensor data, but not all. So I guess my Note doesn't require it. I get down into deep sleep without the wakelock (as long as music isn't playing) and am still able to start music back up. Sweet.
Now how to word the option to not confuse non devs....
Click to expand...
Click to collapse
Great news, hope it is the same for Nexus. As for the wording - "allow deep sleep" maybe?
200mpx said:
It will be great to have real Pocket Mode - if Hover lasts more that 1 sec (or other time, better make it adjustable in settings) turn on real Pocket Mode - disable controls
---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------
Great news, hope it is the same for Nexus. As for the wording - "allow deep sleep" maybe?
Click to expand...
Click to collapse
Yeah that might a good way to activate it.. hmm.
I ended up just settling on Wake Lock.. see how many questions I get about it.
I just posted V1.50:
-Wake Lock as an option, default is off
-Pocket Mode now disables everything when the screen is off
-Tweaked the timing for the SGSII
-Fixed a bug for the play/pause on MX Video (forgot to put this in the app's changelog)
-Pro gets Screen Off command
Thanks for great feedback guys! It's helping me quite a bit.
Still to come:
For Pro: Launch any installed app
Adjustable timing for the gesture window
Ingenious.
Sent from the future.
This is awesome.
Sent from my Galaxy Nexus

( share ) Screen Lock with CRT Animation Off

Hi all ... just want to share good screen lock apllication ....
https://play.google.com/store/apps/...EsImNvbS5pZ2xpbnQuYW5kcm9pZC5zY3JlZW5sb2NrIl0.
Plus :
- nice icon
- CRT animation effect ( use animation 6 )
- it works on XS Jellybean
- free
Thank's ....
There are lots of apps like this (and I use Screen Off for a long time), is it necessary to open a topic just for this???
If you want to share all good apps you know, welcome. But for just an app?
jaxzkeren said:
Hi all ... just want to share good screen lock apllication ....
https://play.google.com/store/apps/...EsImNvbS5pZ2xpbnQuYW5kcm9pZC5zY3JlZW5sb2NrIl0.
Plus :
- nice icon
- CRT animation effect ( use animation 6 )
- it works on XS Jellybean
- free
Thank's ....
Click to expand...
Click to collapse
Good find bro. Thanks for the share.
OT: just dont mind idiots who discourage other people from sharing in this site. These people somehow think that this forum is just for the "elite"... they've forgotten that the main reason for this forum's success is due to the inputs of ALL.
Sent from my LT26i using xda app-developers app
Seems like a very interesting app to have if your power button is in an awkward place or broken for some reason. I don't find it useful for the Xperia S other than the fact that the phone is slippery as hell (just discovered this today, I never really take off my case and didn't realize how easy it would be to drop the darn thing without a case).
dkconor said:
Seems like a very interesting app to have if your power button is in an awkward place or broken for some reason. I don't find it useful for the Xperia S other than the fact that the phone is slippery as hell (just discovered this today, I never really take off my case and didn't realize how easy it would be to drop the darn thing without a case).
Click to expand...
Click to collapse
Haha...yes it's slippery
I bought XS and case and , like you, never take device out.
I forgat how thin and slippery it is.
And for sharing that app, maybe you could post that somewhere else, but then nobody would see it...
Tnx
Sent from my LT26i using Tapatalk 2
alternative
if you want to try out some nice customization, you can try the new eos rom http://forum.xda-developers.com/showthread.php?t=2273821
It has crt animations, transparency... the works! and it's very fluid
fantasticlord said:
There are lots of apps like this (and I use Screen Off for a long time), is it necessary to open a topic just for this???
If you want to share all good apps you know, welcome. But for just an app?
Click to expand...
Click to collapse
true,there is lots apps like this... but most of them didn't work ....
when you hit , it doesn't give you screen lock, but instead give you blank screen, then goes to screen lock on display ..... ( or if they work, sometimes it's hard when you want to open .. )
trust me, i've try all screen lock app ...
but this app works perfectly, with this you got true screen lock
and you don't have to wearing out that power button, for screen unlock you can try wake up with volume mod ...
Cool app..would've been better if it can wake the screen up as well.
Interesting to see Screen Lock here
Hi friends,
Surprised. :good: This app is created by me , Good to see app info reached XDA before it's developer :laugh:
Want to fix any issues found in this app.
Please let me know: http://forum.xda-developers.com/showthread.php?t=2393938
Thanks,
Prahallad

Knockr Brings HTC’s Motion Launch Functionality to Galaxy SIII

Guys I just wanna inform who dont aware of great news,htc features successfuly working on our phones
App working well on Galaxy SIII
Copy from xda portal post
One of the most interesting proprietary features of the HTC One M8 (2014) is undoubtedly Motion Launch. For those who aren’t familiar with Motion Launch, it essentially allows you to wake your device from sleep and launch certain apps with a few easy gestures such as bringing the device into a particular orientation and flicking your thumb on the screen.
As interesting as Motion Launch is, the feature is unfortunately limited to the M8. Luckily, XDA Forum Member Acela1230 created Knockr to bring some of the same functionality to various other devices. Now before we wet started, it’s important to note that Knockr is only meant for OLED devices. This is because the application keeps the screen “on” even when it is off, in order to accept touch input. This isn’t really an issue with OLED devices, as a black pixel requires next to no power.
Knockr currently supports several gestures including double tapping the screen, swiping in a particular direction (up, down, left or right), long pressing the screen, and pressing the volume up key. These gestures can then be defined to launch applications of your choosing or unlocking the screen.
So if you’ve got an OLED device such as Samsung’s or Motorola’s recent offerings, head over to the application thread and give Knockr a try.
Click to expand...
Click to collapse
Source
App Thread
http://forum.xda-developers.com/showthread.php?t=2741062
working?
Angeloo95 said:
working?
Click to expand...
Click to collapse
Kidding right?
It doesnot work for our S3 because the S3 has not OLED screen But I install it because I am very curios and I see it doesnot work..
djpetros24 said:
It doesnot work for our S3 because the S3 has not OLED screen But I install it because I am very curios and I see it doesnot work..
Click to expand...
Click to collapse
Omg,It's working
IT IS WORKING!!
its working fine.. but will i harm my display???
Working but can't use power or home button after locking.. phone doesn't go in deep sleep... Expect it to be a battery eater...
Sent from my GT-I9300
djpetros24 said:
It doesnot work for our S3 because the S3 has not OLED screen But I install it because I am very curios and I see it doesnot work..
Click to expand...
Click to collapse
It DOES work. S3 have an AM-OLED screen. I tested it and works well, the negative side is deep sleep (phone does not enter in deep sleep because it is awaken all the time by making the screen on but all black), but it is very interesting
shucrut said:
It DOES work. S3 have an AM-OLED screen. I tested it and works well, the negative side is deep sleep (phone does not enter in deep sleep because it is awaken all the time by making the screen on but all black), but it is very interesting
Click to expand...
Click to collapse
yes it is working it have some bugs but its working
i don't think that the phone "dosen't go to the sleep" is a big problem in that case because AM-OLED screen don't consume much power when they are in black mode, just like the S5 when you use the power save mode it turn every thing black and white so that screen don't use much power to save battery
i have use that app like 2 days now and battery draining is not noticeable at all, the Rom i use ( imperuim rom ) hold 23 hours in standby mode when i used this app its 22 hours 20 min i mean u can give a few min of your battery life to this great app
ayoubadri said:
yes it is working it have some bugs but its working
i don't think that the phone "dosen't go to the sleep" is a big problem in that case because AM-OLED screen don't consume much power when they are in black mode, just like the S5 when you use the power save mode it turn every thing black and white so that screen don't use much power to save battery
i have use that app like 2 days now and battery draining is not noticeable at all, the Rom i use ( imperuim rom ) hold 23 hours in standby mode when i used this app its 22 hours 20 min i mean u can give a few min of your battery life to this great app
Click to expand...
Click to collapse
I agree, i said that but i doesnt used the app for one day, i just oppened it to see how it works. The idea is fantatisc and your response answers many people who had this drain feeling because of deep sleep
working but not deep sleep?
rocciacoraggiosa45 said:
working but not deep sleep?
Click to expand...
Click to collapse
Nope
Can any one use knockr tech in fake s5 fingerprint lockscreen!? I think this is awesome!
After check again...is working good...! My apologis for my wrong..!
Just an idea : Why isn't there an app wakes up the screen when we swipe our finger over the menu & the back capacitive buttons starting from left or right (forget the physical home button)?
This is a feature in kernels for phones without a physical home button known as the Swipe 2 Wake feature...
Sent from my GT-I9300 using XDA Premium 4 mobile app
There's an app for that.
Sent from my GT-I9300 using XDA Free mobile app
buge boyo said:
There's an app for that.
Sent from my GT-I9300 using XDA Free mobile app
Click to expand...
Click to collapse
WHERE??
Sent from my GT-I9300 using XDA Premium 4 mobile app

Anyone having double-tap(or swipe) to WAKE on stock 4.4.2?...

Can you help me with a 4.4.2 stock(rooted) kernel or other workaround in order to have this feature?
I just got the phone and I got used to this method from my previous G2 mini. Also saving the power button...
Thanks a lot!
For the moment I'm using this app(touch and release the proximity sensor to wake) - https://play.google.com/store/apps/details?id=com.wolandsoft.wtn It works quite good.
But I would prefer the double tap... If you've got any suggestions, please share...
Check smart screen on off.But it's ridiculous that our device still not supporting the knock on feature as the other devices...Even wp support this.....
Sent from my LG-E986 using Tapatalk
I've used Smart Screen On Off, but then I tried Wakeup Touch Nexus and I found it to be better for me.

Ambient Display Fix?

If any of you clever developers / tinkerers know of a 'lite' app to use to fix the non working ambient display issues I.E. pick up to wake doesnt work, a recommendation would be soooo welcome. I looked at apps like gravity etc in the play store, but they are a. rather large and b. the permissions they require are a bit suspect. Thanks in advance
Did not know something was wrong.
So I pick it up it does not wake up, I think is a good thing. When I pick it up and I want a display, I press something and have no problem with that.
This maybe one reason the Pixel XL has an excellent battery life.
At the suggestion of another user here, I installed https://play.google.com/store/apps/details?id=com.tomer.alwayson
It's reminiscent of Samsung's version but has a lot more customisability. There's also an option to turn of the display completely when the proximity sensor is activated. All of the permissions make perfect sense fit the features you select and it doesn't cause a terrible battery hit.
raynan said:
At the suggestion of another user here, I installed https://play.google.com/store/apps/details?id=com.tomer.alwayson
It's reminiscent of Samsung's version but has a lot more customisability. There's also an option to turn of the display completely when the proximity sensor is activated. All of the permissions make perfect sense fit the features you select and it doesn't cause a terrible battery hit.
Click to expand...
Click to collapse
Cool app, appears to hit battery fairly hard in my test.
bmtbandit said:
Cool app, appears to hit battery fairly hard in my test.
Click to expand...
Click to collapse
That's why I said it wasn't terrible... Lol. It's definitely not great on your battery, but I can still make it through a day with quite heavy usage.
Ambient display is only meant to flash notifications on the screen in black and white for a short period then turn off. As far as I know, the pick up and bump to wake is an OEM added feature that Motorola, Samsung, and likely others added, but it isn't in stock Android.
Sent from my Pixel XL
imnuts said:
Ambient display is only meant to flash notifications on the screen in black and white for a short period then turn off. As far as I know, the pick up and bump to wake is an OEM added feature that Motorola, Samsung, and likely others added, but it isn't in stock Android.
Sent from my Pixel XL
Click to expand...
Click to collapse
On the Pixel XL it flashes only once which i find to be a disappointment. Also on the Nexus 6 , 6P and 5X the notification/time flashed once upon picking up or moving the phone a bit. This is not enabled on the Pixel models for some reason.
AstroDigital said:
Did not know something was wrong.
So I pick it up it does not wake up, I think is a good thing. When I pick it up and I want a display, I press something and have no problem with that.
This maybe one reason the Pixel XL has an excellent battery life.
Click to expand...
Click to collapse
I'm the same way.
But obviously the OP feels different so why bother to post.
This feature does not even work for me at all (but I am able to get the light to pulse). After talking to pixel support for about 30 minutes they did confirm that Ambient display has an engineering problem they are currently working on.
kmdavisjr said:
This feature does not even work for me at all (but I am able to get the light to pulse). After talking to pixel support for about 30 minutes they did confirm that Ambient display has an engineering problem they are currently working on.
Click to expand...
Click to collapse
Damn !! I was going nuts trying to figure out why this phone was not acting like my Nexus 6. lol I loved the Moto display then had to end up liking the Nexus 6 version afterwards. Then this Pixel XL only flashing the notice once then never again was aggravating. and of course no good app on the play store to emulate this function with 7.1 lol
well I hope this engineering problem can be fixed with software. :silly:
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.
I added a few other paid features for pulsing at an interval, wave to unlock, and battery percentage display on the ambient display.
I would love to have a few beta testers for the extra features, as it's a work in progress. Message me if you'd like a free code to redeem for the paid features.
Check it out: https://play.google.com/store/apps/details?id=com.compass.ambiturner

Categories

Resources