← Back to team overview

meadl-devel team mailing list archive

Switch event provider broadcasting

 

Hola,

  Just to let you know that I managed to turn Eric's original code into
a service that is now broadcasting wheelchair switch events to any app
in the Android OS. Instead of creating its own instance of a bluetooth
connection, the main activity now just listens to the broadcasts and
responds by writing text in an EditText view. I tried generating hard
key events from the main activity but it seems this is only allowed to
input methods registered with the OS, so we'll need to wait until the
input method is somewhat functional to start sending text/commands
outside of the current app. The code is here:

https://code.launchpad.net/~jorge-silva/meadl/btcomm-switch-event

cheers!
Jorge