使用API​​密钥的Android Ispeech休息请求失败。任何的想法?

时间:2012-02-19 12:15:35

标签: android api text-to-speech

我的API密钥有问题(我使用的是iSpeech SDK(免费)(适用于Android)和REST客户端的Mobile Production)。我收到此API密钥错误:

"result=error&code=1&message=Invalid+API+key+or+key+not+provisioned+for+use+on+this+production+server.+Please+check+your+key+settings+at%3a+http%3a%2f%2fwww.ispeech.org%2f"

但是,当我使用"developerdemokeydeveloperdemokey"代替我的API密钥时,效果很好。你能帮帮我吗?

在manifest.xml中:

<activity android:name="org.ispeech.iSpeechFramework" android:theme="@android:style/Theme.Translucent" />
        <meta-data android:name="ispeech_api_key" android:value="my_api_key" />
        <meta-data android:name="debug" android:value="false" />

我的要求网址:

String url="http://api.ispeech.org/api/rest?apikey=my_api_key&action=convert&text=something&voice=usenglishfemale&format=mp3&frequency=44100&bitrate=128&speed=1&startpadding=1&endpadding=1";

0 个答案:

没有答案
相关问题