Androidで音声認識を使いたいのですが、中でもIBMのWatsonのSpeechToTextが気になっています。
そこで、こんなリンク内容を見つけどんなものなのか見てみたくAndroidStudioに取り込み作動確認をしてるのですがこのサイトの下にほかの方が書かれているように、「START RECORDING」をタップした直後に「OnClose」と表示されます。
何が原因なのかわからないのですが設定が足りてないのでしょうか?
ソースを取り込み、
app/src/main/assets下にusernameとpasswordを記述した「account.txt」は配置
「account.txt」の内容は以下のようにしています。
username=yyyyyyyy
password=xxxxxxx
ログ内容です。
07/19 01:29:19: Launching app
$ adb push C:\Users\nhs55022\AndroidStudioProjects\SpeechToText\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.lyricaloriginal.speechtotextsample2
$ adb shell pm install -r "/data/local/tmp/com.lyricaloriginal.speechtotextsample2"
pkg: /data/local/tmp/com.lyricaloriginal.speechtotextsample2
Success
$ adb shell am start -n "com.lyricaloriginal.speechtotextsample2/com.lyricaloriginal.speechtotextsample2.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Client not ready yet..
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。