I'm new to B4A but pretty good with VB. I'm trying to send a string via Bluetooth to an external device. No receive required, just transmit the string to the external device. Using a Nexus 7 and a RN41 Bluetooth SPP mode.
I ran the code in the B4A SerialExample ( successfully... works great ) so I'm adapting that code for my task.
I can't figure out how to send a string to the outputstream... the example uses an edit box for text to transmit ( and a SEND button ) but that requires manual input of the string... the string I want to send is generated by code. Also I don't need ( or want ) to display an edit box. Should be a very simple way to do this, I've searched the forums but I just don't get it... dumb question, but as I said, I'm new to B4A.
Bob S.:sign0085:
I ran the code in the B4A SerialExample ( successfully... works great ) so I'm adapting that code for my task.
I can't figure out how to send a string to the outputstream... the example uses an edit box for text to transmit ( and a SEND button ) but that requires manual input of the string... the string I want to send is generated by code. Also I don't need ( or want ) to display an edit box. Should be a very simple way to do this, I've searched the forums but I just don't get it... dumb question, but as I said, I'm new to B4A.
Bob S.:sign0085: