"Monkey" Mokey Common events < two >

Source: Internet
Author: User

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 >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.