[REQ] Change track using Vol Keys. - EVO 4G Themes and Apps

Hi,
Is anyone able to write a simple service or app that will hook the volume keys so that i can double tap or tap and hold the volume keys to change the track back and forward on the stock music player.
It's a bit of a pain getting the phone out every time I want to skip a track, especially since I like to drop things but also since I prefer not to take my desire or hero out and be seen with them in my local area.
Ain't too safe.
I still can't believe HTC didn't add this feature by default, I don't want to use the headset remote.
Thanks.

Well you can always modify the file bravo-keypad.kl in /system/usr/keylayout
from
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
to
key 115 MEDIA_NEXT WAKE
key 114 MEDIA_PREVIOUS WAKE
But then you have no volume keys.

HTC headset has track change controls?

sruon said:
Well you can always modify the file bravo-keypad.kl in /system/usr/keylayout
from
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
to
key 115 MEDIA_NEXT WAKE
key 114 MEDIA_PREVIOUS WAKE
But then you have no volume keys.
Click to expand...
Click to collapse
That's exactly why I didn't do it and requested an app/service instead

alias_neo said:
Hi,
Is anyone able to write a simple service or app that will hook the volume keys so that i can double tap or tap and hold the volume keys to change the track back and forward on the stock music player.
It's a bit of a pain getting the phone out every time I want to skip a track, especially since I like to drop things but also since I prefer not to take my desire or hero out and be seen with them in my local area.
Ain't too safe.
I still can't believe HTC didn't add this feature by default, I don't want to use the headset remote.
Thanks.
Click to expand...
Click to collapse
I use my own set of earbuds, no way I'd ever take that stock crap out of the box.

You can open the track control unit and solder your own buds onto it :/

AdamG said:
You can open the track control unit and solder your own buds onto it :/
Click to expand...
Click to collapse
I know i _can_ but it's not the solution I'm after. My buds are expensive and I use them elsewhere too, as do I also plug several other things into the phone.
Essentially, I want hte controls on the phone, and independant of the phones or wiring.
Otherwise the first thing I would have done is modify the remote control. 2 minutes work for an electronic engineer. (most of which is waiting for the iron to heat up).
I'm surprised someone hasn't already written something like this, it seemed like an obvious addition to me.

i have htc touch pro, and i mapped nearly all hw keys to do something usefull.
hold send key = toggle screen brightness. hold end key = toggle vibrate. hold home key, get the task manager. when playing music, press dpad's down = next track, hold it = fast forward. same with dpad's up but reverse. dpad's middle key = play/pause. dpad's right/left, player's volume (dedicated volume keys controll system volume.)
seeing that evo has only volume and power hw keys, assigning different functions to them besides what they currently do is essential. you got my support here =)
i'm quite familiar with modding winmo phones, but havent played with android yet. tho once i get evo, trust me, ill do everything in my power to get those hw/sw key to function as desired =D

frifox said:
i have htc touch pro, and i mapped nearly all hw keys to do something usefull.
hold send key = toggle screen brightness. hold end key = toggle vibrate. hold home key, get the task manager. when playing music, press dpad's down = next track, hold it = fast forward. same with dpad's up but reverse. dpad's middle key = play/pause. dpad's right/left, player's volume (dedicated volume keys controll system volume.)
seeing that evo has only volume and power hw keys, assigning different functions to them besides what they currently do is essential. you got my support here =)
i'm quite familiar with modding winmo phones, but havent played with android yet. tho once i get evo, trust me, ill do everything in my power to get those hw/sw key to function as desired =D
Click to expand...
Click to collapse
Yeh, this was a useful capability of WinMo. I miss that in Android, but not much else. The Desire like you said doesn't have many keys unfortunately, I'm even missing the Call and End keys I was used to on the HTC Hero, but that I can live with.
What I'd really like is the double press or press and hold for track change on volume keys just like Sony Ericsson's do.

Why moved?
Can someone please tell me why on earth this has been moved to the EVO 4G Apps and Themes Section?
The request is for an App for use on the HTC desire, which is where I posted it.

........................

My thoughts exactly.

any solution found yet, op?

Well still I want it for the Evo so if this gets moved again I am making a new one

i support this request as well... coming from BB i miss that functionality to skip tracks without having to look at or even pull out your phone

http://forum.xda-developers.com/showthread.php?t=777767

Related

Button Mappings - So Far So Good!

