Learn about android terminal emulator commands, we have the largest and most updated android terminal emulator commands information on alibabacloud.com
First, prefaceXshell compared to GNOME terminal, both are terminal emulators (in the Xshell can also execute simple built-in commands such as "CD", "LS", etc.), the same status.Second, the principle analysisInvolved in garbled, then need to understand the encoding and decoding process. Execute the command in the terminal
1. Ubuntu Configuration Environment anroid variable:
Execute sudo gedit/etc/profile at the terminal to open the text editor, and at the end append #set android Environment
2. Running eclipse, you also need to configure Java environment variables
#set Java Environment
JAVA_HOME=/HOME/LOGINNAME/JDK Directory Name
JRE_HOME=/HOME/LOGINNAME/JDK Directory name/jre
Export path= $JAVA _home/bin: $JRE _home/bin: $PA
The example in this article describes how to import address book contacts to the Android emulator using the ADB command. Share to everyone for your reference. The implementation methods are as follows:
Using the commands provided by ADB, you can easily import the address book from your PC into the Android
the device or phone simulatorSome common operations:Enter SHELL:ADB ShellFrom the above command, you can enter the device or emulator shell environment, in this Linux shell, you can execute a variety of Linux commands, in addition, if you want to execute only one shell command, you can use the following way:ADB Shell [command]For example, the ADB shell DMESG will print out debug information for the kernel.
kernelBuild Android directlySource code, and did not compile Linux kernel. If you run only the emulator, you do not have to compile Linux kernel.Get from EmulatorConfiguration file for kernel compilation parameters:Launch simulator$ adb pull/proc/config.gz.Uncompress config.gz $ gzip-d config.gzReplace the config file with the. config file under the kernel folder.Revise config and makefile configuration fi
the installation of the Intel Hardware Accelerated execution Manager (Intel HAXM) kernel extension to allow the Android emulator to make use of the CPU virtualization extensions.
Configuring VM acceleration on MACTo install the Intel HAXM kernel extension:
Start the Android SDK Manager, selectExtrasAnd then selectIntel Hardware Accelerated execution
members of this group can run virtual machines.Verify InstallationYou can test if your install have been successful with the following command:$ sudo virsh-c qemu:///system listYour screen would paint the following below if successful:Id Name State----------------------------------Install JavaPlease referred to the instructions from Ubuntu Community documentation page to get Java installed. There is four implementations of Java. Oracle Java 7 have to is installed in order to run
In the emulator of the Android system, there are two methods for GDB debugging: GDB debugging and gdbserver debugging.
1. Use GDB server for debugging:
A. Download the gdb server for Android from the following link
Http://www.billrocks.org/android_libs/bin/
B. Install the downloaded GDB server to your emulator.
1) Star
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.Write a HelloWorld first, create a folder in the Android source tree External/helloworld, add files:// helloworld.c#include int main (intChar * * arv) { printf ("Hello world~\n") ; return 0 ;}# Android.mklocal_path:= $ (call my-dir) include $ (clear_vars) local_module_tags:= Optionallocal_module:=+ =-march=armv4local_src_files:= $ (call a
By Default, the Android simulator is the one below.:
See the most conspicuous problem with this screenshot is obviously its ugly interface. The simulator window occupies a huge space on the screen, and there is no reason to put a screen keyboard.
If you haven't used the simulator yourself, there's a problem that's not easy to spot: it's almost too slow to use! It took 5 minutes to get the emulator started,
With the commands provided by ADB, it is very easy to import contacts from your PC into the Android emulator.You first have to prepare a fixed-format contacts.vcf file, which is the Address Book store file in Android. The format is as follows:begin:vcardversion:3.0n:15200000000;;;; TEL; type=cell:15200000000end:vcardbegin:vcardversion:3.0n:15200000011;;;; TEL; Ty
optional parameters of T here.Android 2.3.3 System platform for Target id=2We can also see if the AVD just created already exists, and the available commands for Android list AVD viewAbove, just simply create an AVD simulator, and of course we can customize the simulator's specific performance parameters:Options:-T--target the target ID of the new AVD (required)-C--sdcard The path to a shared SD memory car
do?
1. view the current simulator and real machine
Adb devices
2. Installer
Adb-s emulator-5556 install helloWorld.apk
3. Forwarding Port
Adb forward tcp: 6100 tcp: 7100
4. Copy an object
(1) copy from pc to simulator or real machine (push)
Adb push
(2) copy files from a simulator or a real machine to a pc (pull)
Adb pull
Example: adb push foo.txt/sdcard/foo.txt
5. Start and Stop the service
Adb start-server
Adb kill-server
6. shell
Adb shell
You c
OK here's some basic steps to get it up and running. you'll also be able to save snapshots of running VMS (actually this has always been available with virtual box ). note if you haven't visited http://android-x86.org in awhile some of the docs are alreadyDated-e.g. use generic vs eEPC build in virtual box:
1) downloadLatest virtualbox if you haven't http://www.virtualbox.org/Wiki/downloadsAnd then download androi
Intel provides a virtual hardware acceleration technology called HAXM, all known as: Intel Hardware Accelerated Execution Manager.As long as your CPU is Intel's product and supports VT (virtualization technology), you can use HAXM technology to elevate the speed of your simulator to the level of the real machine. This technology currently supports Apple's Mac and Windows systems, but not the Linux platform.To know the Android build environment Google
The current online tutorials are as follows three articles:1. Start the simulator with EMULATOR-AVD avdname-partition-size size2. Gain root privileges through the ADB root and adb remount commands.3. Transfer the Hosts file to the PC via the ADB pull/system/etc/hosts command, manually modify the hosts, and push the hosts file back through ADB push.Still not working ...The reason is that the carriage returns
You can control the behavior and characteristics of the simulated environment through the simulator's startup options and console commands. Once the simulator is started, you can use the keyboard and mouse to "press" the simulator keys to operate the simulator. The table below summarizes the mapping between keyboard keys for the simulator keys.Simulator key Keyboard key back ESC menu F1 or page up start F2 or PAGE down call F3 hang up F4 power button
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
Android BLE development-Android mobile phone and BLE terminal first recognized, androidble
Bluetooth BLE official Demo: http://download.csdn.net/detail/lqw770737185/8116019Refer to blog address: http://www.eoeandroid.com/thread-563868-1-1.html? _ Dsign = 843d16d6
Device: One MX5 mobile phone and one pesticide residue detector (BLE
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.