Android components ------ list selection box, Android components ------ list
The list selection box provided by Android is equivalent to the selection drop-down box for web terminal use
Android. Permission. access_coarse_locationAllow a program to access cellid or WiFi hotspot to obtain rough location(Allows an application to access coarse (e.g., cell-ID, WiFi) location)
Android. Permission. access_fine_locationAllow a program to access excellent locations (such as GPS)(Allows an application to access fine (e.g., GPS) location)
Android. Permis
There are two ways to create the Android simulator:1> created through the graphical interface, click Windows->android Virtual Device Manager in Eclipse to start the graphical interface window2> If you are not using eclipse, you can switch to the ~/tools/folder, execute "Android AVD" at the terminal, click the Create bu
Adb commands and androidadb commands in android
AdbCommon commands
1. display all Android platforms in the system:
Android list targets
2. Display All AVD (simulators) in the system ):
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: $ PATHExpo
Android: Commonly Used adb commands and androidadb commands1. List the current configurations:Adb devicesFor example:Localhost :~ Newuser $ adb devicesList of devices attachedBH903QDW15device41008990d29eb000device2. For a deviceAdb-s For example:Adb-s BH903QDW15 install hello.apk3. Install the appAdb install 4. File Replication4.1 pull from mobile phone to localA
Command Xiaoming refers to zookeeperPasswd Change User PasswordPwd print Current DirectoryCd change DirectoryLs to list files in the directoryWildcards wildcard * matches any number of charactersWildcard? Match a single characterType of the file to be printedCat display file contentPr display file contentPg page displays the file content on one page at a timeMore display file content on one page at a timeClear Screen ContentCp copyChown Modify file ow
When I tested TCP transmission today, I found that the client could not receive the data all the time. I found that I forgot the internetaccess permission when I went online! When writing Android programs, you will often forget to add permissions. The following are information about androiduses-Permission collected on the Internet for ease of searching ~Android. Permission. access_checkin_propertiesAllow re
Hello everyone, today we are going to talk about the collection of commonly used naming commands in android development. Android commands will inevitably be used in our development. Some commands are indeed very useful.
This is especially true for some beginners. For example
Hello everyone, today we are going to talk about the collection of commonly used naming commands in Android development. Android commands will inevitably be used in our development. Some commands are indeed very useful.
This is especially true for some beginners. For example
ADB common commands:"ADB help" for assistance"ADB Get-serialno" gets the device string number"Adb-s "adb root" gets root permission, which is useful for some phones, and most of the listed phones have turned this feature off. Root privileges can also be obtained through third-party tools such as pea clips."adb kill-server" kills ADB's server process."ADB start-server" starts the ADB server process."ADB devices" view the
The DB is the SDK comes with the tool, can realize the bridge function;ADB shell can interact with the mobile phone system, based on the operation of the Andoid Linux systemadb common commands:1. View the deviceADB devicesThis command is to view the currently connected device, the Android device connected to the computer, or the emulator will list the display2. I
Specifies the style that is displayed for phones above the 3.0 version. VALUES-V14 specifies the style displayed for phones above 4.0. The portal file for the AndroidManifest.xml:android application. The components inside Android are declared. and related configuration information.Proguard-project.txt: Encrypts the current program used.ADB commandADB Android Debug Bridge
ADB (Android Debug Bridge) Description: The following commands must have the root permission to be successfully executed to quickly start the dos window to execute adb: 1. add the path of adb.exe to the system environment variable. 2. enter the C: \ WINDOWS \ system32directory directory and find cmd.exe. right-click the menu "send to"-> desktop shortcut. On the desktop, right-click "shortcut to cmd.exe"-> "
For Android commands, select a few frequently used records.
1. view the Android version list
Command:
./Android list target
2. Create a simulator based on the version number.
Command:
./Andro
allocated
Power Button
F7
Disable/enable all networks
F8
Start tracing
F9(Valid only when there is a-trace mark)
Stop a trail
F10(Valid only when there is a-trace mark)
Home Page
Home
Direction keyLeft/top/right/Bottom
Keypad4/8/6/2
Direction keyCenter Creation
Keypad5
Turn down the volume
KeypadNegative number (-)
Increase the volume
KeypadPlus sign (+)
Simulator startup options
T
How to Use android commands
As a Windows user, the user has an excellent graphical interface experience, but the command line is the basis of the graphical interface. Let's take a look at how to use command lines to execute android commands.
First, you have to go to the tools subdirectory of your
put something in it, or get the stuff out of it, we will use the above command. Take adb push (store things outside sdcard.) as an example. The usage is as follows:Adb push foo.txt/sdcard/foo.txt
10. android create avd -- name Android2.0 -- target 5
This is the command for creating avd. -- Name is followed by the avd name, and target is the SDK version. This statement is used to create avd named Android2.0 and version 5.
Android commonly used adb shell commands, androidadb
Debugging Android programs sometimes requires the adb shell command. adb stands for Android Debug Bridge, which serves as the debugging Bridge. Through adb, We can debug the Android program through DDMS in Eclipse. To put
1. There are not many Linux commands supported by Android, which can be found under/system/bin. Most of them are Android tools, and only a small part is the original Linux commands.
2. Some commonly used Android commands (Here we
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.