Hello everybody,
this has probably been answered a thousand times, but I have utterly failed finding a concise answer to my question: I'm on MokeeROM, which seems to be your typical mix of AOSP/CM/Omni/PA-Roms. I'm assuming the settings page "Buttons and Layout" is not proprietary to this ROM (I think it's CM, right?). I know how I can change the buttons in these settings, but how can I add long-press options? I've gotten used to long-pressing the "recent apps" button to get a menu functionality. I know there are other ways, and I know I can just add the menu button itself as a forth button, but isn't there a way to get back what I am used to?
Thanks in advance!
Have you tried any xposed modules? I reccomend gravitybox but I am not sure if it will create conflicts. You can trawl the page of xposed modules
Sent from my LG-D802 using xda app-developers app
linjes said:
Have you tried any xposed modules?
Click to expand...
Click to collapse
Thanks for the reply. No, so far I haven't tried xposed (at all). But it seems to me like this should already be possible within the confines of the existing system, shouldn't it?
I am also looking for this. Any update?
Related
Let me start by stating the I have perm root with -s off.
I am using the custom rom Virtuous Affinity.
With that said, I know that this rom has Google Search mapped to the genius button. I have looked at the threads about mapping the genius button to google search. When you press the button, I can then go to the voice search but I want to by pass this extra step.
I would like to map the button to Google Voice Search.
I have not been able to find any threads that discuss and detail what to enter for key 183.
And while we are at it, what would one enter for any of the other voice command apps like Vlingo or DragonGo!
BIG thanks in advance.
I'm running Virtuous Affinity, and this button is mapped to nothing.
When you long-press the button, if you have more than one responder, you get a dialog with choice between the responders. And in this dialog there is a checkbox "Use by default for this action". Press it before you select Voice Search, and next time there will be no more dialog. Until you install another responder, that is.
When you're looking for something, it's useful to start with basics before you dig astray.
[edit] You might be talking about short-pressing the button? In that case, it's indeed Google Search, as it's the default for any Android ROM besides T-Mobile specific one. I'd suggest leaving it as is, and using long-press mapping functionality, since it's present in all the apps you're talking about anyway, and it's native in Android, requiring no hard work. But in case you want to remap the button - it's possible, just a lot of unnecessary pain - to the point of editing framework and such, since you want the long-press functionality initiated by short-press. I saw it done on AOSP/CM ROMs, but it's not that easy in Sense. Most likely that's the reason you don't find anything related to it.
Good Answer!
Jack_R1 said:
I'm running Virtuous Affinity, and this button is mapped to nothing.
When you long-press the button, if you have more than one responder, you get a dialog with choice between the responders. And in this dialog there is a checkbox "Use by default for this action". Press it before you select Voice Search, and next time there will be no more dialog. Until you install another responder, that is.
When you're looking for something, it's useful to start with basics before you dig astray.
Click to expand...
Click to collapse
Thanks so much for the reply - but I would like to know what to put in the key mapping file, cause that is just the kinda girl I am ,
so if anyone else has done a mod to the key/button mapping file, I am still open for suggestions...
You can't. No matter what you put in the mapping file, you won't get the result you're looking for - because, as I already said, the system has button functionality selection built into framework, and the keymap file only selects from that functionality - nothing else. To change it, AOSP/CM ROMs change the framework (which is easy for them - since the framework is recompiled for the build). Sense ROMs will need a framework change too, but since Sense framework is precompiled, you'll need to baksmali the framework, find the right place to alter it (based on the AOSP/CM code location), insert smali code for what you want done (create another function that is capable of launching a user-selected intent, loaded from somewhere), and smali the framework back.
So if you're that kind of girl, start looking into apktool, dex2jar, JD-GUI and CM git
You could download button shortcut from the market and use it to change the button. Easier than messing with the system anyway.
Sent from my HTC Glacier using xda premium
nuclearbroccoli said:
You could download button shortcut from the market and use it to change the button. Easier than messing with the system anyway.
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
AFAIK it also reacts on long-pressing the button, which isn't what the OP wants.
Jack_R1 said:
AFAIK it also reacts on long-pressing the button, which isn't what the OP wants.
Click to expand...
Click to collapse
Sorry. Misunderstood.
I shouldn't post until I've been awake longer I guess...
Sent from my HTC Glacier using xda premium
It's ok, as you can see by my first post in this thread, it took me some time to understand too.
Appreciate the help!
Again, thanks for the help. I don't think I will be going that deep into the code to alter it so you can map voice search to the genius buttons - well not any time soon as I have too much on my plate already
biomade55 said:
Let me start by stating the I have perm root with -s off.
I am using the custom rom Virtuous Affinity.
With that said, I know that this rom has Google Search mapped to the genius button. I have looked at the threads about mapping the genius button to google search. When you press the button, I can then go to the voice search but I want to by pass this extra step.
I would like to map the button to Google Voice Search.
I have not been able to find any threads that discuss and detail what to enter for key 183.
And while we are at it, what would one enter for any of the other voice command apps like Vlingo or DragonGo!
BIG thanks in advance.
Click to expand...
Click to collapse
CM has this function under SITTINGS> INPUT > SEARCH KEY BEHAVIOR
Really?
crazykas said:
CM has this function under SITTINGS> INPUT > SEARCH KEY BEHAVIOR
Click to expand...
Click to collapse
I don't have access to my phone right now (I can't have it at work)...so I will look at this later today.
biomade55 said:
I don't have access to my phone right now (I can't have it at work)...so I will look at this later today.
Click to expand...
Click to collapse
My current rom is CF(CM 7.2 Kang).Sorry about SETTINGS word.Lol.Yes it has that function.You can set an app to open while pressing Genius/Search Key with normal pressing & long pressing too! I have set screenshot app to Genius button.
I believe the OP says in her first row she's using Virtuous Affinity, which is Sense 3.5 ROM.
And I believe I've mentioned CM ROMs having this function.
It won't help her, since she's not on CM. She won't even have "Input" sub-menu in Settings. And you should have read a bit before posting.
Got it
Jack_R1 said:
I believe the OP says in her first row she's using Virtuous Affinity, which is Sense 3.5 ROM.
And I believe I've mentioned CM ROMs having this function.
It won't help her, since she's not on CM. She won't even have "Input" sub-menu in Settings. And you should have read a bit before posting.
Click to expand...
Click to collapse
Sorry about that.I might wrong.I just said where she can find it if it is not on her current rom.Just that.Thank you for your advice.
Jack_R1 said:
I believe the OP says in her first row she's using Virtuous Affinity, which is Sense 3.5 ROM.
And I believe I've mentioned CM ROMs having this function.
It won't help her, since she's not on CM. She won't even have "Input" sub-menu in Settings. And you should have read a bit before posting.
Click to expand...
Click to collapse
Yup, I missed the reference to CM and thus could not find the Input Sub-menu under settings.
biomade55 said:
Yup, I missed the reference to CM and thus could not find the Input Sub-menu under settings.
Click to expand...
Click to collapse
Try Button Remapper app.Not sure,but give it a try
Can anybody please give me a hint on what xml file would I have to go to and what lines would I need to modify in order to hide the "status_bar_recent_launch_google_button". (long press Home button > Recents > Google Search button)
Thanks a lot.
nacos said:
Can anybody please give me a hint on what xml file would I have to go to and what lines would I need to modify in order to hide the "status_bar_recent_launch_google_button". (long press Home button > Recents > Google Search button)
Thanks a lot.
Click to expand...
Click to collapse
Download xposed installer and noattach's xposed app located in this forum section, not only will you give an option for removal of Google button, but also a lot more customization options if you wish to use them.
Sent from my SGH-M919 using xda premium
negerhab said:
Download xposed installer and noattach's xposed app located in this forum section, not only will you give an option for removal of Google button, but also a lot more customization options if you wish to use them.
Sent from H-M919 using xda premium
Click to expand...
Click to collapse
Thanks, I knew about NottachXposed but that doesn't help. I work on a project and I would like to do this modification myself as part of the project. I've been banging my head trying to figure it out myself but it just didn't go anywhere. Although I'd like having that particular modification, I'm much more interested in how to do it myself. Thanks anyway!
Sideload and install gmd hide soft keys run it and select hide soft keys keys and setup your quick nav bar ..my suggestion is to use the pro version of gmd and set navigation control's to none and then use udn pro as your navbar which seems to work better for me
Sent from my KFAPWI using XDA Premium 4 mobile app
Works great, but how do you get the new nav bar to push everything up when on the bottom? Right now I have it set to 20px so it doesn't interfere with much, but it conflicts with my keyboard from time to time...
Sent from my KFTHWI using Tapatalk 4
Did you guys lose menu buttons on some apps after installing these? My menu buttons for Voice and Trillian for instance have vanished and the menu button for the bar doesn't work on most apps for me.
Edit: Never mind, my issue was related to a busybox installation that was fixed by installing with a different installer. Oops.
Thanks for the info on this, it's very useful and stock is kinda lackluster.
aimlessanomaly said:
Did you guys lose menu buttons on some apps after installing these? My menu buttons for Voice and Trillian for instance have vanished and the menu button for the bar doesn't work on most apps for me.
Edit: Never mind, my issue was related to a busybox installation that was fixed by installing with a different installer. Oops.
Thanks for the info on this, it's very useful and stock is kinda lackluster.
Click to expand...
Click to collapse
I just got the same problem.
You mean that re-install the busybox will solve this?
911sakura said:
I just got the same problem.
You mean that re-install the busybox will solve this?
Click to expand...
Click to collapse
I reinstalled with a different installer from the play store and it worked for me.
aimlessanomaly said:
I reinstalled with a different installer from the play store and it worked for me.
Click to expand...
Click to collapse
I tried many kinds of installers but all failed, could you tell me which one you used?
Sent from my KFTHWI using xda app-developers app
911sakura said:
I tried many kinds of installers but all failed, could you tell me which one you used?
Sent from my KFTHWI using xda app-developers app
Click to expand...
Click to collapse
I used the one from Faznx92's root tutorials, but I never had a busybox problem...
Something weird is going on, I got the menu problem again after rebooting I guess. Every time I uninstall busybox I get them back. I'll try the method OP used.
Edit: I keep getting the same problem. Each time I enable the auto hide soft keys app, I lose menu buttons in apps. Thr trick I found is to launch them all after booting then enable the auto hide. Just need to do that every time you reboot.
I would still love to be able to fix it for good
Freeze or uninstall stock "Soft Key Bar?"
Is it possible to remove it completly? I use auto hide soft keys but the stock Soft Key Bar interferes with it.
Atise said:
Is it possible to remove it completly? I use auto hide soft keys but the stock Soft Key Bar interferes with it.
Click to expand...
Click to collapse
This
Do you guys know any way of swapping the default navbar with an aosp navbar? I want it to stay without hiding. I am mainly missing the recent apps button in the default navbar.
Thanks a lot!
You can disable the navbar with gravity box and use pie controls. That's what I do
Use UDN lite. Its far better and has more customization in the free version.
Sent from my KFSOWI using Tapatalk
clear-all button in recent app
thx. btw, gravity box brings back the clear-all btn in recent app list.
peter_b93 said:
Do you guys know any way of swapping the default navbar with an aosp navbar? I want it to stay without hiding. I am mainly missing the recent apps button in the default navbar.
Thanks a lot!
Click to expand...
Click to collapse
I am wondering the same thing, also the clear all button in the recent apps.
Good morning all,
I feel so stupid for asking this, but the menu button does not seem to work the way my other androids did in the past. Is there a function that I need to turn on or something? Thanks
install GravityBox and reassign buttons)) or just try to long press Recent button
Ok will do. thanks for your help sir.
nickhowell25 said:
Good morning all,
I feel so stupid for asking this, but the menu button does not seem to work the way my other androids did in the past. Is there a function that I need to turn on or something? Thanks
Click to expand...
Click to collapse
Not sure if this is launcher specific but I'm using Nova Prime and if you long press the menu button, then the original menu items pop up instead of recent apps. I never test with TW launcher. Discovered this later. But this way you don't have to remap with gravity box.
Docmjldds said:
Not sure if this is launcher specific but I'm using Nova Prime and if you long press the menu button, then the original menu items pop up instead of recent apps. I never test with TW launcher. Discovered this later. But this way you don't have to remap with gravity box.
Click to expand...
Click to collapse
I'm not even sure what gravitybox even is. I tried to see if it was in the app storre. someone else in the thread recommended to do so....
FYI - the layout used in the S5 is the standard Android button layout and you will see fewer and fewer devices using a dedicated menu button, as there's no need for it in Android 4.x+
tdrussell said:
FYI - the layout used in the S5 is the standard Android button layout and you will see fewer and fewer devices using a dedicated menu button, as there's no need for it in Android 4.x+
Click to expand...
Click to collapse
okay. thanks for the info!
nickhowell25 said:
I'm not even sure what gravitybox even is. I tried to see if it was in the app storre. someone else in the thread recommended to do so....
Click to expand...
Click to collapse
Gravity BOX is a module that is installed after you first use Xposed Installer. Google this or look it up in a search here on XDA.
Hi all
Is there a "fix" for the recent app button to re-map it to menu button on the first touch as it has always been in all previous models?
Thanks
only if u rooted.
koolboyztn said:
only if u rooted.
Click to expand...
Click to collapse
Yes I am sir
Can you point me the way please?
pamarakos said:
Yes I am sir
Can you point me the way please?
Click to expand...
Click to collapse
I would also love to find out how, I cannot stand the new menu button action...
takes some time to get used to, but it's quite better than before. the hardware buuton will be safer)
DP1980 said:
takes some time to get used to, but it's quite better than before. the hardware buuton will be safer)
Click to expand...
Click to collapse
What do you mean the hardware button will be safer?? With 2gb ram what s the point to check open apps? It should be used the opposite way...long press to get to task manager, normal touch to get to menu...I ll wait for the other member to show up with the solution hopefully
Sent from my SM-G900F using XDA Free mobile app
Well, actually there is a solution since you are rooted: install Xposed framework, then install/check Gravity Box module within the framework menu. Go into the Gravity Box and assign the buttons to your liking, restart the device and voila!
DP1980 said:
Well, actually there is a solution since you are rooted: install Xposed framework, then install/check Gravity Box module within the framework menu. Go into the Gravity Box and assign the buttons to your liking, restart the device and voila!
Click to expand...
Click to collapse
That's it...now we are back in business))
You made me smile again...how could I miss normal samsung function...I''m on Galaxy phones since I9000 (s1)...this recent app button made my life harder on the s5...
Thanks again and again!
For the rest here just a hint...it needs a reboot after framework installation and after Gravity box installation...
Thanks again my friend!
You are very welcome, but you could activate the menu function just holding the recent apps button for 0.3 secs without using any additional apps. Anyways, glad i could help
DP1980 said:
Well, actually there is a solution since you are rooted: install Xposed framework, then install/check Gravity Box module within the framework menu. Go into the Gravity Box and assign the buttons to your liking, restart the device and voila!
Click to expand...
Click to collapse
Thanks
for some reason it wont work for me? reinstalled gravitybox and still no luck
It works...
Gravitybox… buttons… menu button… longpress menu button… last apps opened(make point)
Multitasking Button… menu Button… short klick… open menu(make point)
Long klick… last apps opened(make point)
Restart Phone…
Gesendet von meinem SM-G900F
GODSPD said:
for some reason it wont work for me? reinstalled gravitybox and still no luck
Click to expand...
Click to collapse
Yes just try always a reboot between the steps
It works...I even remapped the home button key, long click recent apps...
Sent from my SM-G900F using XDA Free mobile app