F
F
for7raid2013-10-11 21:53:07
Android
for7raid, 2013-10-11 21:53:07

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

2 answer(s)
R
rPman, 2013-10-11
@for7raid

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)

L
lex_t, 2013-10-11
@lex_t

Here they offer to exchange with arduino via adb:
english.cxem.net/arduino/arduino1.php
english.cxem.net/arduino/arduino3.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question