Need help with underdark-android?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

216 Stars 59 Forks Other 23 Commits 18 Opened issues


Bluetooth peer-to-peer mesh networking for Android

Services available


Need anything else?

Contributors list

# 253,254
20 commits

Underdark Android

Peer-to-peer networking library for Android, with Wi-Fi and Bluetooth support.

This repository contains library sources, examples of using it and also short "Getting Started" guide below.


Underdark Android is published under the Underdark License, which is modified Apache 2.0 license with added requirement that applications that use the library must add to their app store description the following line: "Mesh networking by"

Demo apps

  • Android:
  • iOS:

Please note that for Bluetooth connection to work on Android, one of the phones must have Android 5.x AND support Bluetooth LE Peripheral mode (have "yes" in the last column here:

Video demo:


You can contact me via Telegram at or by email at [email protected]


First, add underdark repository in your root or app's build.gradle:

repositories {
    maven {
        url ''
Next, add Underdark library dependency in your apps' build.gradle:
dependencies {
    compile 'io.underdark:underdark:1.+'

Getting started

Underdark API is very simple — it consists of entry class

with method
— it allows you to create
instance with desired parameters (like network interface type) and set listener for callbacks.

Full documentation resides in javadoc jar, starting from

class. If you're using Android Studio or IntelliJ IDEA, you can automatically download it like that: ``` apply plugin: 'idea'

idea { module { downloadJavadoc = true } } ```

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.