diff --git a/README.md b/README.md index 64f0368..c1ae414 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Two permissions are required to use the API.AI Android SDK: Add this dependencies to your project to use SDK ``` -compile 'ai.api:sdk:1.8.1@aar' +compile 'ai.api:sdk:1.9.0@aar' // api.ai SDK dependencies compile 'com.android.support:appcompat-v7:23.2.1' compile 'com.google.code.gson:gson:2.3' @@ -64,7 +64,7 @@ To implement speech recognition and natural language processing features in your 1. Add a dependency to your *build.gradle* file. Add the following line to your **build.gradle** file. (In the sample app, the **apiAISampleApp/build.gradle** is an example of how to do this.) ``` - compile 'ai.api:sdk:1.8.1@aar' + compile 'ai.api:sdk:1.9.0@aar' // api.ai SDK dependencies compile 'com.android.support:appcompat-v7:23.2.1' compile 'com.google.code.gson:gson:2.3' @@ -221,7 +221,7 @@ Next you will integrate with the SDK to be able to make calls. Follow these step 3. Save **AndroidManifest.xml**. 4. Next, you need to add a new dependency for the AI.API library. Right click on your module name (it should be _app_) in the Project Navigator and select **Open Module Settings**. Click on the **Dependencies** tab. Click on the **+** sign on the bottom left side and select **Library dependency**.
![Add dependency](docs/images/Dependencies.png) -5. In the opened dialog search **ai.api**, choose **ai.api:sdk:1.8.1** item and append `@aar` to the end of library name (see image) then click OK.
![Add dependency](docs/images/Dependencies2.png) +5. In the opened dialog search **ai.api**, choose **ai.api:sdk:1.9.0** item and append `@aar` to the end of library name (see image) then click OK.
![Add dependency](docs/images/Dependencies2.png) * Also you need to add dependencies of the SDK library : *com.android.support:appcompat-v7*, *com.google.code.gson:gson*, *commons-io:commons-io*. Add them in the same way. 6. Open **MainActivity.java** under **app/src/main/java/com.example.yourAppName.app**, or whatever your package name is. 7. Expand the import section and add the following lines to import the necessary API.AI classes: diff --git a/apiAISampleApp/build.gradle b/apiAISampleApp/build.gradle index dcc8247..74439d2 100644 --- a/apiAISampleApp/build.gradle +++ b/apiAISampleApp/build.gradle @@ -33,7 +33,7 @@ dependencies { compile 'com.android.support:appcompat-v7:23.2.1' compile 'com.google.code.gson:gson:2.3' compile 'commons-io:commons-io:2.4' - //compile 'ai.api:sdk:1.8.1@aar' + //compile 'ai.api:sdk:1.9.0@aar' // this line left for testing purposes compile project(':ailib') } diff --git a/docs/integration.md b/docs/integration.md index 6ee04f2..d5b4f16 100644 --- a/docs/integration.md +++ b/docs/integration.md @@ -12,7 +12,7 @@ Also SDK library must be in your app dependencies (see **build.gradle**) ``` dependencies { // some another dependencies... - compile 'ai.api:sdk:1.8.1@aar' + compile 'ai.api:sdk:1.9.0@aar' // api.ai SDK dependencies compile 'com.android.support:appcompat-v7:21.0.3' compile 'com.google.code.gson:gson:2.3' diff --git a/gradle.properties b/gradle.properties index eaff859..2b98db3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,8 +17,8 @@ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -VERSION_NAME=1.8.1 -VERSION_CODE=36 +VERSION_NAME=1.9.0 +VERSION_CODE=40 GROUP=ai.api POM_DESCRIPTION=API.AI Android SDK allows using voice commands and integration with dialog scenarios defined for a particular agent in API.AI.