1. Send Keyboard Events:
Command Format 1: adb shell input keyevent "value"
The value and corresponding key code are listed in the following table:
KeyEvent ValueKEYCODEComment0KEYCODE_UNKNOWN1KEYCODE_MENUThe command in the SDK2.1 simulator is invalid, and the sendevent command is feasible.2KEYCODE_SOFT_RIGHT3KEYCODE_HOME4KEYCODE_BACK5KEYCODE_CALL6KEYCODE_ENDCALL7KEYCODE_08KEYCODE_19KEYCODE_210KEYCODE_311KEYCODE_412KEYCODE_513KEYCODE_614KEYCODE_715KEY
Simulator 1.5: AVD creation, ADB Command StrategyDownload the android SDK or ophonesdn from Google to download the ophonesdk. decompress the SDK and create a tool folder under the root directory of the SDK. Double-click emulator.exe to directly start the simulator.Simulator 1.51. simulator appearance customization:480x320, landscape: emulator-skin HVGA-L320x480, portrait: emulator-skin HVGA-P (default)320x240, landscape: emulator-skin QVGA-L240x320, p
In the Android development environment, ADB is our most frequently used debugging tool for Android development, and its use is of course what our Android developers have to master.ADB overviewAndroid Debug Bridge,android Debug Bridge, abbreviated as ADB, is a universal tool for managing emulator or real state, using the client-server model, consisting of three parts:1, the client part, running on the develo
Self-summary of the problems and methods that often appear in Android that are not solved(the third method after four days of torture ....) Hey1. Error: BUILD FAILEDD:\workspace\ganji\build.xml:144:the following error occurred while executing the line:d:\workspace\ganji\build.xml:271:unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jarSolve:A simulator has been opened and cannot be recompiled and must be closed. For Ant2. Error:The connection to ADB
Tags: add photo shel Software Home key start tab Command CLIabout ADB:adb, that is, Android Debug Bridge. Interoperate with Android with this tooladb command format:adb [-d|-e|-s The brackets are not required. Example: Adb-s emulator-5554 install xxxxxx.apk follow XXXX application-D: Perform a unique connection to the real Android phone on the PC to perform the naming. This parameter does not allow the PC side to connect multiple devices- E: Similar t
Tags: adb push apk mod devices command sequence image computer sharing1. View the device ADB devices View the currently connected device, the Android device that is connected to the computer, or the emulator will list the display 2. Installing the software ADB install [-r] [-S] Installs the specified APK file on the device. -R forced installation (in some cases,
When developing Android apps, we use a series of tools included in the Android SDK, maybe we call through eclipse, or we can manually enter and execute them by opening the terminal, let's learn the development of these tools together.1.Android Debug Bridge1.1 IntroductionAndroid Debug Bridge, we are generally referred to as ADB, mainly in the SDK installation directory under the Platform-tools folder, it is a very powerful command line tool, through t
1. display all android platforms in the system:
Android list targets
2. Display All AVD (simulators) in the system ):
Android list AVD
3. Create an AVD (simulator ):
Android create AVD -- name -- Target Platform ID
4. Start the simulator:
Emulator-AVD name-sdcard ~ /Name. IMG (-skin 1280x800)
5. Delete AVD (simulator ):
Android Delete AVD -- name
6. Create an sdcard:
Mksdcard 1024 M ~ /Name. img
7. AVD (simulator) Location:
Linux (~ /. Android/AVD) Windows (C: \ Documents ents and Settings \ Adm
The following lists the software in the mobile phone through the PM list packages-F, and then compares it with the software in the simulator to obtain a list that can be safely uninstalled.
Note: Google market is unavailable after uninstallation, and you still want to use Google market instead of uninstallation.
First enter ADB shell, then mount-O remount, RW/dev/block/mtdblock2/system, and then execute the following command to delete it.
Rm/system/A
Adb push command, adbpushRecently, I just got started with a tool (command). What command? It is the adb command. This command is purely a mouse and does not understand anything. So we can only adb -- help the parameter and then try to use it.
Today, we have encountered a problem where we need to copy a file to a midrange computer. A midrange computer can be unde
Adb push command, adbpush
Recently, I just got started with a tool (command). What command? It is the adb command. This command is purely a mouse and does not understand anything. So we can only adb -- help the parameter and then try to use it.
Today, we have encountered a problem where we need to copy a file to a midrange computer. A midrange computer can be und
Tags: adb push--usage article device Font ACE class ack recently contacted a tool (command), what command? is the ADB command, the command is purely a small white mouse, do not understand anything, so only the ADB--help the number of references. Then try to use it. today encountered a problem, need to copy a file to the small machine, the small machine can be un
Part 1:1. Configure the environment anroid variable in ubuntu:Run sudo gedit/etc/profile on the terminal to open the text editor and append # set android environment2. To run Eclipse, you also need to configure JAVA environment variables.# Set java environmentJAVA_HOME =/home/loginname/jdk directory nameJRE_HOME =/home/loginname/jdk directory name/jreExport PATH = $ JAVA_HOME/bin: $ JRE_HOME/bin: $ PATHExport CLASSPATH = $ JAVA_HOME/lib: $ JRE_HOME/lib: $ CLASSPATHExport PATH =/home/loginname/an
Tags: ati tar mount NIS mount technology win MDS INIwhat is ADB? : ADB's all called Android Debug Bridge, is the role of the Debug bridge. With ADB we can debug the Android program via DDMS in Eclipse, which is the Debug tool. ADB has a special way of working, using ports such as the socket TCP 5554 to communicate with the IDE and QEMU, by default
Tags: specify Bubuko system network body LED bat shell cat. com ADB tool (full name: Android Debug Bridge) is an Android generic debugging tool that provides instructions for debugging Android-related operations ADB devices Directive ADB devices instructions to obtain information about the device or emulator that is currently connected Such as: The first messa
In fact, most of the PC development machine and Android devices are done through the ADB (Android Debug Bridge) technology, which is a C/s Architecture command-line tool, mainly composed of three partsA command-line client running on a PC development machine: It can install, uninstall, and debug an application running on a PC development server: It manages the client-side link to the ADB background process
Referring to Adb.exe, friends who have been concerned about our Android series tutorials should not be unfamiliar, because we operate the Android phone directly via ADB regardless of the root authority or the machine, but probably most of the ADB is only limited to the one step of the brush tutorial, Does not have an in-depth and comprehensive understanding of it. Now I will give you Android phone fans to e
Thank the original author, transfer from blog: http://www.otechu.me/zh/2011/12/filtering-adb-logcat-output/This article describes several tips on how to filter the ADB logcat output from the shell command line .Development often see other people's log like a flood of instant fill the screen, to their useful information is drowned, affect the mood also affect efficiency. Here are a few of the filtering metho
[Android] _ [elementary] _ [adb practical command]
Scenario:
1. ADB serves as a bridge between pc and mobile phone, and plays an important role in debugging mobile apps and viewing mobile phone information.
2. Some useful commands are listed here for quick query.
View the list of devices that enable USB debugging: adb devices APK:
Reproduced:I. Introduction of ADBThe SDK's Tools folder contains an important command of the Android emulator Operation ADB,ADB is all called (Android Debug Bridge is the role of debug bridges. With ADB we can debug Android programs via Ddms in Eclipse. With this tool, we can manage the status of the device or phone simulator. You can also do the following:1. Qui
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.