Erel
Not sure you have understood what I want to do. As an example...
I have 26 squares each with a letter of the alphabet in them. Rather than press the letter on the tablet I want to press the corresponding key on the keyboard. I want the program to trap the key input and take the appropriate action for that letter. Therefore the keyboard input needs to be caught as it is not being used for entry in edit fields.
I hope that makes sense. The example you give where someone presses the back key and you can trap it and ignore it is what I want, just for a lot more keys.
Big Dave
Hi
If you use the keyboard "at it is" then any time you press one key the result would be exactly the same as if you pressed the same key on the virtual keyboard.
Now to inferface with "non standard devices" you have plenty of options; but you will certainly need a microcontroller to perform the electrical interface between the "buttons" and the bluetooth or Wifi dongle.
So your interface could be :
buttons or potentiometers <-> microcontroller inputs <-> microcontroller serial UART <> bluetooth dongle <> Android bluetooth <-> android code
or
buttons or potentiometers <-> microcontroller inputs <-> microcontroller serial UART <-> wifi dongle <> Android wifi <-> android code
As for bluetooth dongle this one works like a charm :
http://www.ebay.com/itm/Wireless-Se...178?pt=LH_DefaultDomain_0&hash=item2ec80c03a2
As for the wifi module I recently tested this one and it works also very well :
http://www.dx.com/p/dmdg-serial-por...ielding-cover-blue-silver-309598#.U8KlipR_t8E
Both devices are quite easy to interface both on MCU side and on Android B4A one
As Erel said I would recommand to go with the wifi module (for 10$ more it's better !)