Hi,
I've been using CyanogenMod 10.2 on my Nexus 4, but I changed back to Stock Android. But now I'm missing a very useful option: the option to use the volume keys for skipping the Musik when the screen is on and I would like to use it now on Stock Android. The Apps in the Play Store don't work like I want, on one hand they don't work that good and on the other hand they only change the volume control to musik control, but I want to use both (short press for volme up/down, long press for next/previous title) so I thought I could use the ButtonRemapper or Tasker to make this real. But I can't find a function for "long press" in the ButtonRemapper or the possibility to have two things on one button or, in ideally a way to only activate it when the screen is turned off. And in Tasker (I only have the free version now for testing) I can't find a way too, so there would only be the possibility of a script for all I know.
Is there any way to solve my problem?
BTW: I have Android 4.3, rooted. And I need an "step-by-step-walkthrough", especially when I need a script because I don't know anything about scripting, so please have understanding when I need an easy way for that.
Works now with Xposed Framework...
Related
Been searching a little, but couldn't really find what I was looking for.
I'm looking for an app that would let me rebind the hardware buttons on my x8. A bit more specifically, something that would only remap buttons while screen is off, so I don't lose any functionality while screen is on.
The purpose of this would be to allow me to use hardware buttons to control music. Thinking menu/back keys for skipping tracks and camera key for pause. Not like the menu/back buttons do anything when screen is off anyways.
Optionally, long-press of volume keys for skipping tracks if menu/back is a no-go.
Not asking for anyone to write this app, just wondering if anyones been down the same street and found something usable
Other than creating your own app/hack, 'Tasker' may be able to help you out. I'm not sure if want you want to do is achievable with 'Tasker', but it's worth a shot.
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.
Hey guys just want to find a way to appease a feature i've found infinitely useful for me while using a G2/G3 based ROM is that while the phone is asleep/ screen is off I'm able to long press the volume up button (usually opens the memo app) for Torch (set via G3 Tweakbox), and volume down to open the camera. Now this is extremely useful as when i need to pull out my phone to take a quick picture i've found it's much faster to have the button already depressed as i pull my phone from my pocket so that the camera is already ready to go by the time it's out. I'm looking at way to get the same functionality on an AOSP rom. (I.E Mahdi/AICP/PA/OMNI/LS)
Now for Torch I was able to achieve it via this module: http://repo.xposed.info/module/ma.wanam.torch
Additionally since I also use volume controls for music track control it needs to not open the camera/torch while i'm trying to change songs with the volume keys. The xposed module linked earlier has that functionality. Just looking for the same thing but with camera..
Appreciate the comments and replies.
I was wondering if it is possible to remap the hardware buttons on an android headunit. For example at the minute my media buttons only work for the stock apps, so skip next/previous etc. are useless in poweramp. It would also be cool to remap a useless source button to something like voice control. I have tried downloading apps that have always worked for me flawlessly in the past such as multilnguage keymap redefiner but they don't detect anything on key press. I know that you can manually remap by editing a .kl file but my headunit isn't rooted.
Thanks!
maybe under settings/general/extra settings/panel keys ?
extra settings password could be 123456
Hi! I hadn't read your thread so I posted this... Did you ever get around it?
http://forum.xda-developers.com/and...emap-car-buttons-to-interact-android-t3388375
Install this: https://play.google.com/store/apps/details?id=org.jraf.android.nolock&hl=en_US
Non play store link (It's a free app): https://apkpure.com/no-lock/org.jraf.android.nolock
Just install hit the big unlock button when you start the app, thats it!
Does take a moment to start on each activation / boot, won't notice it unless you try to immediately sleep then resume.
Was surprisingly hard to figure out this seemingly simple tweak, so figured I'd post it here. Just got a Nintendo switch and thought the instant resume was pretty nifty, wondered why the Xplay didn't do that so thought I'd look into it.
Tried a few other methods, first by enabling then disabling the custom lock screen in smart launcher, which worked but only for that boot.
Then tried an app called antilocker, which has an launch on boot function, which doesn't seem to work. So again it only works for that boot and you gotta redo it each time.
No Lock luckily just works!
If you want to customize which keys wake the phone just edit the files in /system/usr/keylayout/
Pretty simple to figure out, just add or remove WAKE_DROPPED from the key entry you want.
For example I copy the Switch and have it set to just be the power button that wakes.
Also considering making all the gamepad keys wake.
Another thing you can do with keybinds is make the volume buttons l2/r2 buttons, just copy the r1/r2 entries but change the number, removing the volume_up and down entries at the same time.
This will disable the volume function ofc, but let you use them as shoulder buttons in other apps, including the built in PSXPeria emulator!
To get volume buttons back you can use this app to make the shoulder buttons work as them. https://forum.xda-developers.com/showthread.php?t=1262314
I haven't tested it but I bet you could switch the volume buttons to be the l1/r1 buttons and I bet it'd think they were the shoulder buttons.
Edit: Tested, unfortunately doesn't work.
the volume to l1 r1 function would be very interesting for psx games...i don´t have a switch so i don´t exactly know what the instant resume function