[WIN][GUIDE]HOW TO USE ADB,DDMS AND TAKE A LOGCAT {pictorial explanation}
![]() HOW TO USE ADB , DDMS & TAKING AN LOGCAT ..etc WHAT IS ADB???
SETTING UP ADB :-
Quote:
Quote:
![]() ![]() |
||||||||||||||||||||||
| The Following 23 Users Say Thank You to -MR.WORLDWIDE- For This Useful Post: [ Click to Expand ] |
xda-developers
|
Saudi Insurance Report
Download a Free Extract Here! The Latest Auto's Industry Data. BusinessMonitor.com/SaudiInsurance |
|
|
31st May 2013, 11:39 AM
(Last edited by -MR.WORLDWIDE-; 31st May 2013 at 03:27 PM.)
|
|
Member - OP
Thanks Meter 395
Posts: 84
Join Date: Mar 2013
|
![]() The Dalvik Debug Monitor Service (DDMS) as it is known is one of the application debugging tools that must be a part of every ANDROID app developers's toolkit..This is very very useful to the app developers.Its is a very powerful debugging tool environment and offers various unparalleled debugging features like heap information , logcat monitoring , file manager.It is available by default in ECLIPSE IDE environment or even in the ANDROID SDK.It works on top of ADB for device communication..
HOW TO USE DDMS ??
1)AS EXPLAINED IN THE ABOVE POST , INSTALL ANDROID SDK....AFTER YOU HAVE INSTALLED PLATFORM-TOOLS & SDK TOOLS..NOW GO TO ANDROID FOLDER AND OPEN TOOLSNow let's learn about its components and it's use's
DDMS VIEW COMPONENT'S :-
DDMS offers a set of view components , each of which show relevant information related to the connected Emulator. DEVICES :- The device panel shows the details of each process that are running in the connected device.There are various operations that can be performed from this panel.
THREAD'S :-
The
thread tab on the right of devices view shows informatiom related to
the thread for each process selected in the devices view.The information
shown can described as follows.
HEAP
:-the heap view show a information and statistics about memory heap .To view heap usage,follow these below steps
ALLOCATION TRACKER
The allocation Tracker show a real time information about allocation happening in the application over a certain period of time.To enable allocation Tracking.
NETWORK STATISTICS The network tab allows you to track and optimize the amount of network data your app is using.It even allows you to tag network sockets so that you can differentiate between types of data .It will indicate the speed and amount of data received /transmitted ..
EMULATOR CONTROL :-
One
problem with testing Android devices using an emulator or developer
device is the fact that it is unable to examine the performance of the
app in the reak world conditions . like call or SMS is received/sent or
when a particular location is reached.To be specific the emulator Tab
allows you to to emulate the following real world conditions :Telephony Status :- the following options are available to set the status of phones network.
FILE EXPLORER :-
As the name says it lets you view the directory and file structure if the device and lso easily copy files to and from the emulator so as to enable easy data transfer in a manner similiar to ADB or ADB pull command.
SYSTEM INFORMATION :-
As the name says , it give's us the particular information about the GPU load , CPU load....
DDMS HAS ALSO AN INBUILT LOGCAT VIEWER :-
|




























Không có nhận xét nào:
Đăng nhận xét