Skip to content

Commit

Permalink
SDK Release 1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Danil Skachkov committed Oct 14, 2015
1 parent 5c0b186 commit 3b23d49
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0@aar'
compile 'ai.api:sdk:1.7.1@aar'
// api.ai SDK dependencies
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.google.code.gson:gson:2.3'
Expand Down Expand Up @@ -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.0@aar'
compile 'ai.api:sdk:1.7.1@aar'
// api.ai SDK dependencies
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.google.code.gson:gson:2.3'
Expand Down Expand Up @@ -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**. <br/>![Add dependency](docs/images/Dependencies.png)
5. In the opened dialog search **ai.api**, choose **ai.api:sdk:1.7.0** item and append `@aar` to the end of library name (see image) then click OK.<br/> ![Add dependency](docs/images/Dependencies2.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.<br/> ![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:
Expand Down
2 changes: 1 addition & 1 deletion docs/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0@aar'
compile 'ai.api:sdk:1.7.1@aar'
// api.ai SDK dependencies
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.google.code.gson:gson:2.3'
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.0
VERSION_CODE=26
VERSION_NAME=1.7.1
VERSION_CODE=27
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.
Expand Down

0 comments on commit 3b23d49

Please sign in to comment.