File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes how to interpret the monkey verbose in android Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "how to interpret the monkey verbose in android" Watch "how to interpret the monkey verbose in android" New topic
Author

how to interpret the monkey verbose in android

Anil Deshpande
Ranch Hand

Joined: Jan 13, 2008
Posts: 117
I am new to Android Monkey UI Exerciser. Whenever I execute the monkey in the command prompt
adb shell monkey -v 50, it gives me some out put as follows.

<code>
:Monkey: seed=0 count=50
:IncludeCategory: android.intent.category.LAUNCHER
:IncludeCategory: android.intent.category.MONKEY
// Event percentages:
// 0: 15.0%

// 1: 10.0%

// 2: 15.0%

// 3: 25.0%

// 4: 15.0%

// 5: 2.0%

// 6: 2.0%

// 7: 1.0%

// 8: 15.0%

:Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.categ
ory.LAUNCHER;launchFlags=0x10000000;component=com.android.music/.MusicBrowserAct
ivity;end
// Allowing start of Intent { act=android.intent.action.MAIN cat=[android.in
tent.category.LAUNCHER] cmp=com.android.music/.MusicBrowserActivity } in package
com.android.music

:Sending Pointer ACTION_MOVE x=-4.0 y=2.0

:Sending Pointer ACTION_UP x=0.0 y=0.0

:Sending Pointer ACTION_DOWN x=47.0 y122.0

:Sending Pointer ACTION_UP x=29.0 y=129.0

:Sending Pointer ACTION_DOWN x=255.0 y=259.0

:Sending Pointer ACTION_UP x=255.0 y=259.0

:Sending Pointer ACTION_DOWN x=295.0 y=223.0

:Sending Pointer ACTION_UP x=290.0 y=213.0

:Sending Pointer ACTION_MOVE x=-5.0 y=3.0

Events injected: 50

ropped: keys=0 pointers=0 trackballs=0 flips=0
Network stats: elapsed time=1421ms (1421ms mobile, 0ms wifi, 0ms not connecte
d)// Monkey finished</code>


I am unable to interpret it. The android developers documentation is also unhelpful.
What does event percentage mean? What does switch mean? What is the co-relation between 9 items in event percentages and 9 sending pointers?

Please help me understand the output of monkey.


Anil Deshpande
SCJP 1.5, SCWCD 1.5
 
 
subject: how to interpret the monkey verbose in android
 
Threads others viewed
Unable to obtain bluetooth adapter
Need help on animation using GUI Builder.
Making a Tetris clone
Trying to get rid of redundancy?
Is there something better then event.pageX/Y?
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture