V
V
Vitaly Pukhov2014-11-20 06:03:04
Android
Vitaly Pukhov, 2014-11-20 06:03:04

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

3 answer(s)
R
relgames, 2014-11-20
@relgames

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.

S
Sergey Lerg, 2014-11-20
@Lerg

Connect as a flash drive and read a specific file?
Enable USB tethering and network transfer via USB?

E
Emil, 2014-11-20
@Emil2014

Android is based on Linux. Perhaps if you access system usb / tty from an application in Android, you can output. If only he was defined on the PC as a CDC device.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question