Skip to content

eeethenQ/android-speech2text-watson

Repository files navigation

android-speech2text-watson

android speech2text app using ibm waston api

How to use

Get the Service Credentials

  1. Sign up for an IBM Cloud Account
  2. Create an instance of the Waston service you want to use and get your credentials
  3. Copy the apikey and url value from the instance

Add the Credentials

  1. Create an file app/src/main/res/values/credential.xml

  2. Copy the following lines into it

    <?xml version="1.0" encoding="utf-8"?>
    <resources>
        <string name="speech_text_iam_apikey">{apikey}</string>
        <string name="speech_text_url">{url}</string>
    </resources>

    where {apikey} and {url} are the values copied from the official site

  3. Prepare the audio file and modify the path located in app/src/main/java/com/example/ethen/myapplication2/MainActivity.java line 109 and line 110

About

android speech2text app using ibm waston api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages