USB Connection Issue

#1

I am building a Windows app, which acts like Android device manager. It can backup and edit content on Android. However, the biggest challenging is how to detect Android phone via USB port. Any advice on this?

#2

You should use the adb utility to connect Android to a computer. The connection can be USB cable or wireless.

Adb tutorial:
https://developer.android.com/studio/command-line/adb

P.S you can also search for the code sample in Github

1 Like