Add support for Bluetooth
What is the problem or limitation you are having?
Bluetooth is a common protocol for interacting with hardware devices. At present, Toga does not provide any mechanism for communicating with Bluetooth devices.
Describe the solution you'd like
Toga should provide an API for communicating with Bluetooth.
The exact shape of this API is an open question. It would presumably live in the app.hardware namespace.
Describe alternatives you've considered
It may be preferable to not support this in Toga, and instead use a third-party library.
Bleak is a Python library that has support for Bluetooth on desktop platforms and Android (although the Android support is Kivy specific).
BleekWare is a limited replacement for Bleak that is compatible with BeeWare's Android support (https://github.com/beeware/beeware/issues/181).
Additional context
No response
Hey just stumbled upon this. I just started using kivy + bleak to compile into Android apk , it is not very stable at the moment due to some buildozer missing java files issue. I might be wrong but it seems if i want to write a mobile app with python and with bluetooth function, it seems there is only very limited options out there for this. I would love to see some kind of addition to Beeware to allow same level of Bluetooth functionality as Bleak. Thanks
BleekWare – linked above – is probably the best option at the moment, so please give it a try if you haven't already.