Hi.... :sign0060::sign0060::sign0060:
Erel,
i did make a small change in the serial_port_api and now i can list, read and write in all serial devices in my tablet ( in my case... the port /dev/ttymxc0 is unblocked). with this library now i can set the baudrate, port adress and flags in all devices.
there are two types created. "PortFinder" and "SerialPort"
.........................................
Dim c As PortFinder
Dim d As SerialPort
Dim x As AsyncStreams
.........................................
Label1.text=c.AllDevicespath.Length //(number of devices)
Spinner1.AddAll(c.AllDevicespath)// (device path list)
d.SetPort("/dev/ttymxc0",9600,0) //set serial port..
x.Initialize(d.InputStream,d.OutputStream,"Astream") // connect with asyncstream
this is the compiled library with the. jar and .xml... for android 2.3 and higher
enjoy it!!
thanks a lot for your help...i am very very happy with de b4a.