Difference between revisions of "Binaries and downloads"
NateColeman (talk | contribs) |
NateColeman (talk | contribs) |
||
Line 1: | Line 1: | ||
− | <span style="font-size:180%">Current stable version is '''[https://github.com/NeuroMD/neuro-sdk/releases/tag/1. | + | <span style="font-size:180%">Current stable version is '''[https://github.com/NeuroMD/neuro-sdk/releases/tag/1.1 1.1]'''</span> |
− | <span style="font-size:180%">Current stable version of extended SDK is '''1. | + | <span style="font-size:180%">Current stable version of extended SDK is '''1.1.2'''</span> |
'''Previous versions''' | '''Previous versions''' | ||
+ | [https://github.com/NeuroMD/neuro-sdk/releases/tag/1.0 1.0] | ||
[https://github.com/NeuroMD/neuro-sdk/releases/tag/0.17 0.17] | [https://github.com/NeuroMD/neuro-sdk/releases/tag/0.17 0.17] | ||
[https://github.com/NeuroMD/neuro-sdk/releases/tag/0.16 0.16] | [https://github.com/NeuroMD/neuro-sdk/releases/tag/0.16 0.16] | ||
Line 24: | Line 25: | ||
To link Base SDK library to your project add following line to your dependencies list | To link Base SDK library to your project add following line to your dependencies list | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
− | compile 'com.neuromd.neurosdk:neuro-sdk:1. | + | compile 'com.neuromd.neurosdk:neuro-sdk:1.1' |
</syntaxhighlight> | </syntaxhighlight> | ||
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:1. | + | compile 'com.neuromd.neurosdk:neuro-sdk-ext:1.1.2' |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 36: | Line 37: | ||
====Base SDK versions==== | ====Base SDK versions==== | ||
− | '''Current release:''' <span style="font-size:120%">[[File:Libneurosdk-release-1. | + | '''Current release:''' <span style="font-size:120%">[[File:Libneurosdk-release-1.1.aar|Libneurosdk-release-1.1.aar]]</span> |
'''Previous versions:''' | '''Previous versions:''' | ||
+ | |||
+ | [[File:Libneurosdk-release-1.0.aar|Libneurosdk-release-1.0.aar]] | ||
[[File:Libneurosdk-release-0.17.aar|libneurosdk-release-0.17.aar]] | [[File:Libneurosdk-release-0.17.aar|libneurosdk-release-0.17.aar]] | ||
Line 45: | Line 48: | ||
====Extended SDK versions==== | ====Extended SDK versions==== | ||
− | '''Current release:''' <span style="font-size:120%">[[File:Neuro-sdk-ext-1. | + | '''Current release:''' <span style="font-size:120%">[[File:Neuro-sdk-ext-1.1.2.aar]]</span> |
'''Previous versions:''' | '''Previous versions:''' | ||
+ | |||
+ | [[File:Neuro-sdk-ext-1.0.1.aar]] | ||
[[File:neuro-sdk-ext-0.17.1.aar]] | [[File:neuro-sdk-ext-0.17.1.aar]] |
Revision as of 13:58, 22 June 2018
Current stable version is 1.1
Current stable version of extended SDK is 1.1.2
Previous versions
1.0 0.17 0.16 0.15
Contents
Android
Android software development kit libraries for NeuroMD devices could be linked into project from JCenter repository, or could be downloaded as .aar files from server
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 Base SDK library to your project add following line to your dependencies list
compile 'com.neuromd.neurosdk:neuro-sdk:1.1'
To link Extended SDK library to your project add following line to your dependencies list
compile 'com.neuromd.neurosdk:neuro-sdk-ext:1.1.2'
Binaries download
Use the following link to get latest vesion of extended SDK library:
Base SDK versions
Current release: File:Libneurosdk-release-1.1.aar
Previous versions:
File:Libneurosdk-release-1.0.aar
File:Libneurosdk-release-0.17.aar
Extended SDK versions
Current release: File:Neuro-sdk-ext-1.1.2.aar
Previous versions:
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
2. Select 'Import .JAR/.AAR Package' and click 'Next'
3. Specify path of downloaded library and choose name for module
4. If module been not added to project automatically, go to settings.gradle file and add new module
5. Add module to project dependencies
Notes
Constructor of DeviceScanner class needs Context object to get access to Bluetooth system service. All operations with Bluetooth data are performed in main UI thread of application, so doing too much work in it may cause connection issues and data packets loss.