Guys, this is what I have done with my button mappings and so far it seems to be working reasonably well. Well, reasonably enough that I am happy with it/can live with it.
Now I am very nit-picky and am coming from a heavily customized WisBar world. But in my quest to be stylus-free (and loving the WOW-factor of TF3D), I am able to live with the device by making the changes listed below.
-+-+-+-+-+
1. AEBPLUS - Volume Buttons
o Remapped volume buttons to provide Up/Down scrolling
o HOLD volume up or down - normal volume control
I did this because the TP was rejecting calls on its own whilst in my holster -- you know, the "press any volume button to mute the ringer" feature.
Note that if you do this, don't forget to look at the "Restore Volume Slider" option in AEBPlus (that guy thought of everything). I have all of mine unticked. Also take a look at: Options|Other Options|Control Volume Directly.
Screenshot: http://auxiliary.razer7.com/aevolume.png
··········
2. AEBPLUS - Phone Key ("Green Phone Button" in AEBP)
o Press once = Phone Button
o Press twice = Task List (Swipe left shows Programs)
o Press three times = Action List <-Note the Cut/Copy/Paste here!
Screenshots:
Task List: http://auxiliary.razer7.com/tasklist.png
Task List - Swipe Left: http://auxiliary.razer7.com/programs.png
Action List: http://auxiliary.razer7.com/actionlist.png
ABOUT THE TASK LIST: The Task List (and Programs list) is all touchable. AEBPlus provides its own task list as well but it isn't as nice as the one that I am using nor is it fingerable. The one that I am using is a freeware program called "MortButtons".
Download MortButtons here:
http://www.sto-helit.de/index.php?module=download&action=list&category=13
NOTE: Don't forget to also download the "ClickLED" skin on the same page. This skin closely matches the TF3D colour scheme.
During my testing, I've noted that MortButton uses about 250K (if you decide to leave it resident (recommended!)) and zero CPU since it is being called by AEBPlus.
ABOUT THE ACTION LIST: The "Action List" (as pictured above) is part of AEBPlus and can be custom-catered to your liking. I like to keep it simple and simply have cut, copy and paste in there, as well as toggle Wi-Fi (which works on the TP).
··········
3. AEBPLUS - End Call Button ("Red Phone Button" in AEBP)
o Press once = End Call
o Press twice = Last Task (ALT-Tab)
o Press thrice = Call DinarSoft TapText*
* "TapText" is a little utility that allows you to create a menu with clippings in it. I used it for email addy's and more. Check it out. I find it very useful and worth the ten bucks to register.
Screenshot of TapText in action: http://auxiliary.razer7.com/taptext.png
-+-+-+-+-+
4. About the Home and OK Buttons...
Now these two buttons *can* be mapped using AEBPlus, however, they can't be *re-mapped*.
In other words, if you map something to these buttons, they will also perform their inherent functions (i.e. the Home button will always go home first; the OK button will always send an OK message to the system, etc.)
Personally, I have left these two alone.
-+-+-+-+-+
CLOSING COMMENTS:
Now there is MUCH MORE you can do with the above two apps in the configuration I've described. Customize it to your delight.
I hope that this post helps some of you guys out. I need to give back to this community!
This community R0X.
Thanks for sharing. Will try this out as soon as possible.
You're very welcome!
I was playing around with this setup earlier today and so far, it has been working really well.
Take care.
I have AEBPlus and it is working great. My home key is mapped to be the start menu on a single press and torch on a long press, the back button closes active applications on a single press. My soft keys are mapped to lock the device and contacts. Works perfectly for me.
I'd already re-mapped the volume buttons as you did, though for a different reason. I use MS Readern often, and find the circular direction button on the TP pretty useless - I try to press arrow down and get the centre keypress instead more often than not. The volume buttons are a perfect substitute.
On tip though - when mapping the volume buttons it works best if you map double click and triple click to none. Doing otherwise gives confusing results.
Excellent post Minus-1, AEBPlus is a program I'd been looking for since getting my touch pro and the Mortbuttons program is proving to be a very useful program itself. one q though on the button options list in AEBPlus which ones cover the touch pros 'home' button and '<-' button
grezz said:
On tip though - when mapping the volume buttons it works best if you map double click and triple click to none. Doing otherwise gives confusing results.
Click to expand...
Click to collapse
Absolutely. I have only single click (directional up or down) and press-and-hold (volume control).
I often double-click the volume button to move up two elements, etc.
Excellent tip. Something definitely worth noting!
P.S. One quick note about the smartwheel: I used to HATE it but now I LOVE it. U have to get used to it and memorize the length of your stroke, etc. Once you do, tho, honestly, doing things become a breeze (especially whilst reading RSS).
yan2k said:
Excellent post Minus-1, AEBPlus is a program I'd been looking for since getting my touch pro and the Mortbuttons program is proving to be a very useful program itself. one q though on the button options list in AEBPlus which ones cover the touch pros 'home' button and '<-' button
Click to expand...
Click to collapse
Hiya, Yan2K!
I'm glad that you're enjoing AEBPlus and MortButtons.
In AEBP, the '<-' is mapped as the "OK Button" (which is precisely what that button means; some people like to call it the "back button" but it actually send a WM_OK message to the system).
As for the HOME button, you will have to map it...
In AEBPlus, go to the FILE|ADD BUTTON menu entry and press your HOME button. The TP will go back to the home screen but don't worry -- AEB is still running. Just click on your Quick Menu in the home screen (upper right corner of your task bar) and switch back to the AEB task.
Now remember: if you map these two buttons, they will NOT unmap their original functions... I generally leave these two buttons alone m'self.
Cheers!
thanks for the quick reply. I've created the 'home' button as you instructed, ended up with 'button #00ED' but cant get it to do anything either on 1-2-3 or long button press nor can i get the 'ok/<-' button to do anything either. prob doing something stupid can you help? ideally i want to be able to run a program on a long 'home' key press
Well mine is working, but not when TF3D is the active application. I remaped the (Long press) Home butoon to Second Today, and when I press it (long) it opens Second Today. Again, only when the TF3D is *not* the active program.
Hope that makes sence...
Cheers,
Cacti
yan2k said:
thanks for the quick reply. I've created the 'home' button as you instructed, ended up with 'button #00ED' but cant get it to do anything either on 1-2-3 or long button press nor can i get the 'ok/<-' button to do anything either. prob doing something stupid can you help? ideally i want to be able to run a program on a long 'home' key press
Click to expand...
Click to collapse
Mapped the volume buttons as you did. Just what I was looking for. Also set 'back' to proper 'ok/close'.
Cheers.
I think,the original functions are hardcoded somewhere(dll or something else). We need to find the file and modify it to disable these functionalities.
I remapped the "green" button the following way:
1 press) Phone application
2 presses) Alt+Tab
However, now when there is an incoming call I can't use it to answer. Which is quite logical.
Is there a way around this?
le_cactus said:
Well mine is working, but not when TF3D is the active application. I remaped the (Long press) Home butoon to Second Today, and when I press it (long) it opens Second Today. Again, only when the TF3D is *not* the active program.
Hope that makes sence...
Cheers,
Cacti
Click to expand...
Click to collapse
played around with it and found purely by chance that just like you said you cant use the home button or '<-/ok' button to do anything when you've actually got the TF3D home screen showing. hopefully someone will come up with a workaround for this as although i can make use of the '<-/ok' button it pretty much makes the 'home' button redundant for anything else but its original purpose
yan2k said:
played around with it and found purely by chance that just like you said you cant use the home button or '<-/ok' button to do anything when you've actually got the TF3D home screen showing. hopefully someone will come up with a workaround for this as although i can make use of the '<-/ok' button it pretty much makes the 'home' button redundant for anything else but its original purpose
Click to expand...
Click to collapse
Oh man, the OK button is one of the buttons I miss the most.
Specially while texting and such.
I hope I can remap some of the full keypad buttons as well.
I noticed that it sometimes doesnt' start up well, but oh well.
I re-maped the volume down to Ok/Close and Volume up to Start Menu
Then changed the volume settings to long hold, Which half the time when i press the buttons the volume comes up. haha.
hello!
I want to remap some buttons and I've tried with AE button Plus without success. Can you help me?
What I have is the call button configured for a long press to cyberon voice dial.
The disconnect button long press is for vibrate / ring.
what I want is to turn home and back buttons long press to wifi and bluetooth on/off and.
is it possible?
can I do this without AE button +? like a registry change? would be even better... or another program suggestion is also a good help!
Please help!
deiota
Is it able to remap the PTT button? That would be AWESOME.
dumb question, but where can I download AEB Plus?
I can't find a direct link or site to get the program!
Thanks...
http://ae.inc.ru or ask directly the author AE(here on XDA-Alexander Eltsyn).
So, is there any way to change the mapping on my keyboard? Like the hot button keys really get in my way, and I'd rather have a TAB key than a CAPS key, and stuff. So is this possible yet?

