Difference between revisions of "Binaries and downloads"

From Neurotech Software Development Kit
Jump to: navigation, search
(Including aar library to your project)
Line 1: Line 1:
<span style="font-size:180%">Current stable version is '''[https://github.com/NeuroMD/neuro-sdk/releases/tag/0.16 0.16]'''</span>
+
<span style="font-size:180%">Current stable version is '''[https://github.com/NeuroMD/neuro-sdk/releases/tag/0.17 0.17]'''</span>
  
<span style="font-size:180%">Current stable version of extended SDK is '''0.16.1'''</span>
+
<span style="font-size:180%">Current stable version of extended SDK is '''0.17.1'''</span>
  
  
 
'''Previous versions'''
 
'''Previous versions'''
 
+
[https://github.com/NeuroMD/neuro-sdk/releases/tag/0.16 0.16]
 
  [https://github.com/NeuroMD/neuro-sdk/releases/tag/0.15 0.15]
 
  [https://github.com/NeuroMD/neuro-sdk/releases/tag/0.15 0.15]
  
Line 32: Line 32:
 
<syntaxhighlight lang='bash'>
 
<syntaxhighlight lang='bash'>
 
dependencies {
 
dependencies {
implementation 'com.github.NeuroMD:neuro-sdk:0.16'
+
implementation 'com.github.NeuroMD:neuro-sdk:0.17'
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
Line 41: Line 41:
 
Following links could be used to obtain SDK libraries
 
Following links could be used to obtain SDK libraries
  
[[File:libneurosdk-release.aar|libneurosdk-release-0.16.aar]]
+
[[File:libneurosdk-release.aar|libneurosdk-release-0.17.aar]]
  
 
====Previous versions====
 
====Previous versions====
None
+
 
 +
[[File:libneurosdk-release.aar|libneurosdk-release-0.16.aar]]
  
 
==Extended SDK versions==
 
==Extended SDK versions==
Line 60: Line 61:
 
To link Extended SDK library to your project add following line to your dependencies list
 
To link Extended SDK library to your project add following line to your dependencies list
 
<syntaxhighlight lang='bash'>
 
<syntaxhighlight lang='bash'>
compile 'com.neuromd.neurosdk:neuro-sdk-ext:0.16.1'
+
compile 'com.neuromd.neurosdk:neuro-sdk-ext:0.17.1'
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 66: Line 67:
 
Use the following link to get latest vesion of extended SDK library:
 
Use the following link to get latest vesion of extended SDK library:
  
[[File:neuro-sdk-ext-0.16.1.aar]]
+
[[File:neuro-sdk-ext-0.17.1.aar]]
  
 
====Previous versions====
 
====Previous versions====
None
+
 
 +
[[File:neuro-sdk-ext-0.16.1.aar]]
  
 
==Including aar library to your project==
 
==Including aar library to your project==

Revision as of 14:21, 28 May 2018

Current stable version is 0.17

Current stable version of extended SDK is 0.17.1


Previous versions

0.16
0.15

Android

Standard and extended versions of SDK have different ways of publishing libraries

Base version of SDK

You are able to get neuro-sdk for Android development through JitPack or by downloading latest aar library from direct link

JitPack

To get a Git project into your build:

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}


Step 2. Add the dependency

	dependencies {
		implementation 'com.github.NeuroMD:neuro-sdk:0.17'
	}

That's it! The first time you request a project JitPack checks out the code, builds it and serves the build artifacts.

Binaries download links

Following links could be used to obtain SDK libraries

File:Libneurosdk-release.aar

Previous versions

File:Libneurosdk-release.aar

Extended SDK versions

JCenter repository

Extended SDK binaries could be obtained from JCenter repository. To use it, check if you have following lines in gradle script of your project

allprojects {
    repositories {
        jcenter()
   }
}

To link Extended SDK library to your project add following line to your dependencies list

compile 'com.neuromd.neurosdk:neuro-sdk-ext:0.17.1'

Binaries download

Use the following link to get latest vesion of extended SDK library:

File:Neuro-sdk-ext-0.17.1.aar

Previous versions

File:Neuro-sdk-ext-0.16.1.aar

Including aar library to your project

To include aar library as module to existing project in Android Studio do the following steps:

1. Go to File->New->New module

Wiki-manual-1.png


2. Select 'Import .JAR/.AAR Package' and click 'Next'

Wiki-manual-2.png


3. Specify path of downloaded library and choose name for module

Wiki-manual-3.png


4. If module been not added to project automatically, go to settings.gradle file and add new module

Wiki-manual-4.png


5. Add module to project dependencies

Wiki-manual-5.png