Answer the question
In order to leave comments, you need to log in
Is there a way to forward a message from an Android app to a PC via USB?
Is there a way to transfer data from Android to PC via USB directly, without any crutches like ADB?
Ideally, from the application on Android, you need to transfer to the PC the string that the application on the PC will receive, via bluetooth and Wifi it is easy and not interesting to do this, you want it without any additional bells and whistles (wifi and bluetooth on the PC are not always available, but the cable is everywhere, Considering how quickly smartphones sit down :))
Answer the question
In order to leave comments, you need to log in
You can't do it directly, and it's tedious. The easiest way to do this is via regular TCP/IP-over-USB.
1) set up a network via USB https://android.stackexchange.com/questions/2298/h...
2) send regular TCP messages, but at least HTTP/REST.
Connect as a flash drive and read a specific file?
Enable USB tethering and network transfer via USB?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question