[Q] Button Remap i9100 - Galaxy S II Q&A, Help & Troubleshooting

Hi, so I was lurking the interwebz for something that would let me remap the keys on my S2 in a specific way, specifically the same way the Galaxy Nexus has them, back, home & recents.
I found something that got me a little up to target, and that's the abandoned Button Remapper project. I remapped my keys and inversed the meny and search key (I never have the backlight on, it's unsightly, so their reposition doesn't bother me) unfortunately, Button Remapper doesn't feature a "Recents" function to map (probably because it was last updated January last year, before this multitasking sh** got serious on Android).
So I was wondering if someone knows someone or some tricks to get the buttons working in that order.
Oh and of course manipulating Android into providing an on-screen menu key where applicable is probably a must for the solution to go big time.
I'd look into creating something myself as I found a thread that talks about remapping keys by editing Android code (can't find the link in history) but I have to study for end of year exams at the moment.
So my question is, anyone know of or can create a solution? Maybe we can get the Button Remapper dev to update the app? Maybe you're looking at this right now? PEOPLE NEED YOU HERO!
Thanks.

Related

[Q] Mapping volume keys to HOME, BACK and possibly more

My HD2 "Frankenphone" (it's built from no less than 3 other HD2's) has no working hardware keys on the front of the phone. The volume keys, however, do still work. I therefore want to cook a rom based on an existing one that has Volume up/down mapped to HOME/Back.
Furthermore, I was wondering if I could somehow get the MENU button implemented as well. I understand that this is not possible through the SDK, but perhaps it can be done by writing native C code. E.g. a longpress Volume-up could be menu, a long-press Volume-down could be search.
I'm not asking for someone to do this for me, I'd like to do this myself. What I'm looking for are a few quick pointers to how to start this endeavor. I have previous experience cooking custom roms using toolchains under linux, and also experience writing C (non-gui) code under linux. So useful pointers would be :
* Where can I find the key mappings? I suppose this is part of the kernel/user space?
* How would I go about implementing the long-press feature? Or can you hint towards another possible solution that does not involve the front hardware keys (touchscreen snooping for gestures? accellerometer? Any other sensor?)
Take a look here:
http://source.android.com/porting/keymaps_keyboard_input.html
Hope that helps.
One thing I do in most builds is change my call key to a search key.
Hi!
Take a look at the following thread! http://forum.xda-developers.com/showthread.php?t=740629
paalkr said:
Hi!
Take a look at the following thread! http://forum.xda-developers.com/showthread.php?t=740629
Click to expand...
Click to collapse
Awesome, thanks! That worked like a charm. Mounted the system.ext2 loopback, patched the keys, and tadaah, working home + back. That at least makes the phone usable again.
Can anyone recommend a solution to get a working MENU action? It looks like long-press back is handled by apps individually (e.g. in the browser it will show a history), while long-press home displays a task switcher. I could live with long-press back being handled by android itself to implement the menu function.
(edit) looks like this is possible, e.g. here it mentions "including some special features to support the virtual hard keys that are appearing on recent devices such as Droid." Now how did they do that?

[Q] Remapping hardware button for app switching

I've found many threads to remap buttons on devices, but I couldn't find any way to remap holding what the home button does.
I would like to change the search button to switching apps, instead of holding the home button. I've heard of APP_SWITCH, but that only shows recent apps (like gingerbread). I'm on a ICS rom and would like that functionality on the search button.
Thanks in advance.
Bump...
Sent from my Nexus S 4G
Please use the Q&A Forum for questions Thanks
Moving to Q&A
I'm looking for something like this for days now.
i now where i can change the function the search button is doing, but i have no idea to what i have to change that..
For someone with knowledge it shouldnt be hard to find out what a long home press is doing (script wise) and then we could just change the function of the search button..
I hope somebody with know how reads this, because its a great idea for, example the nexus s

[Q] Can a key be remapped to replace the Home key?

If the Home key was physically ruined (and the lab can't fix it), is there a way to remap one of the other keys to simulate Home? Alternatively, is there a way to set a combination of buttons (a-la taking a screenshot) to do the same thing?
I know it was already asked, but got unanswered perhaps because it was put in a general forum.
Thanks!

Remapp menu button?

I'm using the latest Omega v7.0.
Is there any possibility to remapp the menu button with the multitasking function? It's always a pain holding the homebutton down for many seconds and waiting until the multitasking interface will show up.
As the HTC One series I'd like to get some sort of menu buttons displayed on the screen if necerary.
C'mon guys anyone?
I wish someone can develop on this too... This is possibly the worst experience I have with my S3, the lack of multitask button.
*push again*
May be this can help you:
http://dottech.org/android/32033/how-to-changeremap-the-search-key-android/
The latest CM10 offers a feature to change the buttons functions, exactly what I've looked for. The thread my be closed now

[Q] Possibility of remapping Mouse buttons?

So I've done a search on Google and Xda about this topic and so far there doesn't seem to be much information on this except to find a thread about the inability of the android system in remapping of keys (or maybe the thread just went out of topic)
Thread; http://forum.xda-developers.com/showthread.php?t=1244702
So I'm wondering whether the remapping of the right click button to give a command 'Open Context Menu' is possible to immitate the function of a real computer (All these taking into consideration that it is also possible to remap buttons of the dock)
If you were to have it mimic the behavior of a real computer it wouldn't work. Android uses a right mouse button as if you were touching and holding on an object.
The only thing i would be interested in is remapping the second button the same as the primary button. Effectively having left click and left click.
Now it shouldn't be *that* hard to make a simple program to accomplish this, simply an extension to remap the buttons to whatever android specific task you want, this is already semi possible with the remapping of soft keys in CM 10.1/AOKP builds, so something like that should be possible.
Unfortunately i have no coding experience. I would love to see this done though
Nexus 4. Paranoid edition.
No, today I search & found a solution - http://forum.xda-developers.com/showpost.php?p=55848773&postcount=7

Categories

Resources