yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Acela1230:
Thanks for all the feedback. A couple of follow ups:

1. thanks for letting me know about the on screen navigation buttons. I am currently working on fixing this.

2. The power button unfortunately doesn't work correctly with Knockr. This is because I can't override that button. I am thinking of a way to work around this.

3. Some apps do open slowly (for me Youtube) when swiping. This seems to be a problem with certain apps because other apps open immediately and when Youtube is in recent it opens immediately as well.

4. I am working on starting the service when the device is powered on. I thought I had done this but it doesn't work for me.

5. To be clear Knockr does turn the screen on and this is why it only works with OLED screens since black uses no power and turns those pixels off. This is also why the notification led never shows. This is also why it seems like the power button doesn't do anything when in fact it is turning the screen off.
[Android Apps and Games] webwalk®:
very cool, another phone that has the feature is the oppo find 7a, there it is called "screen off gestures"

you can see it here: http://youtu.be/EcyOMJSpHAA?t=13m31s

custom kernels do also have a "wake-on-touch" feature...

but what do custom kernels differently? they recognize touch with screen off ?
[Android Apps and Games] George_Mn:
This is literally the first time I feel bad for owning a Nexus 5 - but still I won't switch to the Moto X, the display might be good as well, but compared to the N5s display, it's fugly.
[Android Apps and Games] shivadow:
Works ok on galaxy s3 i9300, stock 4.3 mk6.

But.. every minute or two the screen turns off while still using the phone and needs to be woken by touch, if you can add an option to allow lockscreen bypass it'd be complete. Only one thing would make it better after that is xposed.
[Android Apps and Games] PLUG313:
good idea, kinda works

maybe would work better as an xposed module or something that could integrate to the standard android lockscreen
[Android Apps and Games] Raverbunny:
I'd like to know this too, as I use a double tap to wake on my Nexus and it does work with screen off (at least it doesn't cause extra battery drain so I would assume screen is off)

Nexus 7 LTE

AICP rom

LMT launcher
[Android Apps and Games] cableghost:
This is a very good start. Request…would you please add as an Accessibility service or create a Tasker plugin. This would allow one to enable/disable as needed or based on conditions.

Tasker plugin info: http://tasker.dinglisch.net/plugins.html

---------- Post added at 08:02 PM ---------- Previous post was at 07:22 PM ----------

Would it be possible to add an option to disable the Nav bar when active?
[Android Apps and Games] Arch9:
So basically the screen doesn't turn off if i enabled this app? How about the battery life?

Btw worked well for me on i9500 gs4
[Android Apps and Games] kimcuongden1712:
Fantatic, Knocks as Knocks LG7?
[Android Apps and Games] vashollow:
Can it work for MOTO G? :confused:

Thank You.
[Android Apps and Games] Green Pill Zone:
Sounds great but just from this thread I see these issues:

1. Power button locks the screen when the user is expecting it to unlock

2. Phone appears to be asleep but then can go to sleep silently, which stops Knockr working.

3. LED indicator won't work.

4. Proximity sensor stays on.

5. One person has reported serious battery drain (guess we need more than a day to see how this goes).

6. Is this actually locking the device (ie, password protection) at all?
[Android Apps and Games] Acela1230:
1. Power button locks the screen when the user is expecting it to unlock

The power button turns the screen off. I am trying to think of a way to overcome this. It would have been great if I could override the power button but for obvious security reasons android doesn't allow this.

2. Phone appears to be asleep but then can go to sleep silently, which stops Knockr working.

No the phone should stay on as I set a screen on flag. Just like video apps do.

3. LED indicator won't work.

Yes this is something that has to be given up. I am looking into the notification led to try and see if I can get a way to keep it working.

4. Proximity sensor stays on.

The proximity sensor has to stay on to get the proximity. On all the devices that I have tested unchecking the power management in the app stops the proximity sensor service. It only starts when knockr is active.

5. One person has reported serious battery drain (guess we need more than a day to see how this goes).

Over a week a saw no noticeable battery drain on my Galaxy S5.

6. Is this actually locking the device (ie, password protection) at all?

