Can we use Android TTS from web pages?

How to use Android TTS API from a web page?

+3
source share
1 answer

You cannot in the Android browser, but you can in WebViewin your application (as indicated in the fiXedd file).

Look WebView # addJavascriptInterface for more information on how you can put the gasket between WebViewand Java class (which can lead to the fact that TTS function).

+5
source

Source: https://habr.com/ru/post/1730396/


All Articles