Please note that MS Edge adds a non-standard white space to code snippets copied from the forum. This issue will be fixed in the next versions of the IDEs. For now you should use a different browser.
View Android smartphone screen from PC (BT/USB)
Similar threadsB4A Library felUsbSerial - Alternative Usb Serial library
B4A Tutorial B4A-Bridge a new way to connect to your device
B4A Tutorial [IoT] XBee (ZigBee) Communication between Android and Raspberry Pi
B4A Tutorial Android Usb Host Tutorial - AdbTest
B4A Tutorial Using a PlayStation 3 controller with your Android Device