format : adb shell Monkey event parameter Percentage event number, such as: adb shell monkey--pct-majornav 100-v 10
--pct-touch <percent>
Adjusts the percentage of touch events. (Touch event refers to a down-up event in the screen that is pressed and lifted at a certain point on the screen)
--pct-motion <percent>
Adjusts the percentage of motion events. (Motion events are made up of a down event on the screen, a series of pseudo-random movement events, and an up event)
--pct-trackball <percent>
Adjusts the percentage of rolling ball events. (A rolling ball event consists of one or more random movement events, sometimes accompanied by a click event)
--pct-nav <percent>
Adjusts the base navigation event percentage. (navigation events consist of events triggered by the up and down buttons on the direction input device)
--pct-majornav <percent>
Adjusts the percentage of the primary navigation event. (These navigation events often result in action events in the UI interface, such as the middle key of the 5-way keyboard, the fallback button, the menu button)
--pct-syskeys <percent>
Adjusts the percentage of system events. (These keys are usually reserved for use by the system, such as home, back, Start call, End Call, volume adjustment)
--pct-appswitch <percent>
Adjusts the percentage of activity startup. (In a random interval, monkey will execute a startactivity () call as a way to maximize the coverage of all activity in the package being tested)
--pct-anyevent
Adjusts the percentage of other events. (This includes all other events, such as keystrokes, other buttons that are not commonly used on the device, etc.)
"Monkey" Mokey Common events < two >