07-28-2008 02:16 PM
I need to simulate key presses for a testing application I am developing. I have been using EventInjector.KeyEvent and EventInjector.KeyCodeEvent successfully in most cases. But when I attempt to enter number on the calculator application nothing happens. I also have this problem attempting to enter a phone number. Do I have to set a special mode like the ALT key? I am developing and testing using the 8120 simulator.
07-28-2008 03:14 PM
This is a known issue with the calculator application. It does not currently support event injection.
What issue are you having when entering phone numbers?
07-29-2008 09:09 AM
I can inject numbers in the phone dialer if I use EventInjector.KeyCodeEvent and send a character (such 'E' for number 1, I am working with the 8120 half qwerty simulator).
I have been using EventInjector.KeyEvent for other applications that have text entry fields. The EventInjector.KeyEvent has no affect on the phone dialer.
Do I have to treat the characters as a number pad on apps like the phone dialer?
I am trying to determine how my application will know to send the physical key or actual character.
07-29-2008 10:43 AM