Android Question BLE Peripheral as HID keyboard


Licensed User
Hello all,

I would like to write an Android app that allows the phone to act like a Bluetooth HID keyboard. I want to send keystrokes and commands from the app to a BIuetooth-enabled computer. Is that possible with the BLE Peripheral library? Can someone please show me an example of how it is done?



B4X founder
Staff member
Licensed User
Longtime User
You cannot implement it. It is not related to BLE at all and with classic Bluetooth you can only build solutions based on the SPP profile.

You can build a desktop program that communicates with your Android app and sends mouse events to the OS.
Upvote 0