Search button long press on AOKP - Galaxy S II Q&A, Help & Troubleshooting

I'm on hydrogen aokp and was wondering if there is an app I can use to set the long press of the menu button to represent the search key, as is in Samsung based roms. Anyone know of anything?
Sent from my GT-I9100 using XDA

Nova launcher can do this but it will be only for your home screen im afraid.

Ah I'm looking for something that can do it across the board. Only thing I'm really missing in AOKP.

Yes, that's the only thing I miss too.
I wonder if it's hard to implement...

I think the feature is already part of CM: http://review.cyanogenmod.com/#/c/16252/
However, I cannot find anything related to this from AOKP gerrit: http://gerrit.sudoservers.com/

Related

[Request][Mod] Flip search button function

I seldom use the search function on my n1 (quick press search button), compared to my shortcut (long press search button).
I'd love to have the function on the button flipped, so that only when I long press search I get to search, but simply quick pressing it brings me to quickdesk (my shortcut)
There has got to be others interested in this, but I can't find any solution on how to solve it..
Can somebody help me out?
Regards
-e
I THINK someone looked at this before, and without having an app running actively ALL the time to remap the default single press keys, its impossible.
dogiedogie said:
I THINK someone looked at this before, and without having an app running actively ALL the time to remap the default single press keys, its impossible.
Click to expand...
Click to collapse
Or i assume, editing the framework from source ? Like how wysie did it with long-press home-button. If u dont know what im referring to try cm6.
The home button long press change in cm6 is really nice.
Wondering how deep in the OS/framework these changes are..
Basically the OS should register the 4 "hardware" buttons the same way, so if one can be changed, all should be able to be changed..
Also since I just wanna swap functions, there is no need for a gui/front end to control the changes or map certain programs to it.
(I wouldn't complain if cm6 got a full search button control for both short and long press though)
Sounds like something that could be baked into a cm rom if enough people was interested in it..
-e
It should be possible, but I took a brief look at the source and couldn't find it -_-. Will look harder next week. (Weekend's here )
Glad to see you all liking the home button binding change .
I was actually thinking about this after seeing the MT Slide ad... All the genius button is is the search button binded to a skinned voice dialer (if it's even skinned, haven't looked into it)
Wysie said:
It should be possible, but I took a brief look at the source and couldn't find it -_-. Will look harder next week.
Click to expand...
Click to collapse
Massive props to you if you can pull this off!
Looking forward to some good news next week
Key Mapping
This is a good resource: http://www.kandroid.org/android_pdk/keymaps_keyboard_input.html#androidKeymapKeyCharMap.
Would be awesome if you could pull this off
Wysie said:
It should be possible, but I took a brief look at the source and couldn't find it -_-. Will look harder next week. (Weekend's here )
Glad to see you all liking the home button binding change .
Click to expand...
Click to collapse
Sent from my Nexus One

Repurpose menu capacitive button when AOSP ICS roms are available?

