I'm building a test application and I have to be able to hang up a
call in an automated fashion.
It occurred to me that I might be able to inject a key event:
KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN,
KeyEvent.KEYCODE_ENDCALL );
into the event queue somehow.
Apparently the last incarnation of the API had an injectKeyEvent()
method in WindowManager but that's been stripped out.
Anyone know how to do it in 1.0?
Thanks much.
dreamer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---