|
|
|
@ -97,7 +97,8 @@ public class WebViewActivity extends BaseActivity { |
|
|
|
static final int TYPE_HINT_PASSWORD = 3;//隐藏密码输入框
|
|
|
|
static final int TYPE_START_SERVER = 4;//重新启动web服务
|
|
|
|
static final int TYPE_SHENG_HTML_MAG = 5;//返回接口请求值给h5
|
|
|
|
static String HtmlUrl = "http://127.0.0.1:8080/index.html";//webServer服务地址
|
|
|
|
//static String HtmlUrl = "http://127.0.0.1:8080/index.html";//webServer服务地址
|
|
|
|
static String HtmlUrl = "http://192.168.0.109:5173/"; |
|
|
|
int time = 0; |
|
|
|
String interfaceRequestData=""; |
|
|
|
// 语音听写对象
|
|
|
|
@ -111,8 +112,6 @@ public class WebViewActivity extends BaseActivity { |
|
|
|
private boolean isrun = false; // 是否正在听写
|
|
|
|
private KDXFUtil kxdfttsUtil; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Handler handler = new Handler() { |
|
|
|
@SuppressLint("HandlerLeak") |
|
|
|
@Override |
|
|
|
|