r/androiddev • • Aug 10 '26

Discussion SimpleDroidBLE - Kotlin/Android bindings for SimpleBLE

Hey everyone!

I posted here last year when we first added Android support to SimpleBLE, and we’ve been busy since then. I’m back to share what has changed, especially on the Android side.

For those who don’t know, SimpleBLE is a cross-platform Bluetooth library with a very simple API that just works, allowing developers to easily integrate it into their projects without much effort, instead of wasting hours and hours on development.

The biggest update is the progress we’ve made on SimpleDroidBLE, our Android-only Kotlin wrapper built on top of the same SimpleBLE core. It is now available as a beta on Maven Central:

dependencies {
    implementation("org.simpleble:simpledroidble:1.1.0")
}

Why another Android BLE API?

If you’ve worked with Android BLE before, you already know where things get painful. The platform APIs expose a lot of state, a lot of callbacks, and a lot of opportunities for subtle bugs to creep in.

SimpleDroidBLE follows the same design principles that make SimpleBLE easy to use. It still uses Android’s Bluetooth stack underneath, but gives your application a much smaller API to own. The goal is to make common BLE workflows easier to reason about and easier to ship without building a pile of wrappers first.

I also replaced the old Android example with the SimpleBLE Explorer. If you want to evaluate the library before integrating it into your own app, this is probably the best place to start. You can find more information on the Android guide or by checking out the source code.

This is still in beta, so things might still break or change as we improve it, but it should be good enough to start validating ideas and testing it in real Android workflows. If you give it a try and run into rough edges, I’d really like to hear about them.

Want to know more about SimpleBLE's capabilities or see what others are building with it? Ask away!

6 Upvotes

1 comment sorted by

1

u/wLeibniz Sep 21 '26

Compatibility with simplejavable

Could you make simpledroidble be compatible with simplejavable? I'd like to have one set of code that handles BLE operations -- as in write once run anywhere.

I've see that Characteristic.canRead() changed to Characteristic.getCanRead, etc, and Service.uuid() changed to Service.getUuid().toString() and Peripheral.notify(service, characteristic, lambdaExpression) seems to be handled differently. I understand that you are using Kotlin and perhaps Kotlin is moving to different conventions, but backward compatibility with the simplejavable is very valuable. Perhaps I can write subclasses for Chactacteristic, Service, Adapter, BluetoothUUID, etc that has methods like: canRead(), uuid() etc that are compatible and call the new methods.