Android Development note "Talking about DDMS View"

Source: Internet
Author: User

The full name of DDMS is the Dalvik Debug Monitor service, the Dalvik debug monitoring services, which is a visual debug monitoring tool. It is mainly for the system to run the background log monitoring, as well as system threads, simulator State monitoring. In addition, it can simulate sending and receiving text messages, making calls and sending GPS location information.

start Ddms in Eclipse

1. In the upper-right corner of the Eclipse interface, click to display the following interface

2. Select other, as shown in the interface, double-click Ddms to start

Introduction to the functions of the DDMS components

1.Devices can view all emulator details connected to the DDMS, as well as the app process that each emulator is running, and the right side of each process corresponds to the port linked to the debugger.

2. TheEmulator control can be used for controlling the simulator, such as answering the phone, simulating various network conditions according to the option, simulating receiving SMS messages and sending virtual address coordinates for testing GPS functions.

Telephony Status: simulates voice quality and signal connection mode with options.
Telephony Actions: Analog phone answering and sending SMS to the test terminal.
Location Control: simulates geographic coordinates or simulates dynamic alignment changes and displays pre-defined geographical indications in the following 3 ways:

(1) Manual: Manually send two-dimensional latitude and longitude coordinates for the terminal.

(2) GPX: The data of GPS changes in the road is simulated by using the GPX file to import the dynamic geographic coordinates of the sequence.

(3) KML: A unique geographical identity is imported through a KML file and is dynamically displayed in the test terminal based on the geographic coordinates of the change.

3.LogCat Some information about the main output simulator

4. filter function is similar to filters, can filter some debugging information

5.

V: Output all the information

D: output Debug information

I: Output Info Info

W: Output warning message

E: Output The wrong information

: Can delete information of current LOGCAT output

6.Threads, Heap, file Exporler, the most commonly used is the file Exporler files browser, through the file Exporler can view the files in the Android emulator, you can easily import/export files.

This article is from the "It Drip" blog, please be sure to keep this source http://liangruijun.blog.51cto.com/3061169/631061

Android Development note "Talking about DDMS View"

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.