From b98224fe56ead2b92f0cc41fe24e4c77d1188dff Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期一, 30 十二月 2019 18:11:25 +0800 Subject: [PATCH] 修改speaker --- lib/src/main/java/com/anyun/exam/lib/RemoteService.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/lib/src/main/java/com/anyun/exam/lib/RemoteService.java b/lib/src/main/java/com/anyun/exam/lib/RemoteService.java index 57565de..af461da 100644 --- a/lib/src/main/java/com/anyun/exam/lib/RemoteService.java +++ b/lib/src/main/java/com/anyun/exam/lib/RemoteService.java @@ -162,6 +162,12 @@ return sharedPreferences.getInt(key, 0); } + public void TextSpeak(String text) { +/* if (speaker != null) { + speaker.speak(text); + }*/ + } + // Used to load the 'native-lib' library on application startup. static { System.loadLibrary("native-lib"); -- Gitblit v1.8.0