首先必须进入语音界面
任意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 为朗读速度