On Nov 13, 4:42 pm, dreamerBoy <[EMAIL PROTECTED]> wrote: > What gave me hope is that there was an injectKeyEvent method on > WindowManager in the last API release. > See:http://www.anddev.org/throwing-simulating_keystrokes_programatically-...
That was never in the SDK; that is a private API that someone found and used. And it probably wouldn't help you for what you want to do, since the in-call screen is another app you can't use this API to deliver events to it. If you want to do automated tests, writing an Instrumentation component is a good way to go. You can launch these from the command line, and they are just code that runs and automatically does whatever you want. The Instrumentation API does have a method for injecting a key event, but again this is limited to only allowing you to deliver a key event to your own app. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