I was thinking, for AOSP ICS roms, either an apk could be created, or flashed into roms, that repurposes the menu button as the task switcher button, like on the Galaxy Nexus (Prime). Since the menu "button" is essentially in the app itself, the menu capacitive button becomes superfluous. Also, I've never had a phone or rom where holding down the home button acts as quick as just pressing the TS button on the Nexus Prime.
So, instead of the following buttons:
Home/Menu/Back/Search
We would have:
Home/Task Switcher/Back/Search
I like the idea of making it an app, as some would want to leave the buttons the way they are, whereas others might think this is a good idea. I hope the Cyanogen considers this, and puts this in their "Cyanogen Settings" section.
Here are a couple of threads that talk about the same thing, albiet in different phone forums.
http://forum.xda-developers.com/showthread.php?t=1347998
http://forum.xda-developers.com/showthread.php?t=1315075
Maybe you could use the bottons as quick launch icons. Allow the user to pick apps that the buttons would launch.
i think thats a great idea. i felt the same way when i read the features of ics
it doesnt seem impossible. cm7 already has the option to set program shortcuts for long pressing the the menu or home buttons, etc
Why the menu Button why not the usual home button. Instead of replacing the menu function why not replace the small icons with the ICS running apps manager.
Home & Task Manager/Menu/Back/Search
scientist343 said:
Maybe you could use the bottons as quick launch icons. Allow the user to pick apps that the buttons would launch.
Click to expand...
Click to collapse
Exactly what I was thinking. Instead of having my 4 most used apps on the bottom of my home screen (Handcent, Facebook, gmail, market) that would be pretty sick to have the captivate button as quick launch buttons for those apps.
Support TrevE! Fah Q CIQ!!
I like the favorite apps at the bottom, id keep that, and even the home and menu and search the way they are, but id want my back button to bring up the multitasker menu when longpressing
Sent from my PG06100
I would say the search button. I never use it and ICS has a dedicated search bar. But yes I agree, now with ICS my next phone will have on screen controls. It looks so nice!
Sent from my PG86100 using xda premium
Personally, I think I'd rather have the screen real estate without the buttons moved to the screen, especially since we have the buttons anyway. That said, I'd be interested to see what could be done with a gesture area down there. Just so long as the on screen buttons are an option that can be turned off returning the capacitive button function.
Guys - We will have no "on-screen" buttons like the Galaxy Nexus does, ICS will use hardware buttons if they are present. So no, you will not have your 4 most used apps, you will have Home|Menu|Back|Search.
Have a good day.
moosh3 said:
Guys - We will have no "on-screen" buttons like the Galaxy Nexus does, ICS will use hardware buttons if they are present. So no, you will not have your 4 most used apps, you will have Home|Menu|Back|Search.
Have a good day.
Click to expand...
Click to collapse
^his larger, bold text, has hurt my feelings and trampled on my dreams. I kid, I kid. I like the hardware buttons anyway, the onscreen buttons for nexus ics would take up more room anyway. I got a taste of that using the ics launcher on the market.
moosh3 said:
Guys - We will have no "on-screen" buttons like the Galaxy Nexus does, ICS will use hardware buttons if they are present. So no, you will not have your 4 most used apps, you will have Home|Menu|Back|Search.
Have a good day.
Click to expand...
Click to collapse
Did you read the thread? This isn't about "on-screen" buttons. It is about changing the purpose of the existing capacitive buttons to somewhat mirror the functionality of the on-screen buttons on the Galaxy Nexus.
moosh3 said:
Guys - We will have no "on-screen" buttons like the Galaxy Nexus does, ICS will use hardware buttons if they are present. So no, you will not have your 4 most used apps, you will have Home|Menu|Back|Search.
Have a good day.
Click to expand...
Click to collapse
Stick with singing Mr. Bieber, trying to sound smart isn't your thing
Support TrevE! Fah Q CIQ!!

[Q] Remap menu button

