新增加载条动画,新增错误页面展示
This commit is contained in:
12
app/src/main/assets/demo/index.html
Normal file
12
app/src/main/assets/demo/index.html
Normal file
@ -0,0 +1,12 @@
|
||||
<html lang="zh-CN">
|
||||
<p id='p'>hello world</p>
|
||||
<button onclick="VoiceEngine.startSpeaking('js调用安卓方法!')">调用安卓方法</button>
|
||||
|
||||
<script>
|
||||
function render(result){
|
||||
result+="<br/>"
|
||||
document.getElementById("p").innerHTML += result
|
||||
}
|
||||
</script>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user