If you have a password set on your regular lockscreen that is activated. This app is on top of that lockscreen. If you do have a lock you have to unlock the screen before opening any apps.
[Android Apps and Games] Acela1230:
Also I have already fixed the navigation buttons showing on devices that have on screen buttons and the boot on start works correctly now. I will be uploading it as soon as I get home in about 1.5 hrs so it should be available in the morning
[Android Apps and Games] lgarnaik:
regarding gesture unlock

I am using GT-I9192 and the application works fine but the only problem is during call so my suggestion is to somehow if possible to add an option to disable the app during calls
[Android Apps and Games] KNIGHT97:
Quite a nice app. This functions great on my Note 2, except for the bugs you marked.

And i have one request as well:mad:

1) Is it possible that for rooted devices this can come in the form of an Xposed module. This can sort out a lot of issues and also prevent running a service in background, which would be killed by deep sleep.
[Android Apps and Games] jimmygzzmtz:
Widget

Would it be possible to have, in a future update, a 1x1 widget that simply turns on or off Knockr? Other than that, I am amazed with this app. Great work!
[Android Apps and Games] xPr0metheus:
Great App! Using it on my Note 3 (SM-N9005) with Galaxy S5 port

some questions:

1. Is the process unkillable? even if I clear the ram with an app? that would be nice, maybe you could give it an xposed addon if not?

2. can you add some more actions to choose from? for example turn on/off flash, pull down notification bar/quicksettings, clear notification bar (that would a great one) etc? :)

thanks for this fantastic work :)

Edit: found a bug - when I uninstall an app bound in knockr I cannot launch knockr app anymore, it always force close
[Android Apps and Games] Droid_Evo_8:
Needs update on double tapping to unlock, turn on screen, open apps or whatever you program it to do since I end up tapping it 4 times or more to automatically open Facebook when screen is turned off.
[Android Apps and Games] xPr0metheus:
open the camera with volume button in landscape doesn't seem to work.

however, I recognised some functions are still there that shouldn't be when screen is "off"

1. you can make Screenshots

2. you can adjust and see volume control pop up

And, as already mentioned by someone, led isn't working.
[Android Apps and Games] tyler78:
Screen orientation must be on for that feature to work.
[Android Apps and Games] xPr0metheus:
thanks works now :)
[Android Apps and Games] Rainman26:
Your power button does not already work that early state of the phone? :fingers-crossed:
[Android Apps and Games] Pfeffernuss:
It will drain on any phone. The fact that an OLED screen doesn't consume any/much energy while displaying a black screen doesn't mean there will be no drain.

The CPU will never go into deep-sleep, the display is still "on" hence the battery will drain severely. These things have been tried before (NoLED) but all drain. Like crazy. This app will as well.
[Android Apps and Games] djazeiry:
it works for the note 3 ?
[Android Apps and Games] sedinix:
I'm installed that yesterday and it works good but today it don't work :/. sometimes I can turn it on by duble tap but 1 on 5 try. anyone have same problem ??

Im on X-Note v14
[Android Apps and Games] Benny Bosser:
Isn't there a way to workaround the no deep sleep and led notifications problem ?

- There are ways to lock the cpu at its lowest value when screen is off. Can't you apply this when screen is entirely black?

- I've seen the function of having led notifications when screen is on in the app called light flow. Can't you use this kind of function to solve the lacking led notifications?

I don't know if all of this is possible, since I'm not a developer, just trying to give suggestions :)
[Android Apps and Games] Fight4Music:
Cool App, i just installed it on my s4. So far - so good :)
[Android Apps and Games] Satano666:
I really really like your app and I really appreciate your work. Here is my bug report

Sometime the screen does not unlock when I double tap, but after I press the power button the screen is still black but after that I can double tap to unlock

As mentioned before the led does not work.

An other issue I recognized was an kind huge battery drain.. my phone went to 50% after half a day, normally I still have 80-90 but app sucker says that this drain is caused by Android system.. If you want I can post Screenshots and maybe log cats ...

Some ideas for the app, maybe try to create a xposed module for root users to integrate the app more to the system so it can't be stopped by Android itselfe, and this way your possible able to remap the power button...

My knowledge in programming are really low so correct me of this does not work the way I think it could..

