privateString search_text="petroleum"//petroleum替换成你想要查的单词发音//获取百度翻译单词发音publicvoidgetTts(ImageButton uk_button,ImageButton en_button)throws Exception{String uk=String.format("https://fanyi.baidu.com/gettts?lan=%s&text=%s&spd=3&source=web","uk",search_text);String en=Stri...