Googleをダウンロードするには"http://translate.google.com/translate_tts?tl=en&q=hello+world"
からmp3を翻訳しますか?Windowsの携帯電話7では、Googleの「http://translate.google.com/translate_tts?tl=en&q=hello+world」からmp3をダウンロードする方法を教えてください。
WebClient wc = new WebClient();
wc.Encoding = Encoding.UTF8;
wc.AllowReadStreamBuffering = true;
wc.OpenReadCompleted += WcOpenReadCompleted;
wc.OpenReadAsync(new Uri("http://translate.google.com/translate_tts?tl=en&q=hello+world", UriKind.Absolute));
void WcOpenReadCompleted(object sender, OpenReadCompletedEventArgs e)
{
}
、私はSystem.Net.WebException
を取得しています:
私は、次のコードを使用しています。
どうすればそのページからmp3ファイルを読むことができますか?
またはそのmp3ファイルを再生する方法はありますか?
と例外が何を言ってんのか? WebExceptionのエラーメッセージは、通常かなり良いです... –