[App] ButtonRemapper - Beta v0.2.4 (New Galaxy S version added)

appelflap

Inactive Recognized Developer
Feb 9, 2008
4,204
829
0
Utrecht
That's a great thread you have there! Really nice ideas.. I like your design, but I don't think it is possible in (regular) Android. Android is very narrow minded when it comes to the interacting functionality between apps. They call it a safe architecture...
For example to build a layer on top of another app that could take over the input of that app would be like hitting the panic button in the android design team.
(To give an example of how narrow minded Android is: a app can't even do some clean up work on uninstallation... because, so they think, that would be a potential safety problem. .... )
 

appelflap

Inactive Recognized Developer
Feb 9, 2008
4,204
829
0
Utrecht
Here's a logcat for ya...zipped for size.
Uploaded a update (v0.1.1) that will solve the FC problem (I hope :)
I think you can only remap your volume buttons for now. It seems that ( at least some of) the Samsung Galaxy S variants have two layout files: 1 for the volume buttons and 1 for the rest.
 

jomil

Senior Member
Sep 10, 2009
71
2
0
Sounds exciting! For the x10 user, are u able to assign a hardware button to answer a call?

Sent from my X10i using XDA App
 

meo

Senior Member
Jun 29, 2006
280
53
0
Freiburg, Germany

appelflap

Inactive Recognized Developer
Feb 9, 2008
4,204
829
0
Utrecht
i heard that it is not possible - but i will try it - is it possible to get the back button on gestures ?

Some inputs:

I asked the devloper of tasker - http://tasker.dinglisch.net/index.html - he says, that it is not possible to get hardware back task on a software task, because the security of android do not allow.
see http://forum.xda-developers.com/showthread.php?t=720017

but how works the back button on a tablet ? see
http://forum.xda-developers.com/showthread.php?p=7175181
Can be done with a inputmethod. No problem. Just define a transparant inputmethod view and process your gesture as a KeyEvent.KEYCODE_BACK event.

It's like dpad keyevents. Do you have up,down,left right keys on your keyboard. If so, hold down the menu button. Your default keyboard will pop up and with the dpad on it you can navigate through the current active window.

I Wonder if it is possible to map the volume keys so that quick press is volume and long press is next media track.
Never asked myself this question, but now I do :p:) Don't know atm
 

creator2456

Senior Member
Jul 12, 2010
824
184
73
Chicago
Uploaded a update (v0.1.1) that will solve the FC problem (I hope :)
I think you can only remap your volume buttons for now. It seems that ( at least some of) the Samsung Galaxy S variants have two layout files: 1 for the volume buttons and 1 for the rest.
It's not FCing anymore. Here is a screenshot of whats coming up for my options.
 

Attachments

appelflap

Inactive Recognized Developer
Feb 9, 2008
4,204
829
0
Utrecht
No difference in options. It is working for the headset button when set to function as the home button (press and long press) and Wake and Wake_Dropped options.
:eek: So there's a third layout file .. Can you create a log when you start the app? (Same procedure as before) Thanks.
 
Jul 29, 2010
48
9
0
Flint, MI
One big and one small issue...

When I use your app to try to remap a key, once I select what I want remapped...the "apply" button goes away...

Also, it is kinda annoying that when the device is rotated, it reloads the entire app.

_____________________________________________________________

HW: HTC Hero CDMA (Sprint)
ROM: CM6.1 RC (Rooted)
Android Version: 2.2.1
Kernel Version: 2.6.29.6-uncapped
Mod Version: CyanogenMod-6.1.0-RC1-Heroc
Build: FRG83
 

dkratter14

Senior Member
Oct 4, 2010
231
26
0
New York, NY
On the HTC Hero (CDMA) in CyanogenMod 6.1 nightly, the Apply button gets cut off at the bottom.

When I press the Call button, the default behavior is for the Dialer to open on the Call log tab, rather than the Phone tab. Is there a way you could add that option?
 

appelflap

Inactive Recognized Developer
Feb 9, 2008
4,204
829
0
Utrecht
When I use your app to try to remap a key, once I select what I want remapped...the "apply" button goes away...

Also, it is kinda annoying that when the device is rotated, it reloads the entire app.

_____________________________________________________________

HW: HTC Hero CDMA (Sprint)
ROM: CM6.1 RC (Rooted)
Android Version: 2.2.1
Kernel Version: 2.6.29.6-uncapped
Mod Version: CyanogenMod-6.1.0-RC1-Heroc
Build: FRG83
The UI was set up real quick and dirty and only checked on a wvga device. The app was written for testing purposes. But the problem you mention is severe, because it will not allow testing on hgva devices. Or could you test it?
Anyway, I will fix this in a upcoming beta. Thanks for your feedback

doesn't seem work on my dinc 6.1 rc2. lists options but after making changes offers no apply.
What's a dinc? :)
It would be great if you can make a log. I described a method here: http://forum.xda-developers.com/showpost.php?p=9414354&postcount=17

Nevertheless, I hope I can come up with a generic procedure. Maybe for now it should be noted that on some devices the remapping doesn't work.



On the HTC Hero (CDMA) in CyanogenMod 6.1 nightly, the Apply button gets cut off at the bottom.

When I press the Call button, the default behavior is for the Dialer to open on the Call log tab, rather than the Phone tab. Is there a way you could add that option?
Aha, so it does work on the hero. Great, thanks for testing. The UI problem will be addressed real soon.

For now, we have to do with the standard button behavior. Refinements will be addressed in the future.
 
Last edited:

E_man5112

Senior Member
Jul 13, 2010
649
34
0
Having the same problem as creator. I'm on the captivate, so probably the same problem as on the vibrant. Used the 0.1.2b. I tried to get as much info as possible. I started the logcat, launched the app, changed the headset controls, saved it, and reverted. Made a long log though
 

Attachments