Any software to remap hardware keys?

Is there any software out there right now that can remap the hardware keys easily so that when a key is pressed the applications on the device think it's another key? (for example, holding the Volume Down key makes applications think you're holding down the * key on a phone keypad).
Therefore I can use it to map *, 8, 6, 9, 1 and 0 keys onto a phone without a keypad and play games that require more than the 4 direcitonal keys and center key.
So annoying knowing that you have hardware keys that aren't being used by the game but you don't have the keys the game needs... (yes, no, volume up, volume down, gps and browser key... enough to play the game... though not the keys that game wants)
SortInchKey... it's kinda hard to setup, but it will do what you need....good luck
Can you share how you can set it up? I am looking for this but totally confused by the screen.
Take a look at this one....should serve your purpose.
http://forum.xda-developers.com/showthread.php?t=472280
cortk said:
Is there any software out there right now that can remap the hardware keys easily so that when a key is pressed the applications on the device think it's another key? (for example, holding the Volume Down key makes applications think you're holding down the * key on a phone keypad).
Therefore I can use it to map *, 8, 6, 9, 1 and 0 keys onto a phone without a keypad and play games that require more than the 4 direcitonal keys and center key.
So annoying knowing that you have hardware keys that aren't being used by the game but you don't have the keys the game needs... (yes, no, volume up, volume down, gps and browser key... enough to play the game... though not the keys that game wants)
Click to expand...
Click to collapse
well the best way in my experience is to use resco registry editor, for example i change my left soft key to "new sms" so when i click it it pops open a new sms message window, look into that if you'd like
Also make sure you check out my dedicated bible in the Wiki.
AE Button Plus
which device do u have? i have hp 614c and i use the app "CZ612Key1.01" for that very same purpose.

