You can remove the USB cable connected to the host, after step 2.
Once the port is forwarded, you can connect from the host over WiFi
On Wednesday, June 20, 2012 2:38:31 PM UTC+5:30, Ralph Bergmann wrote:
Hello,
When debugging applications that use USB accessory or host features,
you most likely will have USB hardware connected to your
Android-powered device. This will prevent you from having an adb
connection to the Android-powered device via USB. You can still
access adb over a network connection. To enable adb over a network
connection:
1. Connect the Android-powered device via USB to your computer.
2. From your SDK platform-tools/ directory, enter adb tcpip at
the command prompt.
3. Enter adb connect device-ip-address: You should now be
connected to the Android-powered device and can issue the usual adb
commands like adb logcat.
4. To set your device to listen on USB, enter adb usb.
(http://developer.android.com/guide/topics/usb/index.html)
But how can I connect my Android device with the USB hardware and with
my computer at the same time?
Ralph
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en