Galaxy Note 3, X note 14, X note kernel,
[Android Apps and Games] Acela1230:
This is why I have the power management system to help when the phone isn't in use. Also the person reported 20% battery drain in 1 hour which I don't even experience when watching YouTube videos.

Over a week while testing it however without the power management I noticed very little extra battery drain. A normal 8 hour workday I would come home with around 50-60% battery where with Knockr I would have maybe 48-55% battery.
[Android Apps and Games] Pfeffernuss:
You don't say... :rolleyes:

That's not the way to check (idle) drain. Proper way is:

* fully charge phone. don't use app. see how long battery lasts in number of hours, this will be X

* fully charge phone. install app. see how long battery lasts in number of hours, this will be Y.

There is a 100% certainty that Y will be significantly less than X. I Y still acceptable? Great. Will it be (much) less? For sure.

I use double-tap to wake on my Nexus 7 as well. Without DT2W: battery lasts 10 days. With DT2W: it lasts 5 days. Is 5 days still a great result? Yes. Is it significantly less than 10? I would say so. Can you notice this drain when heavily using the device? Not at all. Is the drain however there? Of course it is.

When using your app while having normal/heavy usage the drain won't be very much noticable. However in your quoted battery stats I would already consider that decrease in battery life considerable.

As with all things: YMMV :p
[Android Apps and Games] KNIGHT97:
I checked it this way only, and while I still keep the app, I don't use it much, because it just drains too much in standby.

I would opt for an Xposed module, which hooks to the kernel and enables these gestures, if one existed that is.

Sent from my RPG with auto targeting
[Android Apps and Games] Acela1230:
Well when I did do that over a 1 hour period the battery went to 98% and without it running it was 99%. Now I would say this is negligible because we can't completely turn off everything else and it could have been something like 98.9% and 99.1%.

And again all this is moot if you use the power management which turns the screen completely off allowing for deep sleep.
[Android Apps and Games] Pfeffernuss:
Even more useful would be measuring it over a two minute interval. It won't make any difference. Hence: the app doesn't drain at all.

Problem solved!
[Android Apps and Games] Acela1230:
OK sorry that I don't have unlimited time to test an app, I need to use my phone during the day. This is one of the reasons I posted it on here is to get feedback, not theory as you have given.

It be nice if you could give actual feedback on the app instead of just telling me theory that I have already addressed with the power management system.
[Android Apps and Games] Pfeffernuss:
My Phone (SGS4) uses around 7% battery per hour while using your app. That's around 3x more or so than without using it. Note: only tested it for around 20 minutes or so as I knew in advance, out of experience and common sense, that all these apps drain like crazy and therefor don't use any of them. :good:
[Android Apps and Games] chuko303:
I still get the on screen buttons on when screen is off. Quite annoying and I KNOW it's battery consuming. Will uninstall and install see if that helps. If it doesn't guess ill wait for another update. Note 3 running xnote
[Android Apps and Games] cableghost:
[MENTION=1867148]Pfeffernuss[/MENTION], why don't you give it a rest and move on to another thread.
[Android Apps and Games] chuko303:
Yep. Unninstalling didn't help

---------- Post added at 08:45 AM ---------- Previous post was at 08:44 AM ----------

Great idea tho
[Android Apps and Games] Pfeffernuss:
Are you dense? The developer asked for actual feedback instead of theory. I gave him actual feedback. Which, naturally, coincided with the theory discussed before.

What is your contribution to this thread?
[Android Apps and Games] kirtandoshi:
Nice app. Thank you!

One suggestion :

How about using a combination of the light sensor and proximity sensor to automate activation and deactivation of knockr.

for eg :

1) Keep knockr ON by default, turn off the screen. as long as its in a well lit area and nothing registering on the proximity sensor, it stays ON.

2) when you put it in the pocket, the light sensor detect the change AND the proximity sensor also registers a reading due to the phone being in our pocket and turns off knockr completely.

3) When you pull it out again, the light sensor and proximity sensor again detect the change and enable knockr.

This way you will have one more variable (the light sensor readings) to accurately try to predict where the phone is and control the app.

If you want to add more variable, you might even add the gyro so that knockr is only enabled when phone is lying flat on a table or in a dock (as per user option)

