The full name of the DDMS is the Dalvik Debug Monitor Service, which provides for example: screenshots for a test device, view running threads for a particular process, and heap information, LOGCAT, broadcast status information, Analog phone calls, **sms, virtual geographic coordinates, and more.
There are two methods of how to start Ddms boot Ddms. As follows:
1, directly double-click Sdk–tools\ddms.bat Run;
2, start the DDMS in Eclipes.
Select "Other" and the interface is as follows:
Double-click on the DDMS to start.
The DDMS has the same effect on the Emulator and the external testing machine. If the system detects that they (VMS) are running at the same time, DDMS will point to Emulatorby default. The above 2 kinds of operation after starting a few different, it is recommended to try separately.
How DDMS works DDMS will build a link between the IDE and the Test terminal (Emulator or connected device) that applies their own separate ports * * Debugger information,DDMS can monitor the connection of the test terminal in real time. When a new test terminal is connected,DDMS will capture the IDof the terminal and set up a debugger through adb to achieve the purpose of sending instructions to the Test terminal. :
DDMS the first terminal app process port for the 8600,app process will allocate 8601, if there are more terminals or more app processes will follow in this order. DDMS through 8700 ports ("Base Port") * * all terminal instructions.
Below the GUI to learn more about some of the features of DDMS Devices in the upper left corner of the GUI can see a panel labeled "Devices", where you can see all the DDMS connected Terminal details, and each terminal is running the app process, the right side of each process corresponds to the port linked to the debugger. Because Android is an operating platform based on the Linux kernel, it retains the process ID that is unique to Linux, between the process name and the port number. :
In the upper right corner of the panel there is a row of important keys they are the Debug the selected process, update Threads, update Heap, Stop process, and screenshot.
Emulator Control through the functions of this panel can be very easy to enable the test terminal simulation of real-world mobile phone with some of the interactive features, such as: answer the phone, according to the options to simulate a variety of network conditions, analog accept SMS The message and send virtual address coordinates are used to test the GPS function.
Use DDMS analog to send text messages, as follows: Enter the following in emulator Control\telephony actions
After clicking Send, open Messaging in the Android emulator and see the following SMS:
How to use Android DDMS (GO)