An app to skip song with Volume Keys [Perhaps an idea]

Does such an app exist that when the phone is locked, and in your pants, you can skip the playing song with the volume keys. By double tapping for example, or holding it down.
Would be so much better than having to pull out my phone on the bike for example.
I was JUST thinking this before I found this thread!
There's a tweak for the iPhone called GlovePod that lets you do exactly that. I have it set like this:
Screen off: Volume keys = change volume
Lock screen: Volume keys = change song
That fits perfectly for my needs, and I really wish I could do this with Android.

Remap Volume Key Long-Press?

Posted this elsewhere and haven't found a solution...
With the Optimus V I had CM7 installed, and it had an option for long-press volume-up to skip tracks, and volume-down would go back a track.
But since I listen to mostly podcasts, I went in with root explorer and changed the physical search button to be fast-forward to get past boring parts.
Since the Triumph doesn't have much in the way of physical buttons, I was trying to use the long-press volume keys to FF and rewind the current track.
I've gone to /system/usr/keylayout (this is the directory of the Optimus's settings)
But there are a number of .kl files in that folder. Does anyone know which is the one the Triumph uses for the physical keys? I'm assuming it's the "fbx_kybd.kl" since there are only 4 keys listed in it.
Also, what would key values would I add to the file to make my FF setup work?
ex:
key ??? MEDIA_FAST_FORWARD
key ??? MEDIA_REWIND
Thanks!
Still trying...
Ok, so the phone has been out for a while now, people have started making custom ROMs and such. Does anyone have an answer to my question?
Thanks!

[Q] Headphone volume controls

So i have an old pair of headphones from my s3. the play/pause button works fine with the M8, but the volume up/down buttons only skip tracks and not change the volume. i can skip tracks with double/triple pressing the play button. would really like to see something control the media volume with my headphone buttons.
im sure it is... but the xda post i found for it doesn't address what i posted about.
Abe21599 said:
So i have an old pair of headphones from my s3. the play/pause button works fine with the M8, but the volume up/down buttons only skip tracks and not change the volume. i can skip tracks with double/triple pressing the play button. would really like to see something control the media volume with my headphone buttons.
Click to expand...
Click to collapse
I even purchased the oem headphones on HTC's site that says compatible with M8, still no dice. Hopefully there will be a fix soon.
i have the ones that came with the M8 and i noticed only one button. i just dont get why they need to go in their own direction and remove buttons instead of comply with the current accessories and just add the features. i run with my phone in an armband so a one button remote has limited usefulness.
I am in the exact same boat...When I work out the phone is an athletic armband so I don't really have access to it during my workout. I use these headphones: http://www.amazon.com/gp/product/B005I2IVRO/ref=oh_details_o01_s00_i00?ie=UTF8&psc=1 and I can play/pause by pressing the middle button once and skip tracks forward by double tapping the middle. However, the volume up and volume down buttons are do not function period. Very annoying and hoping there's an Xposed module or an app that can make them work.
pettigrew95 said:
I am in the exact same boat...When I work out the phone is an athletic armband so I don't really have access to it during my workout. I use these headphones: http://www.amazon.com/gp/product/B005I2IVRO/ref=oh_details_o01_s00_i00?ie=UTF8&psc=1 and I can play/pause by pressing the middle button once and skip tracks forward by double tapping the middle. However, the volume up and volume down buttons are do not function period. Very annoying and hoping there's an Xposed module or an app that can make them work.
Click to expand...
Click to collapse
thats the functionality i have now with any headphones i use.
also FYI, you can go back a track by triple pressing

Categories

Resources