During my usage of the app, my proximity sensor would not disable or enable knockr.

With power management turned ON I put the phone in my shirt pocket and double tapped the screen from outside (meaning the shirt cloth material was between my finger and the screen). it still turned on the screen

With power management turned OFF, the result was the same.

As it is now, the phone does not go into deep sleep as long as knockr is ON. This affects some of my other apps like greenify and cache cleaner, which are scheduled to run when the screen turns off and phone is in deep sleep. consequently, i feel that rather than just knockr, its these other apps which are not killed by either android or such apps like greenify, which start causing the battery drain.

A little more info on what exactly power management does when turned ON would be great too.

hope the feedback helps.. Best of Luck. :)
[Android Apps and Games] cableghost:
Though it hasn't been a 'clean room' environment test as you've expressed, the dev has provided real world experience in terms of batt life, and he's working on improving it. You're not contributing, you're a beat-down.
[Android Apps and Games] Daniol71:
Wow, that was quick! Installed then new update today and the nav bar issue was fixed :D Will test the app as much as I can and report back if I encounter any issues.

Keep up the good work!
[Android Apps and Games] BrgMrc:
Installed yesterday on my Galaxy Note 2...works fine

After play store today's upgrade sometimes knock or slide don't works..sometimes i need 3 knocks or 2 slides to work....

Led notifications don't show anymore
[Android Apps and Games] aapav01:
Sorry it was not working it was working by the proximity sensor and Full function when i use s-view flip cover (when the i open the flip it dont directly unlock the phone but open the app) then the swipe features and other work
[Android Apps and Games] Acela1230:
The proximity sensor removes the screen on flag from Knockr. This means it will take however long for the screen to timeout and turn off but it should turn off. I didn't feel asking to become a device administer just to lock the phone was necessary and it would help with accidental activation when your hand just moved your hand over the proximity sensor.

Judging from some of the comments I think I will add the option to lock immediately in a future update.
[Android Apps and Games] cableghost:
+1 It seems the first gesture turns on Knockr, then a repeated stroke executes the selected gesture.
[Android Apps and Games] BrgMrc:
I don't know...my first install works very well...double tap and slide gesture very reactive...led notification working...after update i miss all these features and without led notification i have uninstalled the app...

i hope in a future update....
[Android Apps and Games] MacLaughlin:
Does anybody has problems with standby? At first the app worked without problems and now the device is always waking up after standby without any reason. Device is HTC ONE
[Android Apps and Games] kirtandoshi:
Aaahhhh!!! that explains a lot...

so sorry i didn't have the patience to wait for two mins (which is my screen out time) before assuming its not working...its working exactly as you described. Does the proximity sensor set the SCREEN ON flag again once the phone is taken out of the pocket so knockr can start working again without us having to switch on the screen using the power button? It doesn't in mine , but it could be my recent app cleaner xposed module or geenify who permanently turn off knockr once the Screen on flag is removed and phone goes to deep sleep. i will try it out with both these disabled and let u know...

thanks!

EDIT : works exactly as you have described. proximity sensor senses phone is in pocket. screen completely switches off and goes into deep sleep after its designated screen out time. Knockr is again activated when phone is taken out of pocket. no need to touch any buttons...just swipe or double tap (as user has set). btw i tried this on the Note 3 , details in my signature.
[Android Apps and Games] Pocket Fan:
Hope to be able to support ICS.

This app is so cool!

:(But I am very sad because it does not support my ICS 4.0.4 devices...

Can you be in the next update add support for ICS?

Thank you very much!
[Android Apps and Games] rvignacio:
Works great on S4 mini (GT-I9190) with CM11, thank you very much for this app =D
[Android Apps and Games] iDpC1:
Working on my S4 I9505
[Android Apps and Games] nonoperez:
Great JOB

Awesome app, thanks dev, I love this app, keep your hard work on.

Working fine in my Galaxy Nexus with Paranoid Android 4.4.2 version.

Just 2 known bugs:

-Notification led doesn't work

-Power buttom doesn't work, only show the switch off animation and a black screen again.

The battery use is great here, 8 hours sleeping at night and only 3% used.

Thanks again
[Android Apps and Games] Satano666:
I noticed something more, sometime I can see the statusbar while screen "off" does anything have to same problem? Or maybe it's because I use immersive mode xposed mod..
[Android Apps and Games] nonoperez:
A feature request: could it be possible to add "turn screen off" to the actions for gestures?

Thanks
[Android Apps and Games] ljjehl:
good app for M7

Works great on my M7, since it has the same screen as the M8 (Super LCD3). You might want to modify the OP that it does work for the M7 (ATT variant, at least) also.
[Android Apps and Games] Acela1230:
I could but this would mess with some of the functionality. I would have to not only remove the feature request but then communicate to the receiver for screen off that Knockr shouldn't be started again. And that may cause problems. Perhaps maybe an option in the settings to not have the screen turn on but just have Knockr open would be better. I'll look into doing something but no guarantees.

I highly suggest not using it on an M7 for now since it turns the screen on and keeps it on. Perhaps after I implement what a mentioned above it would work better for the m7
[Android Apps and Games] ljjehl:
So you're saying it will turn screen on even in pocket? (with pocket mode activated)
[Android Apps and Games] fiedler12345:
My little review...

To my mind the app is working perfectly if you know how to handle with the sensor.

The battery drain is not high, because of the deepsleep when the smartphone is in the pocket.

Tested on my s3 with Slimkat. :highfive:
[Android Apps and Games] tyler78:
It's good and all but when I am talking with someone, screen keeps waking or opening apps I assigned for swipe when my cheek touches to screen. I had to deactivate this app unfortunately.
[Android Apps and Games] chachoi:
Amoled vs Oled

Are they basically the same thing? I'm confused. Based on what I've researched, Samsung branded their OLED displays as AMOLED, SAMOLED etc but is technically OLED.

Also I noticed that my Samsung Galaxy Note 1's screen still emits a small amount of light when placed in a totally dark room, just a little though but might impact the screen milage nonetheless. Maybe due to older tchnology. Just wondering if all Samsung Galaxy Phones behave this way with the app.
[Android Apps and Games] Saratoga79:
Same here, when screen goes off the hard keys light for few seconds and screen seems to not be complety off. Also pressing volume keys shows the volume adjustment bar, same as if screen is on. :(

Running Resurection Remix Rom (4.4.2) on Motorola Razr (XT910).
[Android Apps and Games] alameer:
killing battery

this apps is just give the screen black light

it will always on !!

bad choise
[Android Apps and Games] Satano666:
dude that's exactly how this app works, and that's exactly why you have to have a oled display..

Please read the first post before complaining...
[Android Apps and Games] xPr0metheus:
Can someone explain that to me? when I have an old screen and i open a black wallpaper, the pixels are just turned off? and on an lcd it would be on in a "black" tone?

If it is like that, where is the difference between screen turned off and black screen? only that the sensors are on?
[Android Apps and Games] Acela1230:
I just noticed this as well. Unfortunately in my testing I didn't make to many calls. I am working on a fix which will either be in the next update or the one after.

To my understanding LCD displays have a back light and work by blocking that light a certain amount to create the colors on the display. OLED actually produce the light themselves.

This link may explain it better:

http://electronics.howstuffworks.com/oled5.htm
[Android Apps and Games] Acela1230:
Just uploaded a new update. It has an option to keep screen off, but have Knockr start so when the user manually powers the screen on it will be the top activity. Also shortened the timeout when pocketed to help with accidental touches. And I made it so the swipe action are always the same direction as the portrait orientation. I didn't get any complaints about the last one but when I would sometimes try and open an app I would open the wrong one cause I wasn't holding the device in portrait.
[Android Apps and Games] ravijani:
i saw one app that is similar to this.

it also incorporates lockscreen gestures as you like.

are you planning to do that?

and latest update is very good thank you.

works great and no proximity on or anything else.
[Android Apps and Games] nonoperez:
Working fine here too, in my PA gnex. Add lock screen gesture will be e wonderful.

I'll like to test battery too.
[Android Apps and Games] shihte:
Note 3

Stopped working after while on my Note3 otherwise great idea like Bb10 devices
[Android Apps and Games] lts111:
+1

On my note3, stopped working too.