Right Softkey to Close apps. Tools? - HTC Tornado

I want to close apps with the right softkey holding down. Any ideas? I thought Smartskey would work, as I think I remember one working on my 2125 years ago on wm5.
-Heber

well i tried to do it and i this is how i did it.
But i have to just press rigth softkey and all tasks are clsed. NOT by holding a key so i dont know if its useful for you.
I made a path to application which can close all task.
Do it on your own RISK.
In registry editor i went:
HKEY_CURRENT_USER\Software\Microsoft\Home\keys\113 enter it then click values and i added 2 strings. (if u havent keys 'key' and '113' add them)
1. Value name: 'Default' in Value Data u have to write a name for right softkey, for example i added 'CloseAll'
2. Value name: 'Open' here in value data you have to type a path to program which u want to be ran, i added \Windows\Start Menu\Accessories\Oxios CloseApps.lnk
EDIT:
I've also found usefull program where you can map keys
http://ae.inc.ru/aebplus.php
Or another program may be usefull for you: Right Menu. Google it

I have it done a little differently. I mapped my comm button to celetask and there I mapped close all tasks to button 5.
This way all I have to do is press com button (or whatever other button you like) and then press 8.

Related

Change Softkey mapping (How to?)

Hi all,
I am wondering how to change the 4 soft key mapping in order to affect them another program.
This is because the 2 softkey are beginning to break themselve and I would liek to affect the 2 other softkey to do the same (i.e. affect them "Contact" and "start")... see the picture.
I already have some registry trick:
(HKCU\Software\Microsoft
Create a key named 'Home' in here ,and then another key named 'Keys', and then ANOTHER key named '113'.
First Value: 'Default'
Value Data: The text you would like on the key ... (GPC on sample screenshot)
Second value: 'Open'
Value data = "PATH OF EXE or LNK FILE" <--- example is "\Windows\tmail.exe" (it is important to enclose them in quotes)
There is no need to restart device. Just click on the right soft key, press the Home button, and then you'll see the change!)
However i'd like to know what would be the number of the 4 softkey on my QTEK 8310. Anyone know the kay mapping of this device?
Moreover, I'd like to know how "start menu" is launched by the left softkey (what exe is this in the /windows folder?)
Thanks a lot

PTT remap/fix

Good Evening
I downloaded a PTT fix from http://www.howardforums.com/archive/topic/1054343-1.html & installed the .cab file. It created a button 5 option in my settings/buttons menu. However, when I set that option for camera instead of PTT...it still initializes the PTT vs the camera. I'm going to assume that the PTT is not button 5 on the fuze, hence why it won't work. Does anyone know which button that it might be, and how i could edit that file? or make my own work around?
Thanks
The PTT might be hard wired to the PTT hardware needed for ATT's push to talk, kinda silly really I don't see why they still push this I've yet to meet anyone on ATT who uses this feature, maybe one day ill run into a cunstruction worker who knows.
TazMan1688 said:
Good Evening
I downloaded a PTT fix from http://www.howardforums.com/archive/topic/1054343-1.html & installed the .cab file. It created a button 5 option in my settings/buttons menu. However, when I set that option for camera instead of PTT...it still initializes the PTT vs the camera. I'm going to assume that the PTT is not button 5 on the fuze, hence why it won't work. Does anyone know which button that it might be, and how i could edit that file? or make my own work around?
Thanks
Click to expand...
Click to collapse
I'd love to see a solution to this too. I tried the Tilt registry hacks that let you re-map the PTT button but all that did was disable the button completely. (Which is still an improvement because at least now I don't have the PTT message come up every time I accidentally hit that button...)
Black93300ZX said:
CONFIRMED, this is how to keep that annoying PTT message from coming up on American Touch Pro's (Fuze maybe? whatever).
Keep in mind, you can't individually map this button with this method, that may come later.
Step 1: Registry editor, remove HKLM/Services/PTT
Step 2: Create a key in HKLM/Software/Microsoft/Shell/Keys called "40C2"
Step 3: Create a string within that key, titled Name with the value being "Button 6" or whatever
Step 4: Soft reset.
From this point on you can remove 40C2, but your PTT button will simply perform with a press what your send button performs with a hold (which can be remapped easily... Settings/Buttons/Button1(Hold)).
Click to expand...
Click to collapse
10 chars..
I were to remove that string after i install the .cab, would that disable PTT,and the settings menu take over?
I realize I can do a registry hack, but I was looking for something that A) would be easy to install/uninstall B) would add an easily accessible option to the settings on the phone.
TazMan1688 said:
I were to remove that string after i install the .cab, would that disable PTT,and the settings menu take over?
I realize I can do a registry hack, but I was looking for something that A) would be easy to install/uninstall B) would add an easily accessible option to the settings on the phone.
Click to expand...
Click to collapse
Um that is the easiest way right now.
And it does as B). Just change what Button 1 (Hold) to whatever you want and that's what your PTT button will act as.
Alright, its Button 1...awesome. Now lets see if I can find that setting ;-)
In settings/personal/buttons
...there is only an option for button 5, and button 5(hold). 1-4 do not show up there. How would I go about editing button 1's action?
Thanks alot
I found a program called AE BUTTON PLUS, it allows you to map any hardware button on the device. The PTT button is not listed by default so you need to "add button" it will then ask you to press the hardware button you would like to map, after that it shows up on the list and you can map it... I have found that adjusting long press setting causes issues, but tap and double tap work fine. I have tap disabled since I always hit the key by accident, double tap is Torch. Working fine so far. I believe you can even map individual keys on the keyboard in the same way.
I tried to use AE Button Plus(registered it), and had no luck creating an action for the PTT button. So I followed the registry ediit intructions, again..with no avail.
My PTT is disabled, which as previously stated, is better than nothing.
I would like to clarify two things. Does 40C6, and 40C7 relate to PTT on all devices, or is this a phone by phone basis? 40C6 could be PTT on a tilt, but the touch may be 33D4. Noobish question, but I'm not sure how this stuff works.
Also you said its "Button 1". Again, does this refer to hardware button # 1. Or is this just a random name we give it so we know which one to edit in the buttons menu?
So if I use 40c6, and 40c7 for "Button 1", and "Button 1(hold)"...it should work?
...I also used Button 6 & Button 6 hold as in the Tilt instructions. Same function.
I appreciate the assistance gang!
any1 have any luck?
If you want to remap the PTT button using a cab file (instead of manually doing reg tweaks) just look here: http://www.fuzemobility.com/ptt-remapping-revisited-application/
pretty simple but read the 'update' at the end

Fuze PTT button remapping problem

Before I start, I apologise if this has already been answered elsewhere, as I've spent about five hours trawling through threads looking, in vain, for a solution.
I have bought a new Fuze but the PTT button causes a problem with the aluminium case I bought for it. The problem is that the case is for a Touch Pro and the latch is right where the PTT button is (meaning the button is permanently depressed when the case is closed). It cannot be remapped in Settings/Buttons.
All I want to do is to be able to disable the button completely, or failing that make it an 'OK/Close' button. I have got rid of the PTT link but would greatly, greatly appreciate if someone could tell me what commands should be written in "short_PTT.lnk" and "long_PTT.lnk" to be able to do this. I've tried just leaving both blank but then the PTT button brings up an error message when pressed about not being able to find the shortcut.
Is there a way to achieve either of these solely using the registry, and without using third-party software?
Thanks for your time.
Here's full instructions on remapping your PTT button: http://www.fuzemobility.com/?p=598
To just disable it so it does nothing follow the steps at the beginning:
Using a registry editor delete HKLM\Services\PTT.
Next delete HKCU\Software\HTC\PTT.
Navigate back to the Windows directory and rename PTT to PTT2
Now create a new folder called PTT and set the properties as System and Read Only
If you follow all of those instructions and want to map it to close use this app and map it: http://www.fuzemobility.com/?p=1249
Problem fixed
You're a great person, bugsykoosh. I had done the first part you suggested, but the second link - and use of a tiny program called Zap It - fixed it perfectly.
Thank you heaps.
Okay so what is the joke why does this work for EVERYONE, except me. I mean seriously. I followed the steps but nothing. I press the button and I get nothing at all except the noise that indicates the keypress was succesfull WHAT GIVES.
bugsykoosh said:
To just disable it so it does nothing follow the steps at the beginning:
Using a registry editor delete HKLM\Services\PTT.
Next delete HKCU\Software\HTC\PTT.
Navigate back to the Windows directory and rename PTT to PTT2
Now create a new folder called PTT and set the properties as System and Read Only
Click to expand...
Click to collapse
This is overkill. You don't need to mess around with the PTT directory. If you just stop the PTT service from running, nothing will look in the PTT directory and its contents don't matter.
Just change HKLM\Services\PTT\Dll to an empty string and soft reset. The button will be completely inert. You can then remap it using AEBP or the short_PTT/long_PTT shortcuts, if you choose, or just leave it inactive.
Today
WMM,
If you change as you suggested, it looks like the long and short still work. I've remapped and did all the steps, but it looks like yours may be a little easier/cleaner. I'm curious, and I've looked extensively to no answer, but if I want the short press to just send my Fuze back to "Today" (in TF3D), is there a way to do that? If I press Start the first option is Today and this does exactly what I want. There's no shortcut that I can locate anywhere (and I'm sure it's my ignorance/technical inability) and the next step is to make a copy of that shortcut and name it short_PTT which I can handle. Any suggestions?
So, it isn't possible to map the PTT button from the Settings - Buttons screen? Looks like the method linked to above, with the short_PTT and long_PTT shortcuts, won't allow me to map the PTT buttons to work as the left and right softkeys.
As far as I know (which isn't very far, sometimes), the only way to get the PTT button to execute "Home" or the left/right soft keys is to use AE Button Plus. There may be applications that do those things that you can download (I know there are for things like toggling wifi and bluetooth, killing the current application, etc.) -- these are really tiny utility applications that are specifically intended for mapping to a button -- but I don't know of ones that do those particular things. (AEBP is able to do all those things, as well as giving you four mappable events -- single, double, triple, and long press).
okay seriously here do the links need to have special settings or anything. I mean what attributes should they have. Nothing works!
For the life of me, I can't remap my PTT button.
On a short press, it activates the voice command system.
On a long press, it activates the camera.
This seems to be from flashing NATF's ROM.
Following instructions above, I have no HKLM\Services\PTT or HKCU\Software\HTC\PTT in my registry editor.
I did the short and long_PTT/link and PTT folder in Windows. The links work there, but doesn't change what happens when the button is pushed.
I have AEButton Plus, but can't get it to add the PTT as a button.
Any suggestions where I can find in the registry what is making my PTT button act as it is? I'd rather have it do nothing than what it is doing now.
Thanks,
Chris
txemsdoc said:
On a short press, it activates the voice command system.
On a long press, it activates the camera.
This seems to be from flashing NATF's ROM.
Following instructions above, I have no HKLM\Services\PTT or HKCU\Software\HTC\PTT in my registry editor.
I did the short and long_PTT/link and PTT folder in Windows.
Click to expand...
Click to collapse
Yes, I believe NATF did not add the PTT stuff from AT&T into his ROM; the instructions above are for the stock AT&T ROM. You'll have to ask NATF how to remap the PTT button using his ROM.
jro2020 said:
okay seriously here do the links need to have special settings or anything. I mean what attributes should they have. Nothing works!
Click to expand...
Click to collapse
I'm not sure what you're talking about here. As I mentioned in my last posting just above this one, this probably only works in a ROM that supports PTT, like the stock AT&T ROM; if you're running something that doesn't support PTT, it would be a real surprise if "short_PTT" and "long_PTT" meant anything special, no? Assuming you are running the stock AT&T ROM, here's a step-by-step procedure for creating the short_PTT link to point to the Camera application using the built-in File Explorer.
1) Open File Explorer. If the drop-down box at the upper left says anything other than "My Device," tap the small down-arrow next to the label and then tap on "My Device."
2) Tap on "Windows" and wait a few seconds for the folder contents to appear.
3) Scroll down until you see "Camera" (the one that's 794K). Tap and hold that until the pop-up menu appears and then tap on "Copy".
4) Tap on "Menu" in the lower right, then "Edit", then "Paste Shortcut".
5) Scroll to the very bottom of the folder contents and you'll see "Shortcut to Camera" that was created. (The name may be truncated, depending on the size of the font and the screen orientation. Mine says, "Shortcut to Ca..." in portrait orientation. In any event, it will be the last thing in the folder contents.) Tap and hold on that until the pop-up menu appears and then tap "Rename". Then just type "short_PTT" to overwrite the existing name and hit return.
That's all you need to do. (If the application you want to run with the PTT button is in a different folder from \Windows, navigate there, tap-hold on the application executable, and select "Copy". Then navigate to \Windows and do steps 4 and 5 exactly as above.) This works exactly the same for the "long_PTT" shortcut.
If you do exactly that, does it not work? What happens if you tap the "short_PTT" shortcut in File Explorer? Does it start the camera?
Here is a link to a cab that will allow you to remap the PTT button: http://www.fuzemobility.com/ptt-remapping-revisited-application/
Remap PTT to launch phone Speed Dial?
I have disabled PTT so that I can use the button to launch programs - I just dont know how to launch phone speed dial - Does anyone know if there is a file that will launch speed dial that I can use to link to the PTT button?
Thanks!
pdafish said:
I have disabled PTT so that I can use the button to launch programs - I just dont know how to launch phone speed dial - Does anyone know if there is a file that will launch speed dial that I can use to link to the PTT button?
Thanks!
Click to expand...
Click to collapse
if your goal is to map your PTT button to call a single person check this posting: http://www.mobilitydigest.com/forums/showthread.php?p=3635
Here is another source that gives you step by step instructions.
http://htcblogger.com/2009/06/07/ho...utton-on-your-att-fuze-htc-diamond-touch-pro/
Note that if you're using the stock Fuze ROMs, the updated ROM from HTC adds the ability to remap the PTT button without any registry hacks.
PerfAlbion said:
Note that if you're using the stock Fuze ROMs, the updated ROM from HTC adds the ability to remap the PTT button without any registry hacks.
Click to expand...
Click to collapse
Can you post instructions as to how? I tried it already and the pulldown that shows you the available apps you can pick only shows PTT.
Best regards,
JD
So I followed the registry edit method, and created a file (not a folder) called PTT and things work great .... except ... when its on Airplane mode (Phone, Bluetooth and Data set to off) and I press the button (short or long) the PTT function kick off.
Is anyone else experiencing this?
Anyway to change this behaviour?
jdomi99 said:
Can you post instructions as to how? I tried it already and the pulldown that shows you the available apps you can pick only shows PTT.
Click to expand...
Click to collapse
Something's odd with your phone, then. Mine shows the full list of apps and options. I remapped PTT to VC without an issue.
Is it possible that you've got an application that's taking over the Buttons Control Panel? On mine, I had to remember to shut off SPB Pocket Plus's control over the buttons since it doesn't work with the Touch Pro line. When I first fired up the control panel, it listed no apps until I remembered that I had Pocket Plus running and turned of that feature.