Hi,
do someone know if it's possible to remap the menu button on our galaxy s 2 to be the multitask button ( I mean the app switcher ) ? I searched hours on Google to see if it was possible and I found a couple way to get it to work. But I'm not sure it works for our phone because we miss some files in the key layout directory.
If you know how we could remap it and get the 3 dots on the screen, let me know !
I'd be so happy !
Have a nice day​ Belig :laugh:​
My Suggestion
Hey Belig
I want to have that too, it's so anoying to long press the home button everytime.
But I think getting the 3 Dots on the screen is pretty ****ty, so if we could do it that when we press the menu button the "recent apps" pops up. And when we long-press the menu button we can get the normal menu. That would be the easiest and best fix for that i think.
But I'm sorry to tell you that I don't know how to do that.
And I think the problem is that nobody is interested in doing that... , as I saw this question more than once on XDA-developers.
But if someone reads it and is interested, please do that! I would be able to do a little donation to that aswell if needed!
Wave.
WaveRapture said:
Hey Belig
I want to have that too, it's so anoying to long press the home button everytime.
But I think getting the 3 Dots on the screen is pretty ****ty, so if we could do it that when we press the menu button the "recent apps" pops up. And when we long-press the menu button we can get the normal menu. That would be the easiest and best fix for that i think.
But I'm sorry to tell you that I don't know how to do that.
And I think the problem is that nobody is interested in doing that... , as I saw this question more than once on XDA-developers.
But if someone reads it and is interested, please do that! I would be able to do a little donation to that aswell if needed!
Wave.
Click to expand...
Click to collapse
I am also really interested in this. Would be awesome if someone could do this.
Update, this was what I found, if you check the last page, first post, it seems that this method works fine with Samsung Galaxy S2 [running cm9, at least ] .
[HOWTO] Remap hardware button to ICS recent apps
Unfortunately, it involves decompiling and other nasty things, which would require quite a bit of effort. Would've been nice, if some ROM, had this option prebuilt. [ changing via settings].
Just a quick update/info. This has been merged in latest CM10 and is also a feature of cm9.
Sent from my GT-I9100 using xda app-developers app
Spiralzz said:
Just a quick update/info. This has been merged in latest CM10 and is also a feature of cm9.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Strange. I was running cm9 till cm10 came out and right now running the latest build of cm10 and haven't seen this. Can you please clarify?
Sent from my GT-I9100
Hrithan2020 said:
Strange. I was running cm9 till cm10 came out and right now running the latest build of cm10 and haven't seen this. Can you please clarify?
Sent from my GT-I9100
Click to expand...
Click to collapse
Latest build of CM10 of 6th August. Go to system settings, system, hardwarekeys.
Sent from my GT-I9100 using xda app-developers app
Hrithan2020 said:
Strange. I was running cm9 till cm10 came out and right now running the latest build of cm10 and haven't seen this. Can you please clarify?
Sent from my GT-I9100
Click to expand...
Click to collapse
So, I went through the changelog of cm10 and found this :
Settings: Hardware key custom rebinding (2/2)
Description (sounds cool, can't wait for the next build ) :
Code:
Settings for rebinding the actions performed on the following key press events:
Home long-press, menu press, menu long-press, search press, search long-press,
app-switch press and app-switch long-press.
The available actions are: Nothing, open/close menu, recent apps switcher,
search assistant, voice search and in-app search.
EDIT : Sorry, hadn't seen Spiralzz's post. I was actually having this in my build cm10 itself. [ the one I flashed today ] Awesome!!! Now, I have set long-press home button to voice search, press menu button for app-switcher, and long-press menu button for search . Thinking of using, three button in-app for menu options for a while. Thanks a ton
Spiralzz said:
Just a quick update/info. This has been merged in latest CM10 and is also a feature of cm9.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Where can I access this in CM9? I´m on the 7 aug nightly.
I didn´t find it in settings/system.
i resume this old thread. I'm using cyanogenmod 10, so i can remap button as i want. But i would try the stock jelly bean from samsung (obviously rooted) and i I would remap the menu button for multitasking. There is now the possibility? Thanks

Request From Developers

Let me preface this by saying I don't know jack squat about how development is done, I just know some of the lingo, so feel free to ignore this and move on, but I have a request for something I'd like to see and don't believe it would be too awfully difficult to do for an experienced developer.
I've had my EVO for about three days now and love it, but there is one thing that is kind of annoying and I don't understand why HTC did this.
The phone has no capacitive menu button. Where I thought one was is just an app switcher button. Don't get me wrong, I like it, but because it exists in place of a menu button, when I go to many apps, the whole bottom of the screen gets turned into a big, Nexus-style menu button. Just a big waste of space.
What I'm asking for if someone will create a rom that changes nothing about Sense, the phone's UI or anything, just tweaks two things: Make the app switcher button into a menu button and make the app switcher feature come up by long-pressing the home button just like it used to in Android-past.
Like I said, this is a selfish request, so feel free to blow it off.
Try this:
http://forum.xda-developers.com/showthread.php?t=1727413
disclaimer: I haven't tried it; just googled.
Dude, that option is available in almost every rom as well as instructions on how to get rid of the 3 dot on screen menu that takes up unnecessary space in some apps
Sent from my EVO using xda premium
First off, you should post this in Q&A not development. Also, every rom has this ability and the mod is out there so do your homework and find it.
This has already been done.
http://forum.xda-developers.com/showthread.php?t=1681034
Sent from my EVO-LTE via Tapatalk
This section of the forum is only for developers posting their work.
But as others have mentioned nearly every custom ROM has the recent apps key remapped to a menu button
crankybot said:
Let me preface this by saying I don't know jack squat about how development is done, I just know some of the lingo, so feel free to ignore this and move on, but I have a request for something I'd like to see and don't believe it would be too awfully difficult to do for an experienced developer.
I've had my EVO for about three days now and love it, but there is one thing that is kind of annoying and I don't understand why HTC did this.
The phone has no capacitive menu button. Where I thought one was is just an app switcher button. Don't get me wrong, I like it, but because it exists in place of a menu button, when I go to many apps, the whole bottom of the screen gets turned into a big, Nexus-style menu button. Just a big waste of space.
What I'm asking for if someone will create a rom that changes nothing about Sense, the phone's UI or anything, just tweaks two things: Make the app switcher button into a menu button and make the app switcher feature come up by long-pressing the home button just like it used to in Android-past.
Like I said, this is a selfish request, so feel free to blow it off.
Click to expand...
Click to collapse
As Ripply said, this is available in pretty much every Rom in the dev thread. Have you flashed any roms yet? Plus, this is a general section.
Mods please move....thanks
Sent from my ClassicJewel
Leoisright said:
As Ripply said, this is available in pretty much every Rom in the dev thread. Have you flashed any roms yet? Plus, this is a general section.
Mods please move....thanks
Sent from my ClassicJewel
Click to expand...
Click to collapse
I have not tried any custom ROMs with this phone yet. I had the Hero and used to mod it all the time, but it broke and I had the less developer-friendly Samsung Replenish and my modding sorta stopped after that.
Just to chime in here to say that although I see why people want to remap their recent apps key to a menu button, I don't think that the savvy members of the android community (i.e. people like us who frequent sites like xda) should really be doing so. It's against Google's philosophy to move away from the menu button and more towards the action bar. This choice has already been in place for over a year, and it's time for users, manufacturers, and developers to honor it, if only to help against these arguments of android fragmentation. Frankly, it's a little unacceptable that the SGSIII features a hardware menu button (or that both the new Evo, which I own, and the SGSIII to still have hardware navigation buttons).
I really think that we should be pressuring app developers to update their products instead of regressing our phones.
Sent from my EVO using xda app-developers app
If you spent 5 mins reading the forum you would have found the answer to this countless times.
Sent from my EVO using xda app-developers app
corcgaigh said:
If you spent 5 mins reading the forum you would have found the answer to this countless times.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
And if you would've spent 2 mins reading this thread you would see that this has been pointed out to him already

Open recent apps on 4.4 N2?

I recently flashed CM11 4.4 and I was wondering how you open and close recent apps while using the Google launcher?
I'm used to holding down home button on 4.1
Sent from my SCH-I605 using xda app-developers app
Bump, not sure bout this, would like to know too. (Google removed the feature to open recent apps via home button?!?!?!)
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
P.S. replies with quotes will be replied to faster.
Navigation....
I'm getting closer to solving that problem in CM11. I had lost the ability to see recent, or open apps by long pressing the home button. Flashed a nightly this morning and got that function. Still no Nav bar! Supposedly, there's a way to hide and un-hide it. Under Settings/personalization/extended desktop, unchecked extended desktop and still, no luv.
I've posted the same question on the CM forums so we'll see (I hope).

Categories

Resources