April 2017
Intermediate to advanced
242 pages
6h 10m
English
Make a new Android project and open build.gradle file in the app folder. In the dependencies section, add:
Compile ‘com.nordicsemi.anroid:dfu:1.3.0’
A complete view of a simple build.gradle file in app module is given as:
apply plugin: 'com.android.application'android { compileSdkVersion 23 buildToolsVersion "23.0.3" defaultConfig { applicationId "com.test.firmwareapplication" minSdkVersion 23 targetSdkVersion 23 versionCode 1 multiDexEnabled true versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } }}dependencies { compile fileTree(dir: ...Read now
Unlock full access