Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Assure-thinkTech/53619619bb4bbce86792f887d43b5017 to your computer and use it in GitHub Desktop.
Save Assure-thinkTech/53619619bb4bbce86792f887d43b5017 to your computer and use it in GitHub Desktop.
Android Bluetooth Low Energy (BLE) Resources

Background

The best resources for those new to Bluetooth Low Energy on the Android platform.

Libraries

  • iDevicesInc/SweetBlue - A proprietary library that abstracts away many of Android BLE challenges. May be useful if you have more dollars than time, or if you are developing stability-critical applications.
  • Polidea/RxAndroidBle - A reactive BLE wrapper, useful for one-shot connections and operations (is not set up to support persistent connections).
  • douglasjunior/AndroidBluetoothLibrary - MIT-licensed Android BLE wrapper. I haven't personally used this, but it looks good.

Building

Resources relevant to building Bluetooth Low Energy Android applications from scratch.

In-Depth Guides

  • Bluetooth Low Energy on Android: Top Tips For The Tricky Bits (slides, video).
  • Erik Hellman's in-progress blog post series (part 1) (part 2) - Comprehensive introductory articles.
  • Android BLE Issues - A fairly complete list of symptoms you are likely to encounter while working with Android's BLE stack. Some apply to pre-Lollipop only, but many still exist and occur.

Implementations

Android Source Code

Stack Overflow

Useful users, questions, answers, and comments from Stack Overflow's Q&A.

Google Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment