From 5852a4d42144baa2bde314fcb6ed4180185ef2ee Mon Sep 17 00:00:00 2001 From: Danil Skachkov Date: Fri, 27 Nov 2015 14:09:41 +0600 Subject: [PATCH] SDK Release 1.7.6 --- README.md | 6 +++--- docs/integration.md | 2 +- gradle.properties | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5effc80..42630a4 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.7.1@aar' +compile 'ai.api:sdk:1.7.6@aar' // api.ai SDK dependencies compile 'com.android.support:appcompat-v7:22.0.0' 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.7.1@aar' + compile 'ai.api:sdk:1.7.6@aar' // api.ai SDK dependencies compile 'com.android.support:appcompat-v7:22.0.0' compile 'com.google.code.gson:gson:2.3' @@ -222,7 +222,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.7.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.7.6** 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/docs/integration.md b/docs/integration.md index 3ff44c4..3f68afe 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.7.1@aar' + compile 'ai.api:sdk:1.7.6@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 cd8226e..1f2ce94 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.7.6-SNAPSHOT -VERSION_CODE=33 +VERSION_NAME=1.7.6 +VERSION_CODE=34 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.