I have searched quite some time to find answers to this so I will ask this here. I would like to trigger application executions or tasks (volume up for example) by pressing combinations of keys. So far, it seems no app accomplishes this neither does modifying any system file. I believe it requires something to detect multiple keypresses. Reason being is I would like to keep my Nook stock in appearance and only enter into an alternative launcher when needed. I quite like the aesthetics of the stock Nook but the available tools on android are indispensable. So, basically I am looking for something that will launch ReLaunch when I press both hardware down keys at once but ignore everything else. Perhaps trigger volume up and down by pressing "n" and up or down on either side. It's possible to do this in distros of linux but I have no idea about android or this version in particular. Does anyone know of any solutions? Thanks!
For combo buttons like that you'd have to hack android.policy.jar
You could always just use ButtonSavior instead.
That has popup softkeys on the screen.
If you have rooted with NookManager Nook Mod Manager allows you to assign actions to long presses. For example, I have a long press of the n button assigned to ReLaunch. A short press acts like normal and brings up the B&N quicklaunch.
Related
What is the Jog Button program?
It seems to have installed itself on one of my hardware buttons and ocassionally scrolls through several functions when that button is pressed.
I know how to change the button assignment but am wondering if there is something about Jog Button that we will want to use?
JogButton was just a freeware app we liked which allows multiple functions to be controlled by a single button. Feel free to re-assign the apps using JogButton's 'Tools' menu, or to use the button for something else entirely.
X
Thanks for the quick reply.
Do you know where I can find a help file for instructions for Jog Button?
I couldn't find it within the device and in playing with the program it just doesn't come to me.
JogButton Instructions
Fairly simple once you get the hang of it...
1. Press-and-hold the contacts button to activate JogButton. This causes the programs in its list to scroll/cycle
2. Release the contacts button when the icon of a program that you want to activate appears
Setup
1. Press-and-hold the contacts button
2. Click on the tools menu at bottom of screen
3. Select setup from the tools menu
4. The dialog that shows lists the programs and order of cycle.
5. Add/Delete/Edit as desired
6. The Snd check box is a toggle for sound/no-sound (a beep as each program is shown)
7. Duration is the number of milliseconds that an icon is shown
Hopefully that answers you questions
I'm the author...
Tek
Thanks for the reply. You are a genius!
This seems like a very handy app.
Joe_PDA
other buttons
What about using this very simple app on the calender button.
Have your "serious" stuff on one side,
then "toys" on the other..
I presume you have future plans, so give us a clue please
Perhaps even ask for ideas...
Martin
JogButton - Future Plans...
I started coding an alt-tab like feature into JogButton, but was not sure if that would be useful for anyone other than me. As you may know alt-tab in the Windows world scrolls you through the open list of of apps in a Last-in-first-out/Most Recently Used fashion. This would be useful for switching between two apps, the downside would be that you would have to remember the order. I was thinking of putting a toggle on either the menu or in the setup dialog to select this mode.
As for using two buttons, it is possible,but the way PocketPC handles the programs assigned to a button they have to have different names. I would of course have to make a few minor adjustments to allow for this, but it is possible.
I'm up for any suggestions to make this program more useful. Start a list and let's see what we get.
8)
Re: JogButton - Future Plans...
tekknogenius said:
I'm up for any suggestions to make this program more useful. Start a list and let's see what we get.
Click to expand...
Click to collapse
Bug: by timing a quick press just right, I can get it in a mode where it keeps cycling through the programs even though I've released the button already.
I think I was unable to map it to both the hardware buttons using a different list of programs to cycle through for each button. Since a single short press still does the same thing, there's really no reason not to map it to the second button also. (?? Quick hack: map second button to patched Jogbutton2.exe, using different set of registry keys. Better: multiple small stubs which start the real exe telling it which stub was executed. ??)
Maybe map a special action to pressing both buttons at the same time?
Also, something like 'double-press' and 'triple-press' found in some other programs to quickly go to the second and third item (or completely different items) without looking at the phone would be handy. I never really use the rocker-switch, but it could be handy for app starting: just keep the hardware button pressed and hit one of the four directions or the center, giving you 5 new things (per hardware button) to start.
JogButton...
Good suggestions. I can enhance it to use all available buttons. I prefer to use one hand, but others might like to have more options available.
hmm, must be a n00b suggestion, but perhaps it would be possible to use the volume control button? i dont use it for anything anyway.
Only two options... that I know of...
On the XDA/MDA PPCPE there are only two mappable buttons, unlike other PPC that have four or five. It's either the contacts button or the calendar button. Now once an app is mapped to either button and the app is launched, it can control any of the buttons. As a side note, the volume button would be great if it were dual functioning: a press-and-release brings up the volume dialog; a press-and-hold would bring up the record function.
Hi all!
Suddenly today I've noticed something...I never use the BACK hardware key on my diamond. The reason is that this button doesn't seem to make anything different than the HOME button. (of course, I may be wrong! If so, please someone point that difference.) So, the obvious idea came to me: why don't we try to remap this button.
I know that there are apps that do just that (AEBPlus for example) but if you tried these programs you know they use up to 20% of RAM (I'm talking about AEBPlus again). So this is not the best option.
Rather than these 3rd party software, I was thinking to remap the button before the RAM is cocked by means of hard-coding. Sadly for me I do not possess this kind of knowledge so I ask kindly if someone could do this for the community (if it can be done).
I thought that this button could have a similar function as the ALT-TAB but to tell you the truth anything would be better than the original function.
Waiting for your replays...
Or maybe more easier with a registry hack. I am also interested in remapping the back button!
great minds think alike, but not always on the same schedule.
i was just looking into remapping my buttons with something other than AEBplus. i have an HD2, so the built-iin button remapper only gives me control over a long press of the send button; i'm looking into remapping the back button into a short-press "alt+tab" solution and a long-press to open my task manager.
then i searched and found this: forum.xda-developers.com/showpost.php?p=1770782&postcount=1
it's basically noting how you can use shortcut files, renamed and placed in your Windows folder, that remap your buttons. just create a shortcut file and rename it with "long" or "short" button depress followed by an underscore and the documented name of the button, with the standard shortcut ".lnk" filetype, e.g. Long_Send.lnk or Short_Home.lnk. then go into the link properties and set the target to what app you want the button action to open. once built, move the shortcut file to the Windows folder and soft reset the device. et voila.
the only problem is the Back button, specifically. all the other buttons have a single, remappable function when depressed. unfortunately, the Back button is programmed to be "situationally aware" and can perform one of 3 functions based on the situation it's used in. there's an MSDN blog entry here that explains not only the uniqueness of the back button, but how it functions: msdn.microsoft.com/en-us/library/ms912123.aspx
anyways, gonna look into it some more this morning to see how i can remap the sucker with as little resources as possible, if it can be done at all, or how to do it if someone else already has, and in the case of the latter, i'll report back and bump the thread that has the answers.
-oakie
edit: no urls for me yet. fill in your own address bars. :jerkit:
edit 2: AND a 5 minute freeze between posts/edits. at this point, why even bother with registration captchas? or even new registrations at all? sounds like current members and admins would rather turn people off/away than risk a spammer gettin thru. :madjerkit:
I have the TMOUSA HD2 (latest stock ROM), but I assume this question would apply for all HD2s.
I have an app called Doublelauncher, that I bought years ago, that can remap hardware keys to different functions depending on single press, double press, triple press, press and hold, double press and hold.
The HD2 doesn't have many hardware buttons. The WinMo button app only shows one that can be configured--press and hold the green key. (Default of that to Voice Command. I would like to keep it with that function.)
In fact, I would like to keep all the default functions of the few keys on the device, just add more possibilities via long press, double and triple press, etc.
Doublelauncher doesn't work at all on the HD2. It installs, the app starts, but shows absolutely no keys that can be mapped.
I've read here on XDA about AE Button Plus, that it can remap anything, including the double and triple functions, long plus, etc. I downloaded the newest version, and installed it in main memory.
Extremely difficult to figure out how to use it, with no help file, no directions at all from the developer, not on his web site either. (Does anyone know of a good online guide or tutorial for this app?) However, I thought I finally figured it out (to some extent), and mapped different functions to the back key, for double press, triple press, and press and hold. I rebooted the machine after saving, tried these different presses, and none worked at all. The back key still only did back, no matter how many presses, no matter if I held it.
Other problems I find with AEB. I had installed Duttys Task Manager last night, and did the registry tweak necessary to have its icon on the right end of the task bar. Nice task manager. But AEB seems to keep changing (on reboot) that reg value back to 0, so the task bar icon does not appear.
Furthermore, AEB slows down my system terribly. (That is on the HD2, the fastest WinMo device there is!) Boot time is now incredibly slow, it is ridiculous!
Therefore, I have a couple of questions:
1. Suggestions to make AEB really work, and not cause the problems described above?
2. Has anyone had success with other button remappers on the HD2? Vito Button Mapper? Others?
Thanks in advance for your help.
Hi,
I have found few topics about key mapping but I still don't know whether it is already possible to map any hardware button to a MENU (?) so it triggers the non-stock launcher. I mean, do I still need button savior to switch to the launcher?
I would like to root my nook but don't want to use TouchNooter. (I think it breaks some of the stock rom functions and it also brings apps I do not want).
I would prefer just the root with adb over usb (should be possible with a custom ramdisk attached in one thread here), 3rd party apps installation enabled (update sqlite db), and an external laucher of course. I think I can live without the market.
It would be great to have "small" (as less apps as possible) customized nook rom without "phone" related apps.
You can remap the buttons, and it's pretty easy. system/usr/keylayout, I believe, and then the file without the omap prefix. The last four lives are the side buttons. However, I find it quite handy to use the new n-button mod/app by XorZone -- http://forum.xda-developers.com/showthread.php?t=1289894
That mod/app changes the n-button to a home when pressed (returns to launcher), and a recent app pop-up when held for a few seconds. Very handy, especially if you don't intend to use the nook's onboard reader. (I'm using Aldiko instead, since the default reader doesn't refresh often enough to prevent ghosting...)
Remap the other keys to VOLUME UP and VOLUME DOWN (BACK and MENU can be handy too) if you don't plan on using the stock reader and you can then use your hardware buttons in Aldiko, the Kindle app, etc.
Personally, my left buttons are MENU and BACK, and my right buttons are VOLUME UP and VOLUME DOWN, and I don't use the stock B&N library/reader at all.
If you plan on using the stock reader, be sure to keep atleast one back and forward button at the default mapping...
On the topic of touchnooter, everything it comes with can be uninstalled when it's not needed. there really isn't much clutter there to begin with... As I recall, it may or may not break the B&N shop but I'm unsure if that problem still persists or what. Otherwise, it doesn't break anything.
While transitioning some old Apps (FuelLog Pro) from my other Android phones onto my S6 Edge, I discovered that some of the apps needed to use a 'menu' key to backup/export. Obviously no way to add a menu softkey without root, SO I figured out how to do it from ADB.
Once you connect your phone to ADB enter the following command for the 'menu' softkey:
Code:
adb shell input keyevent 82
The 'keyevent' relates to various keymappings, annoyingly, the keymappings for the Samsung are a little different from standard Android, which is why I'm making a record of it here.
So far it looks like HOME, BACK, CALL, and Volume follow standard keymappings. I'll update this list if I spend more time digging and find other differences.
You can find the complete list here:
http://developer.android.com/reference/android/view/KeyEvent.html
This is super useful for running batch commands on Apps from the computer as well.
Use wisely.
Thanks, can we replace the long press on the recent apps button from dual windows to menu key?
I really don't understand where the problem is with just pressing the menu overlay button?
For old Apps without the new Material UI I always get a round overlay button which is acting as a Menu button.
The new one don't have these as they integrate this button themself.
I have not found any app yet where I'm not able to open the menu.
There is no way (as far as I know) but also no need to replace the long press with the menu button.
Menu button is not needed anymore.
I have several apps that don't have the round overlay Menu button (including the aforementioned app, FuellogPro). Mostly it is apps that were written about 2 years ago that got stuck between KitKat and JB. I have quite a few paid apps, so I keep using them (and modifying them) even after support has ended.
You can only reassign the button to 'menu' if you have root.