gwentech
gwentech

Reputation: 89

Android debugging a USB accessory application

I have custom hardware intended to run as a USB accessory on an android. How would I debug my application when my phone\tablet must be connected to my PC AND the custom hardware at the same time?

I must be missing something simple!

Upvotes: 4

Views: 1404

Answers (1)

mbafford
mbafford

Reputation: 2296

adb can be configured to be accessed over the network and it performs nearly as well as when accessed over USB - this includes debugging and shell access. For information on how to enable that, see:

How can I connect to Android with ADB over TCP?

Or, if you want, there are many applications on the market that automate this - I'm particularly fond of this one:

https://market.android.com/details?id=siir.es.adbWireless

Upvotes: 2

Related Questions