Introduction to DDMS : Android Debugging Tool

 Introduction to DDMS : Android Debugging Tool


The following video tutorial gets you started with DDMS.
Android comes with debugging tool called DDMS. The DDMS stands for Dalvik Debug 
Monitor server. The many uses of DDMS are port forwarding services, screen capturing on
 device, threat & heap information on the device & logcam.

Android Training in Chandigrah


Here we have the steps to view list of
Here are the steps to view the list of emulators:
1) Open DDMS at the top right corner of Eclipse
2) Click on Device panel on the left
3) The lists the emulators and the process related with emulators can be viewed .
Android is the best place to learn Android training in Chandigarh.

Enabling DDMS : Dalvik Debug Monitor

1) Open Eclipse & click on windows
2) View or open perspective
3) Click on the other option and enable DDMS.
Your DDMS is enabled!
It is important to know that under the devices part you can also update the threads. There are
 options on the same to stop correct as well.The second component in DDMS is the
 Allocation representive which tracks the objects inside the memory of applications. Important 
information like how many objects is alloted how many are re-allocated, when the tracking has to 
be started is available .

Advantages of DDMS:

i) DDMS provides port-forwarding services.

ii) Screen capture on the device.

iii) Thread and heap information on the device.

iv) Logcat.

v) Process.

vi) Radio state information.

vii) Incoming call and SMS spoofing, location data spoofing, and more.


Tracking Created Objects

If you want to start tracking objects which are getting created while using applications:
1) Click on get allocations
2) You can view the allocation tracker retrieving information
3) This will give you a gist of how many allocations and how many re-allocations are there
Also the adjacent option called ‘Get Allocation’ will allow the allocation tracker to retrieve information. 
 Secondly, Network Statistics window will show the kind of network speed one has.
Apart from that the File Explorer shows the device’s file structure and what all files are inside the
 device.Also every single application resides in the device with its package name.

Locating your Package

To know package location:
1) Go to data folder
2) Click on another data folder within that folder
3) In this case the package is ‘comedureka.firstandroid’.

Every developer when working on an function must know when it is  running. The DDMS tool 
helps you answer that question with Logcat. Logcat gives you condition of your applications which 
makes it the only point of allusion to know about your application status.
The Video will give a brief affirmation of operating a smartphone through the emulator.
Android Training in Chandigarh is the best place to learn more about DDMS in Android .

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.