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
0
votes
1 answer

Displaying CPU usage and FPS in an Android Emulator

I have set up my DDMS to work with the emulator and display the processes running etc. but in the Dev Tools of my emulator it firstly wont let me tick the Show CPU Usage box, and secondly I do not seem to have an option to display the FPS which…
Darius
  • 5,180
  • 5
  • 47
  • 62
0
votes
1 answer

DDMS to get current location in android studio

In my project , I'm using google map and I want to center the map on the current location of the user . I couldn't use the gps diectlty but when I've done some researches , I found that I have to use DDMS to get the location given by gps , the…
user200099
  • 31
  • 1
  • 4
0
votes
0 answers

Tracking native heap in android using DDMS

I have gone through "http://bricolsoftconsulting.com/how-to-enable-native-heap-tracking-in-ddms" for enabling the native heap tab in DDMS. I am stuck at getting correct versions of "libc_malloc_debug_leak.so" and "libc_malloc_debug_qemu.so" required…
0
votes
1 answer

Android OutOfMemoryError, how to debug using DDMS and track what is causing the memory leak?

I think I am not following the standard general rule for optimizing memory of an android app, and I keep getting OutOfMemoryError, now I am trying to debug and find the source using DDMS in Android Studio, but I have no idea how to read it and how…
Charas
  • 1,753
  • 4
  • 21
  • 53
0
votes
0 answers

DDMS: unable to connect jdb to DDMS port

I am learning android, and developing application without using IDE through ant. I build applications with ant debug, and deploy them on the emulator with adb. I have marked app to wait for debugger to attach from developer settings. However when I…
user1064504
  • 573
  • 6
  • 16
0
votes
2 answers

What is better - one long onClick method for all buttons, or many short methods for each button[android]

I have 12 buttons divided in 2 groups, each has 6 buttons, all buttons respond to one long onClick method goToCategory(). I can refactor it into many small independent onclick methods. My app takes too much time to render images after click/touch…
ERJAN
  • 23,696
  • 23
  • 72
  • 146
0
votes
0 answers

Debug disabled with DDMS on Android

I am using Android Studio 1.3 with DDMS on Linux 64-bit. For some reason, when I try to debug with DDMS by selecting my app in the process list and clicking the "bug" in the tool menu, it shows debugging as disabled (grayed out). However, if I…
Jon
  • 1,381
  • 3
  • 16
  • 41
0
votes
1 answer

Tool / apis similar to ddms for integration with android app

As I am new to android, this question might seems very basic to some people. We are creating an android app and want to monitor it after release in a similar manner as DDMS does for local debugging. Is their anything available in that space…
nishant pathak
  • 342
  • 1
  • 4
  • 17
0
votes
1 answer

DDMS not showing Device name

DDMS is not showing up the Device information in Eclipse which is running on Ubuntu. Also, i am not getting Logcat messages. I am getting a blank device name. I tried to reset ADB but that didn't help. How to resolve this?
0
votes
1 answer

ddms seems to be disabled for genymotion in android studio

I am on mac . I started my genymotion emulator and then via android studio started ddms . Kindly note that the send button in location control is not clickable . If do not use genymotion emulator and use directly the emulator from android studio…
MAG
  • 2,841
  • 6
  • 27
  • 47
0
votes
1 answer

Android Allocated Memory: DDMS vs Running App

Why does DDMS and Android's Running App (Settings->Apps->Running) show another allocated memory value? DDMS shows that my application allocated memory size is equal ~40MB, on the other hand the Running App shows 80MB. Which one value is correct? If…
MikePtr
  • 1,661
  • 1
  • 16
  • 18
0
votes
1 answer

Android seems to not always execute my function

here is my problem : the following code is running from a thread created by my main application : for (i = 0; i < nbiter; i++) { call to Method_A() } Method_A() is : for (j = 0; j < 256; j++) { ... call to Method_B() .. } Method_B is doing 6…
Pascal
  • 11
  • 2
0
votes
1 answer

DDMS won't allow debugging

I'm attempting to use the DDMS debugger to connect to a process on a Nexus4 device. I've built a debug version of the application, added android:debuggable="true" to the manifest and also added android.os.Debug.waitForDebugger(); to main…
user3188040
  • 671
  • 9
  • 24
0
votes
2 answers

sd card folder is not being created in DDMS

I am new to android. I intend to make video player which can play video from file as well as web URL. But the problem is that when my emulator runs , a sd card folder should be created in "File Explorer" tab of DDMS perspective in eclipse , which…
Abhijeet
  • 11
  • 4
0
votes
1 answer

Application shows again in ddms under device tab even though i have stopped it

I have seen this issue and i don't have any idea why it's happening. When i stop application from ddms under device tab it doesn't stop it appears again even thought i saw it gets closed on the device but it shows again and i have to stop it again…
umerk44
  • 2,797
  • 4
  • 23
  • 43