[android-developers] Re: simulate key press

2008-11-09 Thread Yorgen Valune
i think u should try the "monkey" util... doest anyone with a real device tested the "monkey" ??? From: sandeepskumar <[EMAIL PROTECTED]> To: Android Developers Sent: Sunday, November 2, 2008 12:45:30 PM Subject: [android-developers] simulate key press Hi Tea

[android-developers] Re: Simulate key press action.

2008-10-23 Thread Yorgen Valune
Sent: Wednesday, October 22, 2008 11:46:18 PM Subject: [android-developers] Re: Simulate key press action. I have progressed this far.. Using "android.test.InstrumentationTestCase" in a unit test and running from a shell could help simulate key press action. Observe:public void sen

[android-developers] Re: Simulate key press action.

2008-10-22 Thread B Sreen
I have progressed this far.. Using "android.test.InstrumentationTestCase" in a unit test and running from a shell could help simulate key press action. Observe:public void sendKeys(int... keys) Sends a series of key events through instrumentation and waits for idle. For instance: sendKeys(KEYC

[android-developers] Re: Simulate key press action.

2008-10-22 Thread hackbod
Note that third party apps can't inject input events into other apps. You can only do this from an app launched from the user's shell (and so running as the user). On Oct 22, 11:25 am, "Declan Shanaghy" <[EMAIL PROTECTED]> wrote: > The monkey should be able to help > here!http://code.google.com/

[android-developers] Re: Simulate key press action.

2008-10-22 Thread Declan Shanaghy
The monkey should be able to help here! http://code.google.com/android/reference/monkey.html It is configurable but im not sure if it meets your needs 100%. You could enhance it, but at the very least you can copy what it does into an app of your own. Ah, you just reminded me of good the ol