( install to an external memory card whenever possible ) . Auto ( requires system stability, then select installation Location ) Sub-node tags under the manifest node: 1.USES-SDK : For defining the correct installation, you must specify the highest version (maxsdkversion), minimum version (minsdkversion), and the target version of the program design ( Targetsdkversion). 2.uses-configuation: Specifies a combination of each input mechanism supported by the application, which generally does not
run tasks, an abbreviated task status, whether the activity, and so onAndroid.permission.HARDWARE_TEST.Allow access to hardwareAndroid.permission.INJECT_EVENTS.Allows a program to intercept user events such as keystrokes, touches, trackball, etc. wait until a time stream, the Android Development Network alert is hook technology barAndroid.permission.INSTALL_PACKAGES.Allow a program to install packagesAndroid.permission.INTERNAL_SYSTEM_WINDOW.Allow op
run factory test mode
Using the Flash
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
on the root userAndroid.permission.FLASHLIGHT.Access Flash, Android dev net tips HTC Dream does not include FlashAndroid.permission.FORCE_BACK.Allows the program to force a fallback operation on top level activitiesAndroid.permission.FOTA_UPDATE.Temporarily do not understand what it is to use, the Android Development network analysis may be a reserved privilege.Panax Android.permission.GET_ACCOUNTS.Access a list of accounts in the accounts serviceAndroid.permission.GET_PACKAGE_SIZE.Allows a pro
(either single- Touch or multi-touch). */Input_device_class_touch = 0x00000004,/* The INPUT DEVICE is a cursor device such as a trackball or MOUS E. */input_device_class_cursor = 0x00000008,/* The INPUT DEVICE is a multi-touch touchscreen. */INPUT_DEVICE_CLASS_TOUCH_MT = 0x00000010,/* The INPUT DEVICE is a directional pad (implies keyboard, have DP AD keys). */Input_device_class_dpad = 0x00000020,/* The INPUT DEVICE is a gamepad (implies keyboard, ha
(KeyCode, event); } //There's a trackball event, and I don't know what it is. Public Booleanontrackballevent (Motionevent event) {return Super. Ontrackballevent (event); } //A touch-screen event occurs that triggers this method Public Booleanontouchevent (Motionevent event) {LOG.D ("Test", "I was touched, position X:" +event.getx () + "Y:" +event.gety ()); return Super. Ontouchevent (event); } //when getting or losing focus,
Onfinishinflate () triggers when all child controls in view are mapped to XMLonmeasure (int, int) determines the size of all child elementsOnLayout (boolean, int, int, int, int) triggered when view allocates the size and position of all child elementsonsizechanged (int, int, int, int) triggered when the size of the view changesOnDraw (Canvas) View details of rendered contentOnKeyDown (int, keyevent) has a button pressed and then triggeredonKeyUp (int, keyevent) triggers when the button is presse
screen).
--pct-trackball
Adjusts the percentage of track events (the trajectory event consists of one or more random movements, sometimes accompanied by clicks).
--pct-nav
Adjusts the percentage of the basic navigation event (the navigation event consists of the up/down/left/right from the direction input device).
--pct-majornav
Adjust the percentage of primary navigation events (these navig
application to EXPAND or collapse the STATUS BAR.Factory_test:run as a manufacturer TEST application, running as the root user.Flashlight:allows access to the flashlightForce_back:allows an application to force a back operation on whatever is the top activity.Get_accounts:allows access to the list of ACCOUNTS in the ACCOUNTS ServiceGet_package_size:allows an application-to-find out the space used by any package.GET_TASKS:THIS constant was deprecated on API level 21. No longer enforced.Get_top_a
so on (allows an application to get information about the currently or recently running Tasks:a thumbnail representation of the tasks, what activities is running in it, etc.)Android.permission.HARDWARE_TESTAllow access to hardware (allows access to hardware peripherals.)Android.permission.INJECT_EVENTSAllows a program to intercept user events such as keystrokes, touches, trackball and so on until a time stream, Android Development Network alert is ho
addition to using the touchscreen, the device has no other navigational facilities.Dpad: The device has a directional plate (d-pad) for navigation.Trackball: The device has a trackball for navigation.Wheel: The device has a directional wheel for navigation (uncommon).The Navigation configuration field indicates the type of navigation method available.
Platform version (API level)
For example:V3V4V7such as
The API level support
, trackball, and so on. It internally encapsulates two important attributes X and Y, which are used to record the coordinates of the horizontal and vertical axes, respectively. Gesturedetector: identifies various gestures. Ongesturelistener: This is a listener interface for gesture interaction, which provides several abstract methods and calls the corresponding method according to the gesturedetector gesture recognition result. I'm going to show
1. Making a program a system programWe must configure Android:shareduserid= "Android.uid.system" in ManifestPlus permissions: This permission is to allow a program to intercept user events such as keystrokes, touches, trackball, etc. until a time stream.2. Simulate home, back, menuprivate void Homepress () {Intent mhomeintent = new Intent (intent.action_main); Mhomeintent.addcategory (intent.category_home); Mhomeintent.addflags (Intent.f
of the screen to open a terminal window.
Turn off your HTC Desire, then turn it back on with the 'back' button held down. you'll see 'fastboot' written on the screen in a red box. connect the phone to the computer.
In the terminal window, enter the following commands:
Code
Sudo mkdir/mnt/CDROMSudo Mount/dev/CDROM/mnt/CDROMCD/mnt/CDROM/rootSudo./step1.sh
When this step has completed, using the optical trackball, navigate to the 'bootl
monkey will not be delayed and the event will be generated as quickly as possible.
-- PCT-touch
Adjust the percentage of touch events (a touch event is a down-up event that occurs at a single location on the screen ).
-- PCT-motion Adjust the percentage of Action events (Action events are composed of a down event, a series of pseudo-random events, and an up event somewhere on the screen ).
-- PCT-trackball Adjust the percentage of track events (trac
Viewroot is a bridge between the GUI management system and the GUI presentation system. According to viewroot's definition, we find that viewroot is not a view type, but a handler.
Its main functions are as follows:
A. Distribute events initiated by users to decorview, such as buttons, touch screens, and trackball events;
B. interact with windowmanagerservice to draw the GUI of the entire activity.
The specific implementation of event processing and
setrepeatlistener (repeatlistener L, long interval) {// implement repeated listener events
Mlistener = L;
Minterval = interval;
}
@ Override
Public Boolean initialize mlongclick (){
Mstarttime = systemclock. elapsedrealtime ();
Mrepeatcount = 0;
Post (mrepeater );
Return true;
}
@ Override
Public Boolean ontouchevent (motionevent event ){
If (event. getaction () = motionevent. action_up) {// The principle of this method is the same as that of onkeyup. Here screen events are han
The slidingdrawer hides content outside the screen and allows you to drag a handle to display hidden content.It consists of two sub-views: one is the handle dragged by the user, and the other is the content that changes with the drag ). Slidingdrawer should be used as the overwrite of the internal layout, that is, the slidingdrawer should use the framelayout or relativelayout layout internally. The size of slidingdrawer determines the space occupied when the content is displayed. Therefore, its
Check the post on Android. The software is updated ........
Android Network rating: http://www.hiapk.com/bbs/thread-311067-1-1.html
I have developed a self-developed unlocking software. I do not need to click the menu key any more. To restore to the default status, you only need to enter the software and click the Enable keyboard lock button.
Version and date: Yang Lin unlocked Chinese beta version
Software size: less than 10 KB
Software introduction:
There are many popular unlocking softw
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.