[android-beginners] Re: Catching and changing a keycode.

2010-02-10 Thread Ryan Rogers
can modify the behavior in android framework. You need to change the > following files: > > base/core/res/res/values/attrs.xml > base/core/java/android/view/KeyEvent.java > > in this files you can change the code of the keys to do what you want. > > Regards, > > Roger

[android-beginners] Catching and changing a keycode.

2010-02-09 Thread Ryan Rogers
Hello all, I understand how to listen for a key press, but I was wondering if there was a way to catch it, and change it. for example, if I press the 's' key, and I wanted to change it to the 'g' key. Not for typing on the board, but for the system to think I pressed the 'g' button instead