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
6
votes
4 answers

Android, the standalone version of traceview is deprecated

I want to see my traces. 1- In code, I have added these lines of code: // Start trace recording android.os.Debug.startMethodTracing("hc_traceview"); and // Stop trace recording android.os.Debug.stopMethodTracing(); 2- I can see…
Hesam
  • 52,260
  • 74
  • 224
  • 365
6
votes
1 answer

Traceview cannot open from DDMS in eclipse

today I use DDMS as usual, but there is a error - it cannot show me the trace report, the trace view canot open, exception infos as follows, it's very strange, because it's OK some days ago. my android version is 4.0.3, eclipse 3.7, ADT 21, Mac OSX…
sam sha
  • 842
  • 9
  • 18
6
votes
1 answer

Android emulator -- DDMS "emulator control" is disabled while running buildroid/virtualbox based emulator

I'm running an android emulator with virtualbox / buildroid, and connecting with ADB and eclipse, DDMS, Everything is working, I'm able to load apps from eclipse etc, BUT the emulator controls in DDMS perspective are greyed out, so I'm unable to…
IanO.S.
  • 1,362
  • 1
  • 10
  • 20
6
votes
1 answer

Android Logcat: How do I output a log message with a TAB character?

In Java, System.out.printf("\t") gives a TAB character in the Console. I wanted to have that function in the Logcat DDMS, by outputting a TAB character in my log message. public void testLogMessage(){ Log.d("Test", "TAB: " + "\t" + "AAAAAAAA" +…
tom_mai78101
  • 2,383
  • 2
  • 32
  • 59
6
votes
1 answer

Move an entire folder from windows to Android emulator

Is it possible to move an entire folder as is from windows to an android emulator? - I am sure the answer to this exists somewhere but I am not able to find it. I can move one file at a time either via adb command line or via ddms but neither gives…
Vrashabh Irde
  • 14,129
  • 6
  • 51
  • 103
5
votes
2 answers

Android Eclipse DDMS - Can't pull file from rooted device

I am testing my app on a rooted Nexus S phone. I finally have access to the /data/data folder thanks to some awesome help from this answer. Problem is when I try to use DDMS to "pull a file from the device" I get this error: [2012-03-20 18:15:26]…
wasatch14
  • 163
  • 1
  • 6
5
votes
1 answer

Why does Android DDMS File Explorer only show 3 directories?

Why does Android DDMS File Explorer only show data, mnt, and system directories? There are other directories and files if I execute "adb shell ls -l"
5
votes
2 answers

Emulator Control disabled with real android device

I'm trying to test a GPS-enabled application and want to test it on the real device (not the emulator). I want to spoof the application by sending fake GPS coordinates to it. I've read that you can do this with DDMS, but this does not work because…
Roalt
  • 8,330
  • 7
  • 41
  • 53
5
votes
3 answers

Delete files from DDMS using command prompt?

I'm trying to delete some files from DDMS data/data/package_name/files/filename How can i done this?
Praveenkumar
  • 24,084
  • 23
  • 95
  • 173
5
votes
2 answers

Android: DDMS perspective vs. Debug perspective

I noticed that there are two debug perspectives in Eclipse that is setup for Android development. Why two? What does the DDMS perspective provide that the Debug perspective doesn't provide? To clarify, I am only interested in a diff kind of…
Android Eve
  • 14,864
  • 26
  • 71
  • 96
5
votes
0 answers

Difference between Android Monitor Method trace and Android Device Monitor

I profiled the same app for cpu time using both Android Device Monitor (method profiling) and Android Monitor (method profiling), however, I get different results. Any ideas on how they are different in their underlying working? 1) Android Device…
utengr
  • 3,225
  • 3
  • 29
  • 68
5
votes
5 answers

Android- the DDMS shows the message: logcat read: Invalid argument

So how can I fix this problem. It seems my DDMS is broken down.
Chun
  • 51
  • 1
  • 2
5
votes
3 answers

Why can't 'data' folder be displayed just like in DDMS file explorer?

I list out files in '/' by: File directory = new File("/"); fill_listview(directory.listFiles()); And I get those in…
herbertD
  • 10,657
  • 13
  • 50
  • 77
5
votes
2 answers

Android Studio - DDMS does not update File Explorer's view

I have my AVD emulator running in Android Studio, and want to store a file on the emulated device. Using the push and pull buttons does not seem to store the device, while the console is not reporting any errors. Just dragging the file into the…
5
votes
5 answers

Android Studio and android device monitor

I just switched from Eclipse to Android Studio. For what I saw since now the new IDE has a lot more features than Eclipse, and I like using the new IDE for my app development work. I just can't understand one thing: in Eclipse, there is the very…
Apperside
  • 3,542
  • 2
  • 38
  • 65