1.1 Monkey Test IntroductionMonkey testing is a means of automated testing of the Android platform, through the monkey program to simulate the user touch screen, sliding trackball, keystrokes and other operations to stress the program on the device, the detection of how long the program will be abnormal.1.2 Monkey Program Introduction1) Monkey program is brought by Android system, written in the Java language, the storage path in the Android file syst
,//keyboardClass_alphakey = 0x00000002,//Class_touchscreen = 0x00000004,//touch screenClass_trackball = 0x00000008//trackball};When you turn on the keyboard device, you get the device name by the above IOCTL, and the command word eviocgname is defined in the file:The kernel/include/linux/input.h.#define EVIOCGNAME (len) _ioc (_ioc_read, ' E ', 0x06, len)/* Get device Name */The device name is defined in the kernel keyboard driver file drivers/input/ke
Android.permission.FLASHLIGHT, allow access to flash
Forced back
Android.permission.FORCE_BACK, allows the program to force the back button to be used, regardless of whether the activity is on the top level
Access your account Gmail list
Android.permission.GET_ACCOUNTS, visit Gmail account List
Get app Size
Android.permission.GET_PACKAGE_SIZE, get the file size of the app
Get task Information
Android.permission.GET
This article was reproduced from: http://blog.csdn.net/yuanzihui/article/details/52871652Common input escalation commands:Input text 1234 actually injected 1234 text into the interface, there is an input box, can obviously see the effectInput KeyEvent 4 Keyboard event, 4 for returnInput TAP 100 300 click on Touchscreen event, simulate click x=100 y = 300 positionInput swipe 100 300 500 300 touchscreen slide event, analog slide, from X =100y = 300 slide to x=500 y=300 positionInput press simulate
Android Monkey Stress Test IntroductionMonkey is a command-line tool provided by the Android SDK that can be easily and easily run on any version of the Android emulator and physical device. Monkey will send a pseudo-random user event stream for stress testing of the appRead Catalogue
Environment construction
What is Monkey
What Monkey to do
Monkey Program Introduction
Monkey Architecture
Monkey weaknesses
Monkey parameter Daquan
Monkey Command Basic Paramete
Nonav: In addition to using the touchscreen, the device has no other navigational facilities.Dpad: The device is useful for navigating the orientation Board (D-PAD).Trackball: Device useful for navigating trackball.Wheel: The device is useful for navigating the steering wheel (uncommon).NavigationThe configuration field indicates the type of navigation method available.
Platform version number (API level)
Like what:V3V4V7such
near the keyboard, do not put the water Cup near the keyboard, do not plug the keyboard on the line, regular use of pure alcohol scrubbing keyboard, use the keyboard, try not to drag the keyboard; To cover the protective cover.
Mouse--most bogey dust, strong light, drag
Now most people use the mouse based on the trackball, this kind of mouse cheap, easy to use, but the biggest problem is easy to dirty, small balls and rollers on the dust will make
We use a lot of control in the development of Android games, including the buttons and trackball controls mentioned above, and in addition to hand gestures, gravitational induction and other control methods need to understand the mastery. This section mainly explains how to make gesture recognition in view.
Many netizens have discovered that hand-gesture recognition in Android offers two classes, due to Android Versions below 1.6, such as cupcake, ca
Monkey is a command-line tool provided by the Android SDK that can be easily and conveniently run on any version of the Android emulator and physical device. Monkey will send a pseudo-random stream of user events for the app to do stress testing
Reading Table of Contents
Environment construction
What is Monkey
What monkey used to do?
Monkey Program Introduction
Monkey Architecture
Monkey weakness
Monkey parameter Daquan
Introduction to basic parameters of Monkey comm
" | "QWERTY" | "Twelvekey"]
android:reqnavigation=["Undefined" | "Nonav" | "Dpad" | "Trackball" | "Wheel"]
android:reqtouchscreen=["Undefined" | "Notouch" | "Stylus" | "Finger"]/>
Android:required=["true" | "False"]
android:glesversion= "integer"/>
Used to specify the user library that the Android application can use, in addition to the Android.app, Android.content, Android.view and Android.widget These default class libraries, some applications m
field of the game controller domain.
The specific game mode is: The camera first recognizes the color behind the person, if found that there is no color, it will make the trackball into a specific color. If it is a multiplayer game, it will show a variety of different colors. Trajectory of the track ball will be captured by the camera, and with the handle of the three-axis motion induction, triaxial acceleration induction and gravity induction tec
filter [ctrl]+[shift]+[f]
Repeat the last filter (tunable parameter) [Ctrl]+[alt]+[f]
Selection tool (in the 3D change filter) [V]
Cube tool (in the 3D change filter) [M]
Sphere tool (in the 3D change filter) [N]
Cylinder tool (in the 3D change filter) [C]
Trackball (in the 3D change filter) [R]
Panorama Camera Tool (in the 3D change filter) [E]
View * for
Show color channels [ctrl]+[~]
Show Monochrome Channel [ctrl]+[number]
Show composite Channel [
filter) "-"
Trackball (in the 3D change filter) "R"
Panorama Camera Tool (in the 3D change filter) "E"
Move view (in the 3D change filter) "H"
Zoom view (in the 3D change filter) "Z"
Apply three-dimensional deformations and return to the Photoshop main interface (in the 3D change filter) "Enter"
Discard three-dimensional deformations and return to the Photoshop main interface (in the 3D change filter) "ESC"
View Actions
Select Color Channel "
multiple tools (Figure 03).
Select the Magnifier tool and click to enlarge the image in the window of the dialog box to make it easier to manipulate. Select the Cylinder tool and draw a cylinder in the window (Figure 04).
You can use the direct selection tool to adjust the cylinder's node, which is roughly equivalent to the size of the cup (Figure 05).
When appropriate, select the Trackball tool, rotate the image, render it 3D and m
Click to see the final effect of the big picture
1. Create a new file in Photoshop with a size of 500*500 pixels. Then create a new layer named "Cube", and then execute the filter-render -3d transform in which the cube is made as shown in the diagram.
Next, drag the following shape with the Trackball tool and click OK to make sure it looks like the figure.
2. Create a slightly larger canvas (suggest 1024*768 pixels), or set the origi
paste in situ, perform the filter > Distort > Spherical command to make the image bulge, and then perform the image > Adjust > Hue/saturation command to turn on hue/saturation dialog box, where you set the hue, the parameters of saturation and lightness change the color of the new layer to red, add the outer glow, inner shadow, and inner glow layer styles, and draw white light with the brush tool, as shown in Figure 9.
Figure 9
(10) Copy the red button, then perform the image > Adjust > Hue/sat
In general, for Windows 7 users who need to open a program's jumplists (Jump List), you can open it by right-clicking the program's taskbar shortcut icon. But for touchpad, trackball (like ThinkPad's Little Red Hat) and multi-touch users, the right button is not very convenient in a sense (of course, now the Touchpad function is already very powerful), is there a simpler way?
In fact, Microsoft has considered this situation, but also provides a corre
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.