Broken Capacitive Button Workaround!

Alright, the Galaxy series, although awesome, suffers from some issues. None are as frustrating as when the damn capacitive (bottom) buttons stop working!
Normally it seems that all four bottom buttons don't fail at the same time, just one or two. This doesn't seem to be as much of a physical problem as a software one, probably an application running in the forefront that is blocking them. Now it is hard to do much of anything if the settings button (left side) fails, as you cannot access most settings for your apps. Both my outside buttons rarely work, the aforementioned settings button (left) and the search button (right). Search button doesn't matter to me, I can call up search on screen easily enough. The other two are home and back buttons. Back is more necessary than home. So to work around this Samsung-induced-pain-in-the-ass, I swapped the search button function for the home.
Here's how:
Make sure you are roted and have a rooted file manager. Root Explorer tends to work best.
1. Open Root Explorer, and make sure it is mounted r/w.
2. Navigate to /system, /usr, /keylayout.
3. Tap/hold Broadcom_Bluetooth_HID.kl, and select 'Open in Text Editor'. If you get a Warning message, that means you are mounted r/o so you just need to click the Mount R/W button above.
4. Change key 139 to read HOME instead of MENU.
Change key 102 to read MENU instead of HOME.
Hit the back capacitive button and choose to save. It will create a Broadcom_Bluetooth_HID.kl.bak file also so if you want to undo this then just erase the new Broadcom_Bluetooth_HID.kl file and then erase the .bak off the other file.
5. Now open the melfas_touchkey.kl file the same way by holding it until it allows you to select 'Open in Text Editor'.
Change key 139 to read HOME instead of MENU.
Change key 102 to read MENU instead of HOME.
Hit the back capacitive button and choose to save. It will also create a .bak file.
6. Open the qwerty.kl file by holding it until it allows you to select 'Open in Text Editor'.
Change key 102 to read MENU instead of HOME.
Change key 139 to read HOME instead of MENU.
Hit the back capacitive button and choose to save. It will again create a .bak file.
7. Back out of Root Explorer and restart your phone.
Now, when you push your home button it will bring up your settings menu in whatever application is open, and your settings button will do the home function (or nothing, as my outside buttons do as they don't usually work). I now use my back button to get me to home, it just takes a few more pushes as it goes one step at a time. Not as much of a pain as not being able to set program functions, that's for sure!
Note: Depending on your setup, the file names might be slightly different on other Android devices, but they will always be very similar. They'll all have a bluetooth.kl, touchkey.kl and qwerty.kl (or whatever your keyboard layout might be). You can also fool around with other key settings if you wish to experiment, depending on what is and is not working at the current time. Just save your original .bak files so you can put it back to normal easily. If you alter the .kl file more than once, it will overwrite the .bak file again (which is not used by the phone) so make sure you copy the .bak's to another directory (such as /sdcard/backups or your regular computer).
Hope this makes your lives easier and don't forget to thank me if I helped you.
Modified Home key acting up
So after using this mod for a little while, it has been working well except for some slight stalling of response from the capacitive buttons (which was happening before the mod) and an awfully annoying habit of backing out of programs by itself due to the modified left button which was originally Settings but I changed to Home with the above mod. When this happens, I can see the left button go dark as if it's been physically pressed, so obviously there is some electrical or software malfeasance happening there.
The fix to this problem is to navigate to your /system/usr/keylayout folder again and:
Delete: "key 139 HOME"
In each of these three folders we altered earlier:
Broadcom_Bluetooth_HID.kl
melfas_touchkey.kl
qwerty.kl
The result is that no action is associated with the leftmost capacitive button, which is fine because it wasn't working properly in the first place. This was becoming problematic as I typed in Terminal or while using my Ubuntu build on the phone.
Now, if there was also a problem with the search popping up by itself then you would just have to delete "key 217 SEARCH". Remember why I initially did this was because the outside capacitive buttons were not functioning properly and I needed the settings button more than home while in programs.
Fully Functioning Capacitive Button Workaround
I actually found a specific need for the home key.
When in Terminal Emulator, if I want to back out to the main screen and access another application, I have to use my back button. Trouble is, the back button also closes out the terminal session, which is a pain in the *ss if I want to just look up something in my browser and then go back to it. I have to then restart my session and retype on the small as hell keyboard. So I was thinking, how am I going to implement a home key function in my drop-down start menu which is always accessible and low-and-behold, here it is:
SoftKeys for Root Users
https://market.android.com/details?...EsIm5ldC5ob29wYWpvby5hbmRyb2lkLlNvZnRLZXlzIl0.
This is a great app. Solves the problem. Starts immediately on boot.
There's also this for just a home key in the start menu drop-down, no start on boot though:
BK Softhome
https://market.android.com/search?q=bk+softhome&c=apps
Problems solved! I now have disabled all 4 capacitive buttons while using Softkeys for Root Users for all functions. (Delete: key 102, key 139, key 158, and key 217 in all three folders listed in original post)

[HOW-TO] Remap capacitive (if you have(or any other)) buttons on any Android device

My original article on this was made for a Galaxy S3/S4/S5/S6/S7 devices because I didn't know that root directory organisation is almost the same.
This tutorial/how-to will guide you trough the process of remapping you capacitive buttons (or any other, I assure you'll figure it out!).
This however does not work on some chinese phones as I was told. Be careful when doing this, you can cause critical or even permanent damage to your device even if you do a smidge wrong.
HOW TO REMAP CAPACITIVE BUTTONS ON ANY ANDROID PHONE
If you're left handed like me, then you might wanna remap your capacitive buttons if you use the back key more often than the multitask button.
You can remap many other buttons such as volume keys and the power button, just use some logic and you'll figure it out.
As we progress on, you'll realize that there are many more things you can remap other than the physical buttons.
!!!DISCLAIMER!!!
I'm not responsible if this doesn't work for you!
I'm not responsible if your capacitive buttons don't work!
!!!DISCLAIMER!!!
1. You'll need root access for this, otherwise it won't let you edit the file
2. Go to Play Store and download any file manager app that supports root access (Best: ES File Explorer, Total Commander, Root Browser)
3. Open the file manager, and go to the root directory
4. Grant it root permissions if it doesn't ask in the begining
5. Go to the system folder, then to the usr folder and then to the keylayout folder
6. Long press on the Generic.kl file and click on Open as, then on Text and then select your prefered text editor
7. Now click on the search option if you have (otherwise you're gonna have a bad time searching)
8. Search for the word BACK, but search for the whole words
9. Change it to APP_SWITCH (make sure it's capitalized!)
10. Search again for the word MENU and change it to BACK (there may be two MENU words in the file so search twice)
11. Search for the word APP_SWITCH and change it to BACK
12. Save the fie
13. Exit and close the file manager
14. Reboot your device and enjoy!​
Nifty little guide! I'd been itching to figure out how to change the hard-mapped ExpressKeys on my Wacom Cintiq Companion Hybrid for a while now!
The only catch is that with this thing, you have to change those mappings in a file called "gpio-keys.kl" instead of "Generic.kl", which only seems to cover USB/Bluetooth keyboard and game controller mappings. At least it's a neat reference for potential key bindings, though by no means a full list.
In other words, if you can't find what you're looking for in Generic.kl, check gpio-keys.kl or even the other .kl files in that directory. You might just find your physical button mappings there.
NamelessFragger said:
Nifty little guide! I'd been itching to figure out how to change the hard-mapped ExpressKeys on my Wacom Cintiq Companion Hybrid for a while now!
The only catch is that with this thing, you have to change those mappings in a file called "gpio-keys.kl" instead of "Generic.kl", which only seems to cover USB/Bluetooth keyboard and game controller mappings. At least it's a neat reference for potential key bindings, though by no means a full list.
In other words, if you can't find what you're looking for in Generic.kl, check gpio-keys.kl or even the other .kl files in that directory. You might just find your physical button mappings there.
Click to expand...
Click to collapse
Thanks for letting me know, the same thing happened to my brother, he owns a sony xperia s or sl i can't remember
i want to add long press menu button for menu and single tap for recent apps. Help
i.e. menu key >long press > menu
---------- Post added at 04:07 PM ---------- Previous post was at 03:53 PM ----------
Hello!
I bought a EP online, but the power button its damaged,it press it self. I managed to root the device and deactivate the press power option by putting a # before the number of the key.
That worked now the phone is not pressing the key multiple times(it does but the action its null)
The problem its that the continuos Hold of the power key its making the phone to be rebooted, even after the power key its "DEACTIVATED" Is there any name for the action of reset that i can deactivate by doing the # thing?
please help!! this is driven me crazy..

Categories

Resources