I tried to use monkeyrunner.
A target is Android vmware image.
I checked that press(), takeSnopshot() and drag() are normally
executed.
But, startActivity() is not executed.

The first source code is

     from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
     device = MonkeyRunner.waitForConnection()
 
device.startActivity(component='com.example.android.notepad.NotesList')

The second is
( I modified a third line referring to a writing of this group )

     from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
     device = MonkeyRunner.waitForConnection()
     device.startActivity(component='com.example.android.notepad
\.NotesList')

In two cases, the result is same

110106 17:13:42.168:I [main] [com.android.monkeyrunner.MonkeyManager]
Monkey Command: wake.
110106 17:13:42.310:I [main] [com.android.monkeyrunner.MonkeyManager]
Monkey Command: quit.

I tried using startActivity() with other activities. But, the result
is same.
What is right arguments for startActivity() ?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to