Files
pda-web/app/src/main/assets/demo/index.html

12 lines
299 B
HTML
Raw Normal View History

<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>