I'm trying to transfer files from a PC to an Android device. I have managed to do this using VB6 code on the PC, Bluetooth dongle, virtual COM port, B4A serial library, prefix-mode asyncstreams_newdata event.
The FileTransfer example on this forum uses both asynchstreams_newdata and asynchstreams_newstream events, but I cannot get the code to work (cannot get device to connect to PC) so cannot follow exactly what the _newstream event does, when it triggers.
I cannot find any documentation for the _newstream event: it is not mentioned in the B4A book, and I can't I find it covered anywhere else.
I would like to know what it does, how to use it, whether it is easier/better to use than the _newdata event.
Many thanks,
Martin
The FileTransfer example on this forum uses both asynchstreams_newdata and asynchstreams_newstream events, but I cannot get the code to work (cannot get device to connect to PC) so cannot follow exactly what the _newstream event does, when it triggers.
I cannot find any documentation for the _newstream event: it is not mentioned in the B4A book, and I can't I find it covered anywhere else.
I would like to know what it does, how to use it, whether it is easier/better to use than the _newdata event.
Many thanks,
Martin