0
点赞
收藏
分享

微信扫一扫

使情迁工具箱朗读语音的代码


首先必须进入语音界面

任意app执行下面代码

Intent action = new Intent();
action.setAction("cn.qssq666.systool.voice");
action.putExtra("voice_title", "" + str);
action.putExtra("voice_speed", "10");
String callBackIntent = "qq_voice_call_back";
action.putExtra("voice_callback", callBackIntent);
context.sendBroadcast(action);

voice_title 为朗读的文字
voice_speed 为朗读速度

举报

相关推荐

0 条评论