Questions tagged [ddms]

DDMS is an Android SDK tool that provides port-forwarding services, screen capture on the device, thread and heap information on the device, logcat, process, and radio state information, incoming call and SMS spoofing, location data spoofing, and more.

The DDMS (Dalvik Debug Monitor Server) is a tool that comes with the android SDK. It provides port-forwarding services, screen capture on the device, thread and heap information on the device, logcat, process, and radio state information, incoming call and SMS spoofing, location data spoofing, and more.

More information about DDMS is at http://developer.android.com/tools/debugging/ddms.html

615 questions
297
votes
31 answers

View contents of database file in Android Studio

I have been using Android Studio to develop my app since it's was released. Everything works nice until recently, I have to debug together with checking the database file. Since I don't know how to see the database directly, When I debugged to…
Scott Zhu
  • 8,341
  • 6
  • 31
  • 38
121
votes
15 answers

ADB - Android - Getting the name of the current activity

Is there a way to get the details of the current activity that is running via adb.
manugupt1
  • 2,337
  • 6
  • 31
  • 39
56
votes
7 answers

How to use Monitor (DDMS) tool to debug application

I'm switching my development environment from Eclipse to Android Studio these days. And I really enjoy its autocompletion and many other features this IDE provide. However, I have some problem when doing debugging. I hope to use Monitor tool which…
Arthur Wang
  • 3,118
  • 4
  • 21
  • 29
53
votes
1 answer

Locating and remedying cause of large heap size

I'm trying to work out why my app is using so much memory. I often see it using between 15 and 18MB, which is substantially higher than I'd expect. I took a look at the heap size via DDMS and saw this: That looked a tad suspicous because my app…
Glitch
  • 2,785
  • 1
  • 27
  • 50
43
votes
3 answers

ADB, Wifi and Eclipse: how I can configure?

Recently I see that is possible to debug app development by use WIFI instead of USB debug method. I make a search and I found an app called abdWireless but I have a problem. How I can tell to Eclipse to connect via Wifi method? I think that it is an…
David Rodrigues
  • 12,041
  • 16
  • 62
  • 90
36
votes
10 answers

Logcat cannot detect app or package names

I'm using Android Studio (Beta) 0.8.7 and my logcat has been working fine for months. All of a sudden my logcat is unable to detect any app or package names. This means I cannot filter the messages for the particular app I'm testing which is very…
pauloz1890
  • 780
  • 1
  • 10
  • 22
34
votes
5 answers

Android: OutofMemoryError: bitmap size exceeds VM budget with no reason I can see

I am having an OutOfMemory exception with a gallery over 600x800 pixels JPEG's. The environment I've been using Gallery with JPG images around 600x800 pixels. Since my content may be a bit more complex than just images, I have set each view to be a…
Meymann
  • 2,520
  • 2
  • 28
  • 22
34
votes
7 answers

Browse SQLite database from Android Studio

I would like to know is there any SQLite plugin for Android Studio which will allow user to browse the created database?
Mohamad Arafat
  • 573
  • 1
  • 5
  • 24
32
votes
16 answers

Eclipse Hangs in DDMS post-create init

From last two days, eclipse started showing wired behaviour. Its goes in infinte process of DDMS post-create init, And if i try to run the application then Eclipse got hanged. I have tried to install from scratch with eclipse 6.2 and eclipse 7.0,…
Pawan
  • 1,503
  • 2
  • 19
  • 28
31
votes
10 answers

Android Device Monitor doesn't open - error on log file

In Android Studio when I try running Android Device Monitor, I get the following error on log file: >!SESSION 2014-12-17 09:57:30.625 ----------------------------------------------- eclipse.buildId=unknown java.version=1.8.0_25 …
Doug
  • 1,643
  • 2
  • 13
  • 10
31
votes
12 answers

Unable to view HTML trace report generated by Systrace tool in Android SDK

I am trying to generate trace reports with Systrace tool in the Android SDK, but I cant view the report in the browser. It is blank and does not contain any information. I read in some forums that I need to open the report in Chrome browser, I…
Zohaib Hassan
  • 379
  • 1
  • 4
  • 13
30
votes
2 answers

Screenshots with Idea Intellij

how can i capture the screenshot of an app using ddms from intellij Idea? I have been using intellij for some time and i find it very useful. though i couldnt find a way to make it work. Could any one please tell me if this is possible from within…
PushpRaj
  • 595
  • 1
  • 5
  • 11
30
votes
8 answers

Android Device Monitor will not launch, either from Android Studio or from Terminal -- UnsupportedClassVersionError

I am getting the following error when trying to launch Android Device Monitor from the Tools window in Android Studio on a Mac. and when I open the log file I find an error report very similar to the other SO questions similar to this, esp this…
Alyoshak
  • 2,696
  • 10
  • 43
  • 70
30
votes
5 answers

Android DDMS (Monitor) does not start if user profile contains a space in it

If I use a Windows account such as "User", the DDMS can be started from Android Studio. If I use a Windows account which contains a space such as "Test User", the DDMS fails to launch: The log shows the following: !SESSION 2013-07-02 12:30:07.031…
Andrei Drynov
  • 8,362
  • 6
  • 39
  • 39
30
votes
2 answers

Android Understanding Heap Sizes

I'm fairly new to Android development and I can't seem to grasp the Java Out of Memory exception. I know it means that my app has gone over the VM budget but after Googling this many times I still don't seem to grasp this concept. I'm afraid that my…
John P.
  • 4,358
  • 4
  • 35
  • 47
1
2 3
40 41