adb

How can I connect to Android with ADB over TCP?

I am attempting to debug an application on a Motorola Droid but I am having some difficulty connecting to the device via USB. My development server is a Windows 7 64bit VM running in HyperV and so I cannot connect directly via USB in the guest or from the host. I installed a couple of different USB over TCP solutions but the connection a...

Creating folders using Android SDK

Is it possible to be able to create a folder on the sd card of the phone via using Android SDK or the Shell? ...

Nexus One & Windows XP USB Driver

I've been unable to get my Nexus One working as a development phone on Windows XP. I've got the driver (revision 3 for N1 support), I've got it installed according to the official installation guide, and the phone appears in the Device Manager just as the guide says it should. However, adb still can't find the phone. 'adb devices', for ...

execute adb shell command at runtime from the android application

hi. In my application I want to create a directory xyz in sdcard at the runtime from the my Application. But it doesn't work. Here is my code.. public class process extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState)...

Problem with bluetooth on android 2.1 (samsung spica i5700) where pairing works but connection does not work

I have a Samsung Spica i5700 which I already have updated to Android 2.1. I am using the phone with an application called Run.GPS (http://www.rungps.net). This application logs data such as GPS position, route, speed, bearing etc. It can also log heartrate provided the user has a Zephyr HxM bluetooth heart rate monitor ("HxM"), which I d...

Android emulator system partition no space from start

I got a wierd problem with android emulator, I have created a virtual device through Android AVD manager (newly created emulator with platform 2.1 and api level 7), I have tried with standard settings and with added hardware parameter for larger (256 mb) device ram size but nothing changed. I need to come files to the system partition t...

Debugging android application on HTC Hero

Is it possible to connect the ADB with an HTC Hero? I tried following the instructions for the Win USB driver but when I try to install the driver I just get a generic message saying that there was a problem installing the driver. Looking at the supported devices, the HTC Hero isn't listed. Is this even possible? As a note, I've trie...

Change the settings using adb shell command

I have to change the Display timeout using the ADB shell commmand. Can anyone help me regarding this. Thanking you Pradeep B S ...

How to make an EXE file using .apk file

am almost done with my project in android, now I want to make the executable version of the application. I need to demonstrate it in .exe form as soft app as on emulator, not by built and debug process from eclipse. ...

How do I make ADB work on x64?

I tried installing the Android USB driver on my x64 machine and it fails. Does Android development not support 64 bit Windows, or am I possibly doing something wrong? ...

adb devices command and eclipse don't recognize my sony ericsson xperia x10. please help

please help me I am using windows xp adb devices command doesnt show my xperia x10 and eclipse doesn't recognize my xperia x10 I have htc magic and it works fine please help me. I downloaded driver from: http://developer.sonyericsson.com/community/docs/DOC-3328#cf and I installed driver without problems and I don't have for example ...

Eclipse/adb error message in Vista "Failed to parse the output of adb version"

I am trying to learn Android development, so I downloaded Eclipse Galileo and the Android SDK. However, whenever I start Eclipse, I get the error message "Failed to parse the output of adb version." In the Console/DDMS pane, the debug output reads: [2010-06-07 20:15:13 - ddms]Failed to reopen debug port for Selected Client to: 8700 [201...

Write a .Net wrapper around AdbWinApi.dll

I'm trying to write a wrapper around Android's AdbWinApi.dll. I've run dumpbin on the DLL and found a number of entry points. The problem is I don't really understand how to use those entry points and tie them up to the ADB API. What is a good starting point to write this wrapper? ...

Stopping an Android app from console

Is it possible to stop an Android app from the console? Something like: adb stop com.my.app.package It would speed up our testing process so much. Right now we uninstall/install the app each time to make sure the manual test cases start with a clean state. ...

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.. ...

Debugging android - how to get bugreport output from a user?

What is the easiest way for a user to send me the output from 'adb bugreport'? Asking them to install the sdk and hook up USB debugging is too hard. Is there an app that will just dump that out and email it, or some other trick? Thanks ...

Can phone use host network when debugging on device via Eclipse/ADB?

I have a Android phone connected with host computer with USB cable. ADB runs well and I can debug application on phone. The only problem is that the App requires special network setup which I can reach on host but not mobile. Is there a way to let the device send all network operations through ADB and Host network? Thanks in advance. Ry...

Is there a way to set DEBUG for all tags in Android's ADB?

I know I can set DEBUG in Android's ADB by typing: adb shell setprop log.tag.MyTag DEBUG What I'm wondering is if there is a way to set debug for all my classes that do logging instead of having to type the above multiple times: adb shell setprop log.tag.MyTag1 DEBUG adb shell setprop log.tag.MyTag2 DEBUG adb shell setprop log.tag.MyT...

How can I play audio file stored in File system using adb command.

Hi I am quite new to android but have already worked with adb and abd shell am commands. Now I am looking the way to launch and play audio file mp3 or wav that is stored in File system while using adb command only. Please help me to find out: Where should I store this file (whether it in data/app ?) Do I push this file to this lo...

Deliver test params using adb shell am start command

Hi All I wish to know how in java I should receive these parameters. I do know how to deliver parameters via adb shell am start command but I still have a problem to get them in java (android) code. My class extends InstrumentationTestCase and not Activity class!!! So I cannot perform: this.getIntent(). I anderstand that I need...