Can somebody please help me with the script file for sending key
events using monkey??

I am using the following script

<pre>
type= raw events
count=10
speed= 1.0
start data >>
captureDispatchKey(5113146,5113146,0,22,0,0,0,0)
captureDispatchKey(5113146,5113146,1,22,0,0,0,0)
captureDispatchKey(5113146,5113146,0,66,0,0,0,0)
captureDispatchKey(5113146,5113146,1,66,0,0,0,0)
captureDispatchFlip(true)

and i use the script

adb shell monkey -p com.blah.blah -v -v -v -f monkey_test 2

but the package com.blah.blah is never invoked.

what am i doing wrong?

Also is there any function for sleep? What are the other functions
available?

-- 
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

Reply via email to