Skip to content

Android ​

The Aidlab Android SDK connects Android apps to Aidlab, Aidlab 2 and Aidmed One. It requires Android 9 (API 28) or newer. See the example app on GitHub.

Installation ​

  1. Add to your module build.gradle dependencies, replacing <latest version>:

    gradle
    implementation 'com.aidlab:sdk:<latest version>'
  2. Set minSdkVersion to 28 (Android 9) and target the current Android SDK.

  3. Request BLUETOOTH_SCAN and BLUETOOTH_CONNECT at runtime before scanning; the SDK declares them in its manifest. On Android 9–11, also declare and request ACCESS_FINE_LOCATION, which BLE scanning requires there.