Michael Trimarchi wrote:
Why the event is post twice?
The first one is key down, second is key up (that's the true/false
argument).
It is possible to move the newketevent outside the if else?
Probably yes, it's just proove of concept. It needs some refactoring.
Another possibility how to do this without touching Android code is to
write application similar to monkey, that runs on background and sends
key events according to accelerometers. You could bring down the menu
e.g. when you turn Freerunner vertically, close app with shaking and so on.
Radek
_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org