Answer the question
In order to leave comments, you need to log in
Communication with the Android application
There is an Android tablet on board, the tablet is connected by usb cable to a desktop computer.
Is it possible to exchange data between an application running on a tablet and on a computer, for example, by emulating a com port?
WiFi is not suitable due to its instability.
Answer the question
In order to leave comments, you need to log in
Regular android sdk utilities contain the adb utility, one of the possibilities is to redirect connections to the device, incl. in characterdevice:
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question