How do I use A开发者_JS百科ndroid TTS API's from the web page?
You can't in the Android Browser, but you can in a WebView
packaged in your app (as fiXedd alluded to).
Look into WebView#addJavascriptInterface for details on how you can expose a shim between a WebView
and a Java class (which could expose TTS functions).
精彩评论