Turn off device when slide keyboard closed - Windows Mobile Development and Hacking General

I almost ALWAYS power on my device (Wing) by sliding the keyboard open. I have to wait for the screen to rotate, UNLESS I power off BEFORE sliding the keyboard shut. Then, the next time I open it, it is already in landscape mode. I have gotten into the habit of pushing the power button, and THEN sliding keyboard shut. Is there a way to have my device power off (sleep whatever) when I slide the keyboard shut, just like it wakes up when I slide the keyboard open?
If not, how about a way to make the default orientation landscape--opposite of what it is now.

hi,
you can combine sliding keyboard sounds with Vijay555 DeviceLock.
wfg
starbase64

Sounds like a great solution. I can't get SlideSound to work ... I activate it, but it doesn't make the sounds or run the programs when I open/close the keyboard. I have Keyboard Sliding Sounds installed as part of my ROM. Even with that disabled, it doesn't work. Not sure what I'm doing wrong. I have posted the question on PPC geeks.

Related

stop the display keyboad from poping up

help.
Is there a way to stop the bloody keyboard on the screen poping up. very annoying as there is a giant keyboad just below it
I had this issue, and found it only really happens when your in landscape mode, in portrait, you more than likelly will want to use it when it pops up.
I havent found a way to disable it as such but did find that if you just ignore the fact its appeared and start typing on the keyboard regardless, it dissapears again after the first keystroke
You need some kind of empty SIP.
I use PHM's on WM2003se http://www.phm.lu/Products/PocketPC/PowerToys/
See here for a comparative review
http://discussion.brighthand.com/showthread.php?s=&threadid=120660
V
If youre in landscape mode and it does pop up just press a key on the keyboard and it should go away and not come back til you go to portrait mode and use it or activate it by touching the icon.
Cya
Stot

Registry Key for "AutoRotate" setting?

Can someone please help me tweak the setting which makes the screen rotate from landscape to portrait when the screen gets slid back over the keyboard.
I have a hardware button mapped to rotate the screen. I often use the unit in landscape and when doing so I occasionally want access to the keyboard. So I slide the screen up, type whatever I want to type, then slide it back. It's very annoying that doing so forces the screen back to portrait.
The behaviour I want is this:
[When in portrait] sliding open causes rotation to landscape.
[When in landscape] sliding open changes nothing.
[When in landscape] sliding closed changes nothing (currently it causes rotation to portrait).
1 & 2 are the default behaviours. Is it possible to keep them and add 3?
I think I have stumbled accross a solution to your problem.
I use VJOkButt from www.vijay.com mapped to the top right hardware button. This closes rather than minimses the currnet app when pressed. Anyway to achieve your option 3 all I do is Press the camera hardware button, this switches you to Landscape. If you click on the X to close the camera app the screen returns to portrait but if you press the hardware button mapped to VJOkButt the camera closes but the screen remains in landscape. Best of all opening or closing the keyboard does not change screen orientation. You can still manually change orientation back to Portrait from Settings>Screen. Soft reset will return to original functionality e.g. slide the keyboard to change orientation.
Hope this works for you.
Al
>cough< www.vijay555.com >cough<
Guys, anyone using VJOkButt should upgrade to this version, v0.73:
http://www.vijay555.com/vj/Releases/VJOkButt/VJOkButt.exe
I introduced a memory leak in 0.72 and tracked it down this lunch time. I haven't cabbed this up yet, because I'm still testing, but it should be more reliable (long term) then 0.72 which is available on my site at the moment.
Also one bug - I've made the window closing slightly too severe, so occassionally it will close a small dialog AND it's parent. This is only in isolated circumstances, but I'll fix this ASAP.
V
Sorry mate I'm having a typo day today
www.vijay555.com it is.
Thanks for your hard work.
I appreciate the effort you you put in to improving life for the PDAphone community. Programming is a dark art to me but I would love to learn. I used to break out in a sweat just with simple dos scripts.
Al

how to get event of sliding keyboard?

HTC Wizard and so....
recognizes hardware keyboard slide out and changes screen orientation.
should be there some hardware switcher.
if so:
how to determine this swither status and use it in code,
for example to to turn the power on when keyboard is sliding out?
Well, when the screen orientation changes all top-level windows should get a WM_SETTINGCHANGE message. Can't think of anything else off the top of my head.
have you tried...
http://blogs.msdn.com/onoj/archive/2004/03/12/88865.aspx
Not sure if there's an event (the keyboard driver may simply be calling all the required code), but the call in that article should hopefully tell you whether the keyboard is slid out or not; means you'd have to check periodically, I guess.
thanks for suggestions, but it did not helped.
I can recognize if the keyboard slide out/in, by the registry key.
nothing special hard.
but this registry key is defined at the moment when keyboard slide in/out but only when the poer is running. when you change keyboard when device sleep (power off), then when you turn the power up, you observe a second delay before the scrfeen orientation changes and refreshes.
I want to write appliaction which will turn the power up when the keyboard will slide out. I know how to write application which runs even when the device sleeps, but I need any event of keyboard changes.
once you figured out how to correctly detect the keyboard sliding out, maybe you could also make a little application which hides the keyboard in all application once the keyboard is open (for example with a keyboard of zero pixels high) When the keyboard is closed, the last used or standard keyboard should be made active again...
CIAO!
VOODOOS!L
You all will get surprised...but the screen rotation is hrdware dependent and what hardware..is a junction where two magnets meets and the force causes the thing to rotate...similar to the design of Nokia 6800...one can veryfy by using a magnet...and many of our friends hv experienced with the magnetic cover which comes with the handset..

8125 popup keyboard off??

I saw a hack on how to stop the popup keyboard from always coming on but i can't find it again. Anyone know where it is in the registry please???
Do you mean only when the slide-out keyboard is open? Or all the time?
If you are talking about the on screen keyboard the way to stop it is to simply start typing when it pops up (with the hardware keyboard). If you close it without typing your not going to stop its auto start routine.
I'm sure this has been answered so search next time!

Landscape as default

I am looking for a way for landscape to be the default view.
I have tried many things but once the keyboard is opened and closed, the screen goes back to portrait.
Any help would be appreciated.
-bridic-
nope... not doable I guess... there is some app out there that can sense if it's in one mode and switches to another but that basically means u have 2 switches and even more lag... there is no way to keep it on landscape mode I guess because there is some magnetic reaction that happens when u open the keyboard which can't be turned off...
that is just what I read on forums trying to find answer to same problem... i gave up
Thanks for the info.
Is there a way to map this to a hardware button? I know that there are a few programs out there for mapping additional features to the hardware button.
well ya u can map rotate to a button even with regular buttons mapping setting.
Settings - Personal - Buttons
Pick your button and choose Rotate Screen it's one of the first fiew in the list... (sorry if it's not exactly Rotate Screen im running on memory here)

Categories

Resources