Go to the shortcut keys, parameters, and precautions of the android Simulator

Source: Internet
Author: User

Android emulator is a fully functional simulator that simulates functions such as phone book and call. Even its built-in browsers and Google maps can be connected to the Internet. You can use the keyboard to enter, single
Press the simulator button and enter it. You can even use the mouse button
Click and drag the screen to operate
.

1. Differences between a simulator and a real machine

* Calls and calls are not supported,
However, you can simulate call (incoming and outgoing calls) through the console ).

* USB connections are not supported.

* Camera/video capturing is not supported.

* Audio input (capturing) is not supported ),
However, it supports output (replay ).

* Extended headphones are not supported.


* The connection status cannot be determined.

* The battery level and AC charging status cannot be determined.

* The SD card insertion/pop-up cannot be determined.

* Bluetooth is not supported.

 

2. parameter description

The androidsimulator emulator.exe file contains many parameters,
Simulator running
If you only use Android emulator or an open environment like netbean, how can you set it automatically? We have summarized all the parameters and usage of the simulator, as shown below:
.

 

Android emulator usage: emulator [Options] [-qemu ARGs]
Options:
-System <dir> Read system images from <dir>
-Datadir <dir> write user data into <dir>
-Kernel <File> emulated Kernel

Specify the Kernel File

-Ramdisk <File> ramdisk image (default <system>/ramdisk. IMG)

Create a memory disk


-Image <File> system image (default <system>/system. IMG)
-Initdata <File> initial user image (default <system>/userdata. IMG)
-Data <File> working user image (default <datadir>/userdata-qemu.img)





-Nocache disable the cache Partition

Disable partition Cache


-Sdcard <File> SD card image (default <system>/sdcard. IMG)

Use SD card image


-Skindir <dir> Search skins in <dir> (default <system>/skins)

Search appearance skin path


-Skin <skin> select a given skin

Select Android simulator skin

ID
-Noskin don't use any emulator skin does not use any simulator appearance, which helps increase the speed of the simulator. Users with small memory can try



-Netspeed <speed> maximum network download/upload speeds

Set the network speed, such as GPRS, edge, and 3G.


Content

The following describes

-Netdelay <delay> network latency emulation

Network latency settings


-Netfast disable network shaping (full speed, no latency)

Full-speed network operation


-Trace <Name> Enable code profiling (Press F9 to start)

Tracking debugging


-Debug-kernel send kernel output to the console

Kernel debugging


-Console enable console shell on current terminal

Enable Console


Shell


In the current middle end

-Nojni disable JNI checks in the Dalvik Runtime

Disable JNI check


-Logcat <tags> enable logcat output with given tags

Set log output labels


-Noaudio disable Android audio support

Disable audio support


-Useaudio enable Android audio support (default)

Enable audio support


-MIC <File> WAV file for audio input

Simulate mic input using WAV Files


-Flash-keys flash key presses on the device skin
-Raw-keys disable Unicode keyboard reverse-Mapping
-Radio <device> redirect radio modem interface to character device
-Oldradio enable old VM-based simulated radio
-Onion <image> Use overlay image Over Screen
-Onion-Alpha <% age> specify onion skin transpoliccy (default 50)
-Http-proxy <proxy> make TCP connections through a HTTP/HTTPS Proxy

Proxy Server Settings


-Verbose enable verbose output
-Verbose-keys enable verbose key presses
-Verbose-proxy enable proxy debug messages
-Version display emulater version number


-Qemu pass arguments to qemu
-Qemu-H display qemu help
-Help print this help

Default network latency is 'none'

<Proxy> can be one of the following:

Http: // <server >:< port>
Http: // <username >:< password >@< server >:< port>

The 'HTTP: // 'prefix can be omitted. if'-http-proxy <proxy> 'is not used,
The 'HTTP _ proxy' environment variable is looked up and any value matching
The <proxy> format will be used automatically

3. Shortcut Keys

The android simulator also has many shortcut keys. When the simulator is running, you can use the following shortcut keys to operate Android emulator.
For more efficient keyboard and mouse operations, try:

D: "unsetup" android-sdk-windows-1.1_r1 "Tools> emulator.exe-help-keys

 

When running the emulator, use the following keypresses:

 

Home button main interface key

F2, Pageup menu (soft-left) button left soft key

Shift-F2, Pagedown Star (soft-Right) button right soft key

Escape back button back key

F3 call/dial button dialing/call key

F4 hangup/endcall button ends a call

F4 power button Power Supply key

F5 Search button search key

Keypad_plus, Ctrl-F5 volume up button to increase the volume key

Keypad_minus, Ctrl-F6 volume down button reduces the volume key

Ctrl-KEYPAD_5, Ctrl-F3 camera button camera keys

Keypad_7, Ctrl-F11 switch to previous layout return key

Keypad_9, Ctrl-F12 switch to next layout next interface

F8 toggle cell network on/off disable/enable all networks

F9 toggle code profiling starts Tracing

Alt-enter toggle fullscreen mode enable/disable full screen mode

F6 toggle trackball mode enable/disable trackball

Delete show trackball

Keypad_5 DPAD center navigation/OK key

Keypad_4 DPAD left button

Right-click keypad_6 DPAD

Keypad_8 DPAD up Shang

Keypad_2 DPAD down key

Keypad_multiply increase onion alpha

Keypad_divide decrease onion alpha

 

CTRL + F11 switch the screen of the simulator.




4. Precautions for using the simulator

When you use emulator to test the Development Program
, May encounter system prompts such as insufficient disk space for C, this is because the android simulator will generate a few temporary values each time it runs. A temporary file with the TMP suffix. After a period of time, it may occupy several GB of disk space. Therefore, you need to manually clear the first
C: "Documents and Settings" sh "Local Settings" Temp "content in the androidemulator folder.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.