Development Request: turn HTC [X]button into [OK]button - Windows Mobile Development and Hacking General

i am using htc x-button on my treo and like the ability to actually close the application instead of hiding it.
however for onehand navigation it might be very usefull to add an option to close applications with the (hardware) [OK]button.
i am not a programmer but having a look at the size of the original program it might be a very small change to allow that. what do you think?
is it worth the try? would you say this might be a usefull additon?
thanks a lot for your time

ditch x-button & use PQzII instead.

or tman for that matter

@ deadeyes:
nice program but unfortunately doesnt work on treo with WM6. (display problems and OK-funktion not working)
@pat123:
thats "just another taskmanager", but doesnt fits my needs. it requires the use of the stylus to select and close programs.
i just want to use the treo onehanded as much often as possible, no stylus. so using the ok-button to actually close programs would be perfect. PQzII would be perfect (even overloaded for me) if it works with WM6.
any more hints on this one?

I am also trying to make my device (8525) as thumb friendly as possible. I use SPB Mobile shell, which has an easy-to-poke-at-with-your-thumb task manager. The task manager can be used to switch to or close any running application. It can also close all, close all but selected, or minimize all. I mapped the task manager to the PTT button (using Sleuth's PTT fix) for easy access. I also mapped the Today screen to the hardware Internet Explorer button to use as a "minimize all" button. (SBP Mobile Shell also has makes it possible to add large icons to the today screen to launch your favorite programs). I now have a fairly easy time switching between apps while walking or whatever without using two hands. I still wish I could map the "OK" button to close rather than minimize though. Maybe someone with far more skill than I will come up with a way to map the "OK" button to close an appication. I'm more "user" than "developer".

...Or Pbar for that matter.

nehvada said:
@ deadeyes:
nice program but unfortunately doesnt work on treo with WM6. (display problems and OK-funktion not working)
Click to expand...
Click to collapse
hmm, I'm using it on WM6 (hermes however), and it working perfectly.
by display problem, do you mean the white square on your top bar? if yes, you can disable it in the icon tab.
did you check the "Use OK button" in the Window tab? if yes and it still doesn't work then you will probably need to map close function manually in the system tab. (you will need to find out the key code in concern, they have other apps to help you do that)

I found something new (to me) since my last post. I just found vijay555's OK/close button application. It can be mapped to a hardware button (not the OK button unfortunately), but it works great. It's much easier to use a hardware button than it is to try to wedge my fat thumb into the upper right corner of the screen. Here's the link --
http://www.vijay555.com/index.php?Releases:VJOkButt

Related

Any way to quickly change orientation of screen?

I had a Universal until recently (too bulky, buggy, and Wizard is so much nicer!) so I now have the Wizard/O2 Xda Mini S.
On the Uni there was an icon on the Today page for changing orientation of the screen with 1-click. On the Wizard there is none, and I have to navigate through several menus in Settings to change it.
Any way to add the Universal's Today icon to the Wizard?
Or failing that, how can I add Start Menu shortcut to the 'Screen' option in Settings?
Check out phm tools keys. They have a screen rotation shortcut.
I think there are registry hacks to show the screen rotation UI icon though (WM2003 at least)
V
CJSnet said:
I had a Universal until recently (too bulky, buggy, and Wizard is so much nicer!) so I now have the Wizard/O2 Xda Mini S.
On the Uni there was an icon on the Today page for changing orientation of the screen with 1-click. On the Wizard there is none, and I have to navigate through several menus in Settings to change it.
Any way to add the Universal's Today icon to the Wizard?
Or failing that, how can I add Start Menu shortcut to the 'Screen' option in Settings?
Click to expand...
Click to collapse
er...slide the keyboard out?
vijay555 said:
Check out phm tools keys. They have a screen rotation shortcut.
I think there are registry hacks to show the screen rotation UI icon though (WM2003 at least)
V
Click to expand...
Click to collapse
Thanks, would really like that reg hack if anyone can find it?
EDIT: I found this for the Universal but it has no effect on my Wizard:
To change the display of the screen rotation icon in the system tray
The setting is at 'HKEY_LOCAL_MACHINE\System\GDI\ROTATION'
The 'HideOrientationUI' DWORD value can be set to '1' to hide the icon or '0' to show the icon
For example, to hide the screen rotation icon
HKEY_LOCAL_MACHINE\System\GDI\ROTATION\HideOrientationUI = 1
wilesd said:
er...slide the keyboard out?
Click to expand...
Click to collapse
CRAP! I opened this thread for the sole purpose of making that exact smart-ass response. You suck.
:? Just to clarify for those of you who don't credit me with a milligram of intellect, I wish to orientate the screen when not using the keyboard. This is a feature of WM5 and the Universal allows you to do it from the home screen, but not the Wizard.
I have however solved it by using Spb PocketPlus
CJSnet said:
:? Just to clarify for those of you who don't credit me with a milligram of intellect, I wish to orientate the screen when not using the keyboard. This is a feature of WM5 and the Universal allows you to do it from the home screen, but not the Wizard.
I have however solved it by using Spb PocketPlus
Click to expand...
Click to collapse
Anyway to do it without installing pocket plus ?
Why not hook it up to one of the hardware buttons ? If you're worried about running out of buttons, you can probably install one of the button managers?
I've got '<Rotate Screen>' (built-in option in Buttons) under the 'voice call' button, and Magic ScreenShot under the same button+hold (normally 'voice memo'); I highly doubt I'll use either of those voice functions, so they fit nicely there
I just added it to mort button, but its still a key press and then a tap of the screen, would much prefer a today icon just to be tapped.
Well, maybe time for a developer to step in and make a tiny application that rotates the screen
http://www.devx.com/wireless/Article/21590/1954?pf=true
and
http://www.pocketpcdn.com/articles/rotatese.html
have code examples, but no compiles (boo, hiss - why is that?)
ZeBoxx: I've done it, but PHM tools already contains very effective screen rotation icons. Find PHM Keys... assign to hardware key or shortcut or whatever. Use his or my VJTrayLaunch and stick it in the tray as well if you want... oh, mort script does this as well I think.
V
Well, there we go
And for more light-weight (are they, really? I have no idea);
270-degrees (for Wizard):
http://www.pocketgear.com/software_detail.asp?id=15527
90-degrees (exact opposite side :x):
http://www.pocketgear.com/software_detail.asp?id=15011
180-degrees:
http://www.pocketgear.com/software_detail.asp?id=15332
PHM Keys seems to have some other neat things that I might download it for, but personally I'm happy with just having <Rotate Screen> under the 1 button (no special button managers)
off-topic: is the PHM website ever going to be back?
I have pocket plus 3 installed, so i just added 'Rotate screen left' onto the close button context menu.
Now its just a click-hold and click away - even from within a program (comes in handy when using internet explorer).

Add Shortcuts icons to the Today Command Bar

Is it possible add one or more application shortcuts icon in the
command bar ?
I've seen some software create an icon (for example psshutXP) in the command bar but I don't know what to do to add extra icons
It needs a registry trick or other ?
Thanks in advance
:wink:
Check out PHM Tray Launch or my own VJTrayLaunch on my website.
V
Thanks vijay, you're the best !!!!! :wink:
Diggia: do be careful though, as I say on the website, only use my app for a small number of apps (1 or 2). I have to improve it, but I've been so busy this week on so many other things: just finished a new version of VJOkButt, being posted tonight..
V
Thanks for your suggestion.
At he moment i only add one or tw apps.
I hope you'll improve it
Now I just going to try VJOkButt, I thinks it's another useful app !
:wink:
Vijay, will your OKButt application close the running program when I'll press the ok button on the keyboard?
This was the reason why I'm using Pocket Plus instead of Magic Button - MB works only when you use the touch screen, then it closes the application, otherwise when you press OK it just still minimalise it.
rottie: no, VJOkButt doesn't replace any keys. You have to assign any keys you want to yourself, using a program like AEButton Plus etc.
I could make it assign to the hardware key, but not right now. I like AEButton Plus. In the future I will make VJOkButt do something similar, but for now you have to choose how you launch it (eg hardware key, start menu etc).
V

Which function you use the most in smartskey

Hi, would like to know what do you think about smartskey.
The softkey remap adding both Start Menu and Close functionality is really what brings real convienience to using my K-JAM.
The other features are nice, but I rarely use them.
When using OmapClock, I prefer to add my own startup and notifcation events.
Edit: the "alternate" startmenu key function is brilliant! I now use GSPocketMagic and it works great!
First of all, thank you very much for this great piece of work.
Softkey remap is used most often. Volume key remap is the next most used.
This is a wonderful bit of work. I use the dpad mapping about 98% of the time I use the phone. I also use the close with right soft key mapping fairly frequently and the volume key mapping to disable the today screen volme control (safety first!) and for scrolling within apps. Postal and Paypal gratitude forthcoming.
New function to close screen and block buttons
Hi,
I think it will be very very usefull to have a button which blocks all the buttons and toggle off the screen. It would make the program almost perfect!
water said:
Hi, would like to know what do you think about smartskey.
Click to expand...
Click to collapse
there sholud be checkboxes instead of radioboxes in this poll. i'd check all options besides volume key remapping, because i prefer it to stay with its original function. if i could suggest anything new, it would be some piece of GUI placed in Settings window for configuring smartskey. editing smartskey.ini every time after installing new version is not quite convenient way, mostly when it's unicoded in some strange way and not every text editor can handle it (gedit in GNOME - for example - can't).

RKeyScroll v0.4b - my gift to you - scroll any window with the keys

Hi !
Here's an utility to scroll the current window. And i do mean SCROLL, not jump page by page.
Since i got my first PPC, i didn't like the way you're supposed to read stuff, i wanted to scroll down, but pressing the down key jumped one page down. I wanted a smooth scroll, so i made one myself.
How it works:
1. Run the app
2. Minimize it (either with your favourite task manager or tap Start/Today) - DON'T CLOSE IT
3. From now on, the UP/DOWN keys scroll the content of the current window - smooth scroll
Volume Up / Volume Down also scroll (a bit faster) - this won't work on some devices that have custom use for the volume keys.
4. You can disable/enable when needed by mapping a button to RKeyScroll Switch (each tap switches between scroll mode / normal mode.
5. When you're finished with it, run it again, or activate it in your task manager and press ok in it (left softkey)
Limitations:
2. It doesn't work in Start/Programs and in Word/Excel (maybe Powerpoint) - I don't know why
If you find other programs (MAJOR PROGRAMS - WHICH MANY PEOPLE USE) that don't work, post here - please don't spam and don't post a program that doesn't need the scroll anyway.
I tested this on my Toshiba G900 (if scrolling with Volume keys, don't hold them pressed) and my wife's HTC Touch.
PS: thanks to Nagakubo Tomohiro (creator of PQz and PQzII) for trying to help.
Change Log:
Code:
0.04b - 26 June 2008
- command line options (by default the app has scroll enabled):
ss - switch scroll mode - only used if app is already running
son - turn scroll mode on - can also be used on startup
soff - turn scroll mode off - can also be used on startup
only use one command line option at a time
this is useful like this:
- In Windows/StartUp copy RKeyScroll Off.lnk to start the app every time the system starts with scrolling disabled
- In Windows/Start Menu/Programs there's RKeyScroll Switch.lnk -map this to a hardware button of your choice (thanks to fisch3009 for the idea)
- made the install easier - packed as a CAB - creates all shortcuts, for automatic startup you must copy manually
- G900 version has scroll switch mapped to camera tap (it cannot be remapped with windows anyway)
0.03b - 25 June 2008
- separate version for Toshiba G900 - this i can test on ;)
- fixed OK button on Toshiba G900
- when no scroll is possible, buttons do what they normally do
- added smoother scrolling on volume up/volume down
- changed the code to avoid future bugs ;)
- still a bug: when start menu/quick menu is opened, it still scrolls the window beneath
0.02b - 24 June 2008
- first release
Hope you like it !
RPG
reserved for future updates
reserved for more future updates
great idée, thanks man
hi rpg
is it possible to use fingers ? instead of up/down buttons
is it a problem using TouchFlo ?
salut monpsy , toujours à fouiner LOL
brunoisa10 said:
hi rpg
is it possible to use fingers ? instead of up/down buttons
is it a problem using TouchFlo ?
salut monpsy , toujours à fouiner LOL
Click to expand...
Click to collapse
If you want to get your finger in the way while reading something AND get your screen dirty, use TouchFLO or SPB Plus for finger scrolling
Great Idea! I'm looking for a automated "timer" type scroller? Where you put like 10 seconds in the setup, and it would automatically scroll a page every 10 (or whatever seconds). No need to touch screen or dpad...
This is very cool. I sometimes have trouble reading through my thumb
I notice it still tries to scroll in the application that it can control even when it is not the current focus application.
Could you make it deactivate when the focus program is something it doesn't work in?
Also make it run in the background so I don't have to run it everytime I want to use it.
E.g. when I am in IE and I activate QuickMenu it still scrolls IE and ignores QuickMenu. Also you mention it doesn't work in File Explorer, likewise in Total Commander you can see the scroll bar move but the screen doesn't scroll.
Possibly have an exemptions list similar to FTouchFlo (I can see you don't like this) so we can add programs that we prefer the D pad to work natively in. Also any chance of kinetic scrolling?
Keep it up!
evojulz said:
I notice it still tries to scroll in the application that it can control even when it is not the current focus application.
Click to expand...
Click to collapse
Fixed in 0.3b, i will post it later today.
evojulz said:
Could you make it deactivate when the focus program is something it doesn't work in?
Click to expand...
Click to collapse
In 0.3b, if it can't scroll, the buttons resume their normal functions, so yes.
evojulz said:
Also make it run in the background so I don't have to run it everytime I want to use it.
Click to expand...
Click to collapse
It's already like this - you just run it once, minimize it, and change windows, it will scroll the active one (unless there are bugs )
evojulz said:
E.g. when I am in IE and I activate QuickMenu it still scrolls IE and ignores QuickMenu.
Click to expand...
Click to collapse
Fixed in 0.3b
evojulz said:
Also you mention it doesn't work in File Explorer, likewise in Total Commander you can see the scroll bar move but the screen doesn't scroll.
Click to expand...
Click to collapse
For me it works in Total Commander. When i have more time, i will try to see why it doesn't work (how to make it work) in the others.
evojulz said:
Possibly have an exemptions list similar to FTouchFlo (I can see you don't like this) so we can add programs that we prefer the D pad to work natively in. Also any chance of kinetic scrolling?
Click to expand...
Click to collapse
I don't like the idea of an exception list - i want to keep this as simple as possible. On my Toshiba G900 i can disable the scrolling with the camera button - so this would solve the problem of using the DPad as a DPad when needed. I will see how I could add this functionality to other phones (i just need the camera button code)
evojulz said:
Keep it up!
Click to expand...
Click to collapse
Thanks, I will. And thanks for the very good feedback.
This program is a great idea, i missed this feature long time.
I don't like the idea of an exception list - i want to keep this as simple as possible. On my Toshiba G900 i can disable the scrolling with the camera button - so this would solve the problem of using the DPad as a DPad when needed. I will see how I could add this functionality to other phones (i just need the camera button code)
Click to expand...
Click to collapse
Perhpas you can add an command line option to switch on and off the dpad scroll function, so everybody can map the software to his or her preferred hardwarebutton.
fisch3009 said:
This program is a great idea, i missed this feature long time.
Perhpas you can add an command line option to switch on and off the dpad scroll function, so everybody can map the software to his or her preferred hardwarebutton.
Click to expand...
Click to collapse
That's a great idea !
I thought i would make the button configurable in the registry, but the user should know the code of the button. Your way is a lot simpler. I will add it in 0.3b tonight before posting it.
You saved me a lot of time.
Thanks !
Cool, will link to it in my next misc news article.
nice nice idea...
Maybe this is already known, but I cannot change the volume with the scroll-wheel during a call.
Perhaps you also fixed it in your new version. Tnx anyway.
johanromijn said:
Maybe this is already known, but I cannot change the volume with the scroll-wheel during a call.
Perhaps you also fixed it in your new version. Tnx anyway.
Click to expand...
Click to collapse
Fixed in 0.3b.
0.03b released
still to do - enable/disable scroll with a button
still to fix - when start menu is opened, the up/down keys scroll the window beneath instead of selecting items in start menu
0.04b released - now has enable disable mappable to HW button
RPG0 said:
0.04b released - now has enable disable mappable to HW button
Click to expand...
Click to collapse
Wow, fast development
Installs from CAB and maps to my camera button great.
The switch command doesn't turn it on and off, just opens the RKeyScroll dialogue the same as the RKeyScroll On command. Is this supposed to happen?
I would like it to start and run silently and not even show up in the running programs list and then stop when the switch command is run again.
BTW, still doesn't work in Total Commander for me.
evojulz said:
Wow, fast development
Installs from CAB and maps to my camera button great.
The switch command doesn't turn it on and off, just opens the RKeyScroll dialogue the same as the RKeyScroll On command. Is this supposed to happen?
I would like it to start and run silently and not even show up in the running programs list and then stop when the switch command is run again.
BTW, still doesn't work in Total Commander for me.
Click to expand...
Click to collapse
Weird, for me the RKeyScroll Switch disables/enables the scroll and the window doesn't get activated(just like i programmed it to do).
Oh, I know. You're closing the app and then running RKeyScroll Switch. Don't click "OK" - this closes the app. Just minimize it, and then press the button mapped to "Switch" - it will work. It will not activate the window again.
About the silent start: That's how I want it to behave, but i got sleepy, so... 0.5b will probably do that.
Just a shameless bump

HD mini - no "x" function to stop the program

ASUS P835 can use "X" to stop program ,but buy HD mini and try install "HTC task manager v2.1 " or other "task manager cab ", cannot show "X" in top task bar ,why?
please help me !!!
* buying & using in Hong Kong .
thank you
yep, me too.
I'm used to close program tapping 'x' button in elfin. Now, mini hasn't 'x' and it's not comfortable to manage program that i'm running. everytime run task manager and close it.
there some1 know how to restore 'x' function in mini pls.,,,,
missing x
Install the Advanced_Configuration_Tool_v3.3, this contains a tweak that enables taskmanager to exit progs automaticly to save memory.
Works great for me.
nlsn86 said:
Install the Advanced_Configuration_Tool_v3.3, this contains a tweak that enables taskmanager to exit progs automaticly to save memory.
Works great for me.
Click to expand...
Click to collapse
Which setting (in advanced config. tool) does that?
missing x
- htc task manager -> auto kill
maybe use arkswicht.
What I do if I want to see the X button?
I think it correct with a change in registry.
I also installed a task manager program that controled from X button position, but it does not work.
I have a serious problem with it.
Hi all,
I had same behaviour, and usually use the x button. But in HD mini all this things changed and I has been disapointed for a while, but...
For office and other applications, you use the back <- hardware key instaed of "x" ou "ok" button. The only difference is that the application is not taken away of memory, it remains minimized.
If you want close one or more apps, knowing the fact you have a lot more RAM than on Diamond for example and you do not have to close every time the applications, you can yuse the integrated Task Manager tapping on top bar and then Task Manager button.
I found a solution to bring back the missing X button
With a registry editor got to HKLM->Software->Microsoft->Shell->BubbleTiles and set HardwareDoneKeyEnabled to 0 and HardwareStartKeyEnabled to 0. You will have
the X/Ok button back but also the win key on the bottom left will be back too. If you won't enable the winkey, the softkeys won't be centered and it looks ugly.
Also set TextModeEnabled to 0 in order to have icons instead of text in softkeys. The hardware buttons work normally like before. Hope i helped
Thanks, I've done that but doesn't seem to work. When I press X it minimizes the program instead of closing it. I check the task manager and is still running
this is standard for x, "x" never exit programs for real, was just a new function later on TD or newer to close programs with the x button....so I think "exit programs by pressing x" is another regkey you need to enable, without this, it´s standard "x" function, and that was always "minimize"
Thanks for the explanation
No there is no reg key to change the function of the X key. The only way to change the function of the X key (to really close apps instead of minimise them) is via a program such as xtask, wktask, ameba ect. In these programs there is an option to make X button close apps. Ameba is the most simple app to use. Just search for it
Doesn't the "end call"-button exit apps on the mini?
unfortunately no...
did anyone notice when you go phone. the icon is like mess up.. how to solve
anyone?? regards to the phone
keeee said:
anyone?? regards to the phone
Click to expand...
Click to collapse
No problem here with any of the icons I can see. Which one did you mean?
whn u put the "phone" button. you can see that there is one keypad button at the centre, then on the left and right.. there seem to be 2 icon. being overlap..
No overlap here; I do see the text of 'people' slightly cut off due to the narrower button next to the Start button

Categories

Resources