Ddms for Android tools

Source: Internet
Author: User

Specific visible http://developer.android.com/guide/developing/tools/ddms.html. Ddms is a bridge between IDE, emultor, and real Android devices. Developers can view the running process/ready-to-use status on the target machine through ddms. They can go to the development machine on the android screen, view the heap information of the process, and view the logcat information, you can view the memory allocated by the process. You can send text messages and make phone calls on the target machine, or send geographic location information like android. Attach a process for debugging like GDB. The full version of ddms is provided in the SDK tools directory and can be directly run. The following uses ddms perspective in eclipse as an example to briefly introduce the features of ddms.

Like debug and Java's perspective, after ADT is installed, there will be a ddms perspective. Just open it.

 

 

The window that appears is,

 

 

The device window lists all processes in the simulator. The buttons in the upper right corner are: Debug a process, update a process, update the process stack information, and stop a process, the last image button captures the current Android screen.

 

When you select a process and press the debug process button, if eclipse contains the code of this process, you can perform source code-level debugging. It's a bit like GDB attach. The image capture button can capture the current Android display desktop to your machine, which is also very useful.

The window on the right contains the threads, heap, and file explorer tabs. Displays thread statistics, stack information, and Android file systems respectively.

 

File explorer is very useful. It can upload files to or download files from Android phones or delete files. After selecting the file explorer tab, you can click the following three buttons to upload, download, and delete the file system of your Android phone.

 

Emulator control is also very important. It can send text messages like a mobile phone, make a call, and update the mobile phone location information.

 

 

Summary:

Currently, the ddms function provided by eclipse adt is only a small part of the real ddms. You can directly use the ddms below tools to use all the functions. One of the functions is useful for viewing the memory allocation of processes.

 

 

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.