ddms

DDMS won't load (or doesn't parse?) KML file

I can't get DDMS to load any KML files. I have a KML file for example with the following in it: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"&gt; <Placemark> <name>Simple placemark</name> <description>Attached to the ground. Intelligently places itself at the height of the underlying te...

Android GPS cloud of confusion!

I am trying to design my first Android application with the use of GPS. As of right now, I have a drawable button that when clicked, alerts a Toast message of the longitude and latitude. I have tried to use the telnet localhost 5554 and then geo fix #number #number to feed in values but no results display just 0 0. I have also tried DDMS...

Can Android DDMS show the line the program failed?

I think I must be missing something really basic here, but if my program dies, DDMS doesn't tell me which line it died on - all the stack references are inside the Android source code giving "source not found" errors. If anyone can help, I would really appreciate it, as Anroid is driving me crazy. Thanks! ...

Developing Android applications on a shared server

Hi! We are trying to use a shared server (Ubuntu 9.10 64-bit) to develop Android applications. The thought is that a number of developers should use the shared server for development. We have overcome some obstacles such as setting the base port for DDMS. So it is possible to run multiple emulators and multiple instances of Eclipse. B...

How to connect Android to PC

I'm trying to connect my Samsung Galaxy to PC but ddms tool does not recognize my phone. USB debugging is enabled. What can cause a problem? PS. I'm using Ubuntu 9.10 OS. Thanks. ...

Trying to run Android JUnit tests in Ecclipse fails!

I have seen all the examples on the web and it seems real simple. I have a bare-bones app that displays a string. I have a a Android JUnit test project that I created when the app was being created (ecclipse asked if I wanted to create a test app). When I run the test app (Run As --- Android JUnit) I see the foolowing in the console.......

How to draw two different possiblity of query tree for the example? in ddbms

select topic from book b, share s, stall st where b.b#=s.b# and st.store#=s.store# Hi friends, i am trying to draw query tree i dont know how to draw query tree for above example. can you help me in that. thanks in advance ...

sd card folder is not being created in DDMS

hi everyone , 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 is not happening . That's why I am unable to push any file in the sd card an...

Android Remove file with DDMS

I need to remove a file from the /data/data folder my app added. I am looking at the file with the DDMS in Eclipse. If DDMS can't , how would I delete it otherwise? ...

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

Hi. 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 RelativeLayout that wraps ImageView with the JPG. In order to "speed up" the use...

adb rejected shell command (ls -l)

Possible Duplicate: ADB rejected shell command (ls -l /data) Hi.. When I am trying to push any file in sdcard from my android application. I see message from ddms " ADB rejected shell command (ls -l/) ". And My Emulator is dead, I cant do anything. Please help me.. ...

android DDMS logcat filter by name

Is there any way to setup a logcat filter by name? I realize they have the filter by log tag, but my app may have various different tags. I can use the filter by pid, but of course everytime i recompile and redeploy this pid changes. I'd like to be able to fitler it by com.mycompany.appname or something along those lines. is this eve...

Can't access data folder in the File Explorer of DDMS using a Nexus One!

Hi guys! I have my Nexus One connected with the USB. When I visit the File Explorer of the DDMS, if I click on the "data" folder the little plus near the name "data" disappear for 2-6 seconds and then reappear but the contenct of the folder "data" is not showed! Here some other information: the folder data has permissions drwxrwx--x...

Displaying CPU usage and FPS in an Android Emulator

Hi 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 apparently, according to sources on the internet, is possible to do. Has anyone had this ...

Android development : ddms from command line not seeing devices.

=============================== *SOLVED * : see answer below I dont want to use Eclipse. From the command line: An emulator is running. adb server is running. "adb devices" lists correctly and I can see my instance on an avd in the output. However when I manually start DDMS from the command line it just keeps trying to connect. I ca...

Android OpenGL memory usage profiling?

I'm struggling with some issues which I believer are memory related with my Android app, yet I can't seem to figure out how to get information on how much memory my app is using. I have a suspicion that some textures I am loading are not getting cleared by the garbage collector, but I want to be able to test before I start blindly makin...

Cannot select my Android client in DDMS perspective of eclipse

I want to check my program code for time consuming operations. I thought DDMS is the best tool to achieve that. However, I cant see Threads, Heaps and so on. It tells my to select a client. But I dont know where other than the Devices Tab, which doesnt take effect. What do I have to do? Is there maybe smth wrong with my ADB setup (But ...

Question on DDMS method profiler

Hello, I'd like to use the method profiler to see how many times particular methods are executed. However, everything I see in there is rather cryptic. For example, all I'd like to see is how many times method doWork() is called. I simply can't find it. How do I do that? Also, it seems like the android SDK has no documentation on how ...

DDMS not able to send location to emulator

DDMS is not able to send location to the emulator. I have tried sending just the location from DDMS but still the emulator is not able to receive location. The application works properly in the device but its not able to capture location data in the emulator. I am testing on Android 2.2 emulator. Can anyone let me know what can be the i...

Eclipse Debug Issues While Coding Android Applications

I have an application I am writing for Android that basically does a screen scrape of a large table on the web and presents it in a nicer way on the handset. Its 500k of html and takes about 20 seconds or so normally. When I have my phone hooked up to the computer, I used to be able to just click on "Run" and my code would execute simil...