<commit_before>The Nuimo controller is an intuitive controller for your computer and connected smart devices. The Nuimo Android SDK helps you to easily integrate your Android apps with Nuimo controllers.

## Installation

##### Android project requirements

Your Android project must target at least API level 18. Earlier Android versions didn't support Bluetooth Low Energy. So make sure that `minSdkVersion` is set at least to 18 or higher in your `build.gradle` file.

##### Gradle dependency for the Nuimo library

[The Nuimo SDK library for Android is available via the jCenter repository](http://jcenter.bintray.com/com/senic/nuimo-android/). To include the Nuimo library in your Android app dependencies you need to add two dependency lines to your `build.gradle`:

    dependencies {
        ...
        compile "com.senic:nuimo-android:0.2.0"
        compile "org.jetbrains.kotlin:kotlin-stdlib:1.0.0-beta-3595"
    }

If you're wondering why `kotlin-stdlib` is needed: The Nuimo library is written in the [Kotlin programming language](https://kotlinlang.org/) instead of Java. If you are already writing your Android apps in Kotlin then there's no need for this extra line.

## Usage

##### Basic usage

The Nuimo library makes it very easy to connect your Android apps with Nuimo controllers. It only takes three steps and a very few lines of code to discover your Nuimo and receive gesture events:

1. Add a `NuimoDiscoveryListener` to an instance of `NuimoDiscoveryManager` and call `startDiscovery()`. This will discover Nuimo controllers nearby.<commit_msg>Syntax highlight for groovy code<commit_after>The Nuimo controller is an intuitive controller for your computer and connected smart devices. The Nuimo Android SDK helps you to easily integrate your Android apps with Nuimo controllers.

## Installation

##### Android project requirements

Your Android project must target at least API level 18. Earlier Android versions didn't support Bluetooth Low Energy. So make sure that `minSdkVersion` is set at least to 18 or higher in your `build.gradle` file.

##### Gradle dependency for the Nuimo library

[The Nuimo SDK library for Android is available via the jCenter repository](http://jcenter.bintray.com/com/senic/nuimo-android/). To include the Nuimo library in your Android app dependencies you need to add two dependency lines to your `build.gradle`:

```groovy
dependencies {
   ...
   compile "com.senic:nuimo-android:0.2.0"
   compile "org.jetbrains.kotlin:kotlin-stdlib:1.0.0-beta-3595"
}
```

If you're wondering why `kotlin-stdlib` is needed: The Nuimo library is written in the [Kotlin programming language](https://kotlinlang.org/) instead of Java. If you are already writing your Android apps in Kotlin then there's no need for this extra line.

## Usage

##### Basic usage

The Nuimo library makes it very easy to connect your Android apps with Nuimo controllers. It only takes three steps and a very few lines of code to discover your Nuimo and receive gesture events:

1. Add a `NuimoDiscoveryListener` to an instance of `NuimoDiscoveryManager` and call `startDiscovery()`. This will discover Nuimo controllers nearby.
{'fraction_non_alphanumeric': 0.06911857958148383, 'fraction_numerical': 0.009511731135066582, 'mean_word_length': 4.458477508650519, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7259685', 'n_tokens_mistral': 866, 'n_tokens_neox': 793, 'n_words': 414}