On my NST Glowlight, I have a case that is beautiful but unfortunately covers the back power button (Verso Prologue Antique Tan, currently a steal on Amazon at $10). When I close the cover, it bumps things on the screen and either opens random books (in ReLaunch) or loses my place (in Coolreader). Does anyone know of a simple app that triggers the screen lock so I can map it to a hardware button? I set a "Lock Screen" shortcut in ReLaunch but at least half the time it doesn't work (instead, it asks if I want to power off). Thoughts?
Install Button Savior and tap its on-screen power button.
cowbutt said:
Install Button Savior and tap its on-screen power button.
Click to expand...
Click to collapse
IMO Button Savior is an eyesore and I can already duplicate all of its functions with hardware button mappings. I want to be able to map power to a hardware button, which I know I can do if I have an app shortcut of some sort.
OK, I found my own solution and it works well enough that I thought I'd share.
I found a whole bunch of screen lock apps but they all require Android 2.2 or later.
Thinking outside the box, I instead downloaded a simple app called "White Screen Flashlight" and mapped it to my n button. Now if I push n the screen goes completely blank and doesn't register touch input, so it's safe. I have the added benefit that if anyone swipes my Nook and wants to see what I am reading, they get a boring empty screen when they turn it on. Sleep mode kicks in as normal.
Alternatively, use http://forum.xda-developers.com/showthread.php?t=1848962 to set a Lock PIN. I combine this with a Tasker rule that disables the PIN if I'm connected to a 'friendly' WiFi network (i.e. my home WLAN) and re-enables it when I disconnect.
cowbutt said:
Alternatively, use http://forum.xda-developers.com/showthread.php?t=1848962 to set a Lock PIN. I combine this with a Tasker rule that disables the PIN if I'm connected to a 'friendly' WiFi network (i.e. my home WLAN) and re-enables it when I disconnect.
Click to expand...
Click to collapse
That is a great idea! I previously set a lock on my Nook ST (pre-Glowlight), but this time I'm simply keeping it disconnected from Google and any sensitive information. There's a bar on the screensaver that gives "please return to..." information. I figure if someone steals it, they won't get access to anything but some books, and if it's lost, a kindly soul may return it.
Related
Does anyone know a software that can toggle touch-screen feature on/off on Magitians?
I don't mean blanking the screenduring a call, but rather a program that blocks screen tapping. I want to operate my S110 with buttons without worrying about accidental screen touches.
Hi
You can always use TPenable.exe and TPdisable.exe from any Extended ROM.
Good luck
Thanks but... TPDisable.exe disables all buttons also. So, it doesn't work for me.
Hi, do a search for "mortsaver".
I know MortSaver. This program turns screen off entirely, not only touch-screen feature. So, doesn't work for me either.
amed said:
I know MortSaver. This program turns screen off entirely, not only touch-screen feature. So, doesn't work for me either.
Click to expand...
Click to collapse
As far i understud, you can configurate it to do what ever you need:
"What is it good for?
MortSaver is a combination of screensaver, keylock, and a "stay off!" function.
Screensaver:
The display's turned off, but the PPC keeps running (e.g. for audio players). In spite to other tools, MortSaver turns off the dispay again if it's been switched on by e.g. an alert or the on/off button.
Keylock: All buttons (except the one necessary for deactivation, of course) are locked, as far as it's possible to me. A few programs sadly use some undocumented tricks, which allows them to get the button presses even if they're assigned to MortSaver in the system, or set themselfes as topmost window, by which the direction pad keys will be sent to this window. Disabling MortSaver can be done either with one button or a sequence of two buttons.
"Stay off!": PocketPCs are often switched on by themselves or accidentally - by alerts (appointments, SMS, ...) or accidental button presses in your pocket. In those cases, MortSaver can turn off the device again after a selectable timespan (so you recognize MortSaver's active and the device alive).
After power on or system-caused disabling of the screensaver, MortSaver shows a countdown until the screen or device (depending on settings, also see instructions), the button(s) to deactivate it, the time, battery level, a user definable text (e.g. owner infos), and on Phone Edition devices also signal strength and hints about missed calls and SMS."
Source Official mortsaver web page:
http://www.sto-helit.de/modules/edito/content.php?id=36
I am not saying that Mortsaver does not deliver what promises. Simply I am looking for something different.
To rephrase what I need in other words:
1/ having screen on (to see what is on the screen)
2/ having device making no reaction on screen taps
3/ having all button working (slider, power, application)
I've configured my S110 to operate and run everything I need on the run by one hand using just buttins. But quite often accidental touch by finger or cloth (when I pulling it of the pocket or putting it back) stops what I run or making a second call to the person I've just talked.
Ok, now i get your meaning. Perhaps yo can ask directly to mort developer as i did many times at his own email witch you can find at his web page.
Look for Pocketmax ScreenGuard works perfectly. Costs some money though.
ScreenGuard ( http://www.pocketmax.net/screenGuard.htm ) still locks the buttons, though? Except for the green call button - and then only when you also use their PhoneAlarm app.
ScreenGuard falls close to what I am looking to. But it locks buttons and couple of times it locked "too good" - I couldn't unlock my device and needed to HR.
maybe u want to try this...
assign it to any button to lock....
to unlock, hold record button and calendar button...
i assigned it to record button for easy usage...
cheers...
nonentity said:
maybe u want to try this...
assign it to any button to lock....
to unlock, hold record button and calendar button...
i assigned it to record button for easy usage...
cheers...
Click to expand...
Click to collapse
But this one also turns screen off :-(
I want to use an application to control it, can it be disabled?
Im not aware of an application designed to do what you are asking. However, you can use power manager to change the profile to keep the phone awake all the time. It would still lock when in standby, AFAIK.
Kieth
Settings->sound & display->screen timeout->never
Turning off the screen timeout off wont disable autolock. And yes, there are "slider" programs that immitate the iphone unlocked, which gets annoying to use when i have to hit menu to get out of autolock, and do the slider.
Go to anycut create an activity for setup wizard when it says touch screen, touch and quickly remove the battery, when you restart it will be disabled but you also loose the home key function, along with the green function, but it works if you can live without those.
that worked great but i dont think i can live with out the home and call buttons, how do i get them back?
Just run the wizard again and follow it through till the end and reset your phone.
Ok, I searched and can't find anything on this. Any thoughts?
FYI...Im using CM7
Thanks.
Sent from my NookColor using XDA Premium App
ramiss said:
Ok, I searched and can't find anything on this. Any thoughts?
FYI...Im using CM7
Thanks.
Sent from my NookColor using XDA Premium App
Click to expand...
Click to collapse
I don't know that you can stop one of the 4 inputs from waking up the hardware, but...
You can define the 'n' button to do something that doesn't offend you and set your screen to sleep after a very brief moment (15 seconds).
Why do you want to change the hardward button behavior?
byronczimmer said:
Why do you want to change the hardward button behavior?
Click to expand...
Click to collapse
Hi, thanks for answering. The reason for this request is because the screen keeps waking up as it moves around in my bag. Just lightly pushing on the case/cover I use will activate the button and leave the screen on until the timeout. I am surprised this isn't an issue for more people (or perhaps people aren't noticing their nook turning on.)
Lowering the timeout is not going to work since I do a lot of reading and having to tap the screen every 15 seconds would be a pain. Unless anyone has figured out how to get screebl to work??
You can completely disable the "N" button by editing the keyboard layout file. Using Root Explorer (paid app - but WELL worth it!) or equivalent, navigate to SYSTEM>USR>KEYLAYOUT then click the button at the top to "Mount R/W", now long-press the file "qwerty.kl" and choose "Open in Text Editor". Then find the following line:
Code:
key 102 HOME WAKE
and simply add a # to the beginning of that line so that it looks like this:
Code:
#key 102 HOME WAKE
Now press your MENU button and choose "Save & Exit". You'll need to reboot the Nook for the change to take effect.
Now your N button should be completely disabled. Just make sure you have the soft keys set up with a home button so you'll have a way to use that functionality when needed.
If you want to maintain the functionality of the "N" button but just prevent it from waking the Nook, simply remove the word WAKE from that line and don't insert the # character. I haven't tried this implementation, but it should work fine.
If you did what jason suggest, make sure you not hide the status bar.
You can change the "unhide" button to something else in Tablet Tweaks or you can use the long-press Power menu option which is also in Tablet Tweaks.
911jason - thanks for that.
Running CM7.0.3 from sdcard, used Root Explorer to find and edit the keyboard layout file.
Simply removed WAKE from the home button as suggested.
Works beautifully. Doesn't wake the device, yet does all the other stuff it's supposed to.
Score one victory for increased battery life for shared knowledge.
I have a soft case and it gets turned on in my pocket.
I went ahead and also removed WAKE from the volume up and down buttons.
Now the only way to wake the screen is the power button. The way my case is, that's the one button that won't get pressed in daily travel.
(don't know if reboot is necessary, but i'd assume so, and did after each change before testing)
Thanks!
TCAndroid said:
911jason - thanks for that.
Running CM7.0.3 from sdcard, used Root Explorer to find and edit the keyboard layout file.
[ ... ]
I went ahead and also removed WAKE from the volume up and down buttons.
Click to expand...
Click to collapse
I also took WAKE off the volume keys, because I tend to reach into my bag and adjust the volume while walking or waiting for the train. My buttons don't tend to get pressed, since my bag is for a netbook and my uncased NC doesn't rattle around. However, after adjusting the volume, the screen was live and the bag and its contents sometimes made random touches all over the screen...
The volume buttons now work exactly the way I want! Thanks for the very clueful answer to this question!
Of course, now I have another thing to do every time I update my ROM. I should learn how to make update scripts!
I am curious why HOME has WAKE and not WAKE_DROPPED, when it appears to behave like WAKE_DROPPED.
From what I understand, WAKE_DROPPED causes the device to wake from sleep but does not send the command normally associated with the button that was pressed. WAKE will wake from sleep and also send the command after doing so.
911jason said:
From what I understand, WAKE_DROPPED causes the device to wake from sleep but does not send the command normally associated with the button that was pressed. WAKE will wake from sleep and also send the command after doing so.
Click to expand...
Click to collapse
Exactly so. HOME acts like WAKE_DROPPED, doesn't it? But it's marked WAKE.
Actually, yes, you're right... just realized that. Not sure why it's behaving that way.
Basically, I wrote a private app that generates a different hex number each time it's run, and you have to use a certain algorithm to determine the answer, then input it in binary with a mini-keypad and press the unlock button. That way I can just show anyone what I'm putting in because if they get the phone, they can't use the same code unless the same random number is the same (its seed changes based on currentTimeMillis() / 1000L) Anyway what is the easiest way to make this Activity launch like the regular pattern lock when I turn on screen? also I don't have a lockscreen by default, not an issue. It has to prevent pressing home/back and has to launch without any delay. thanks
doctor there's a bump in my thread what should I do
this is a very good question
the closest i came to finding an answer was the android lock screen src
http://android.git.kernel.org/?p=pl.../internal/policy/impl/LockScreen.java;hb=HEAD
Yeah, I cloned the entire source, but it was way too complicated for me to find what I needed. Also, what is the difference between these 4 things?
Keyguard - ?
Lock screen - the screen that has the 'slide to unlock' widget depending on your phone/rom
Unlock screen - the screen where you draw pattern, pin, password, etc.
Wake [lock] - ?
I only have 4 softbuttons, volume +/-, and power on my device, and only power makes the screen come on, which shows WidgetLocker then the pattern screen. Both of which hide the softbuttons unless I hold down power, then it shows power off, airplane, and silent options and the softbuttons panel pops up. This doesn't allow me to press home to bypass pattern/widgetlocker, thankfully.
Halp my thread seems to have a case of severe bumpitis. Is it lethal?
I've been looking around for options to avoid using the physical power button to turn my N6 on or off. The double-tap-to-wake functionality has been documented elsewhere (here, for instance), though I've found it harder to implement a gesture to turn off the screen. I finally happened upon using the "input keyevent" shell command. This is different (in a better way) from using a Device Administrator app that locks your screen; the input keyevent command exactly duplicates the power button behavior and so will obey your settings for when to actually lock the phone (as opposed to just turning the screen off). If you have root and Tasker, it turns out that all of this is easy to do; both the double-tap-to-wake and gesture-to-sleep actions don't require stand-alone apps to implement.
Requirements:
Root access
Tasker
A custom launcher (like Nova) that allows you to implement gesture shortcuts
For double-tap-to-wake, create a Tasker task (I call it "DTTW") that has one step: Run Shell (under "Code"), where the Command is echo 'AUTO' > /sys/bus/i2c/devices/1-004a/tsp Check the "Use Root" option.
For gesture-to-sleep, create a Tasker task (I call it "Turn Off") that has one step: Run Shell (again, under "Code"), where the Command is input keyevent 26 Again, check the "Use Root" option. You may have to choose an icon to link the task to a launcher gesture.
Now, to implement double-tap-to-wake, run the DTTW task, and you're done. It will reset (i.e., double-tap-to-wake will no longer work) when you reboot, so you can set a profile to have Tasker run the DTTW task on Device Boot (this is an Event, under "System").
To implement gesture-to-sleep, use your launcher to choose a gesture that launches the Turn Off task. Using the Nova launcher, I started Nova Settings --> Gestures and Buttons --> Swipe up Two fingers (the gesture I chose) --> Shortcuts --> Task Shortcut --> choose the Turn Off task. Now, whenever I swipe up with two fingers on my home screen, the screen goes off.
Done! Easy! Free!
i use tbe lock screen widget to turn off the screen https://play.google.com/store/apps/details?id=com.droidmania.lockscreenwidget
simms22 said:
i use tbe lock screen widget to turn off the screen https://play.google.com/store/apps/details?id=com.droidmania.lockscreenwidget
Click to expand...
Click to collapse
But I believe that locks your phone. I just want to turn off the screen, as if I'm pressing the power button.
NYZack said:
But I believe that locks your phone. I just want to turn off the screen, as if I'm pressing the power button.
Click to expand...
Click to collapse
no. it just turns your screen off, just like pressing the power button. if you have a password set, itll lock the device, just like using the power button.
simms22 said:
no. it just turns your screen off, just like pressing the power button. if you have a password set, itll lock the device, just like using the power button.
Click to expand...
Click to collapse
Are you sure? If I have a PIN set, with my phone set to lock 10 minutes after screen off, you're saying that the lock screen widget will turn off my phone but not lock it (for 10 minutes)? I think it locks it immediately.
NYZack said:
Are you sure? If I have a PIN set, with my phone set to lock 10 minutes after screen off, you're saying that the lock screen widget will turn off my phone but not lock it (for 10 minutes)? I think it locks it immediately.
Click to expand...
Click to collapse
itll behave the same way as pressing the power button to turn off the screen.
yup, I use it and it is the same thing as turning your phone off with the power button.
simms22 said:
itll behave the same way as pressing the power button to turn off the screen.
Click to expand...
Click to collapse
Well, I have nothing against Lock Screen Widget, but when I installed it and used it, it immediately made me enter a PIN to unlock my phone, even though this wouldn't happen for 10 minutes after pressing the power button.
Just wanted to say thank you for this. I have a smart watch and use that smart lock feature where if my watch is connected my screen won't lock.
All the lock screen apps in the play store lock my screen regardless if my watch is connect. But your method with tasker works perfectly thank you so much.
yup, I use it and it is the same thing as turning your phone off with the power button.