From 4fc3ee1b188aa27f95e864eca6479f14ac629cb8 Mon Sep 17 00:00:00 2001 From: Aleksander Nowakowski Date: Thu, 10 Nov 2016 16:45:59 +0100 Subject: [PATCH] Integration part clarified. --- documentation/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/documentation/README.md b/documentation/README.md index 68e4f9c..514bdb8 100644 --- a/documentation/README.md +++ b/documentation/README.md @@ -38,6 +38,14 @@ The DFULibrary is compatible as such with Android Studio IDE. If you are using E #### Android Studio +The easiest way to include the library to your project is to add the + +```compile 'no.nordicsemi.android:dfu:[Version]'``` + +line to your build.gradle file. And that's it. + +However, if you want to modify the code to your needs you have to clone the project and add it as follows: + 1. Clone the project, or just the *DFULibrary* folder (using sparse-checkout) to a temporary location. 2. Copy the *DFULibrary* folder to your projects root, for example to *AndroidstudioProjects*. 3. Add the **dfu** module to your project: