This is the wrong place to post it. However you should use a newer version of android.jar (Tools - Configure Paths).
Probably like this sample:How do I send strings?
Sub Timer1_Tick astream.Write("Millis here: ".GetBytes) astream.Write(NumberFormat(Millis, 0, 0).GetBytes) astream.Write(Array As Byte(10)) 'end of line character. AsyncStreamsText will cut the message here End Sub
Hi Erel...The code from post #1 will only work on a device with multiple hardware serial ports, like Arduino Due or Mega.
The code from post #5 uses SoftwareSerial instead and will work on the Arduino Uno.
Hi all of you.It means that the data wasn't sent properly. Maybe the BT module is not connected correctly.