1. Are you ready for the Galaxy S20? Here is everything we know so far!

How to debug USB OTG application?

Discussion in 'Android Development' started by andrey2211, Jun 27, 2020.

  1. andrey2211

    andrey2211 Lurker
    Thread Starter

    I am working on an Android application which talks to external device via USB. How can I debug such an app?

    Is it possible for virtual device to use real USB in OTG mode and connect to external device?

    How do I wire real phone for debugging? I need my PC to be USB host for USB debugging right? So if PC is connected to phone USB port is busy. Is it possible to wire real phone to be USB host for external device while having PC debugging the app?
     


Loading...

Share This Page

Loading...