The Orbita Voice Android SDK will enable the integration of Orbita Voice services across Android apps. Development of services such as audio processing, speech to text conversion from scratch can be time-consuming. For this reason, Orbita has developed the SDK that can integrate all the voice-related services that a business requires, for easy and quick implementation.
Table of Contents |
---|
Prerequisites
Android OS Version 21 or later (Lollipop or later)
...
Open Android Studio.
Create or open a project in which the SDK has to be installed.
To import the unzipped files, select “Import Module” from the Main menu – File – New.
Browse the address where you unzipped the file orbitaspeech.
After selecting the directory, please make sure the module name is “:orbitaspeech”.
Click Finish.
Repeat Step 2 to import the next module.
Browse the address where you unzipped the file sdk.
After selecting the directory, please make sure the module name is “:sdk”.
Click Finish.
You should now see both orbitaspeech and sdk modules in the current project directory.
Error Handling
The Gradle plugin version that is used for Orbita SDK is 0.8.2
If the Gradle version in Android studio is 8.3 or newer, Gradle sync will fail.
We will have to change the latest version of the le plugin. For that, select “build.gradle” from <Project name> directory – orbitaspeech – src.
Select the code ‘google.protobuf:protobuf-gradle-plugin:0.8.2’ (shown in the screenshot below).
Press alt+enter to get a dropdown menu.
Select “Change to <new version number>”.
Click on the “Try Again” link at the top of the tab to run Gradle sync.
Using the SDK
Login to Orbita services
...