I try to get the serial lib working with the Android mode of Processing
Have you some informations about that ?
With Ubuntu (with LXDE) on my ARMv7 device i can get it work easily:
- install java 1.7 for arm(v7)
- create a symlink to the java directory (arm one instead of the linux32)
- install java rxtx for arm(v7)
- install the rs232 driver (generally, already installed)
- turn on processing, start listening/writing on serial port
- working rs232 link !
But on android 4.0.4, i can't get it work, i have
- a rooted device
- a correct adb connection (i can run simple processing sketchs)
- a good rs232 device with the module loaded
<6>[ 1552.192697] USB Serial support registered for pl2303
<6>[ 1552.197936] pl2303 3-1.4:1.0: pl2303 converter detected
<6>[ 1552.226719] usb 3-1.4: pl2303 converter now attached to ttyUSB0
- ...my converter is attached to /dev/ttyUSB0
but... i don't known what i can can talk to my ttyUSB0 with processing
i have try to replace the "librxtxSerial.so" in the library directory but i think that it don't work...
What i can do please, any advice ?
Thanks a lot and sorry for my english, i'm a french boy ;)