• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Speech synthesis API in android

Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im trying to add a voice-based chatbot URL in android's webview.
currently, I can able to provide voice input to the same, but in return,
I'm not able to get voice output, the URL is working as expected in the android chrome browser.
the only problem facing with a webview. URL uses the Speech Synthesis API.
any solution for this?.   or any other speech synthesis API works with the webview.
Saloon Keeper
Posts: 6520
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why WebView? It's severely limited in how far it can interact with the device; I doubt that there is a voice input/output solution that works with it.

If the web site that is displayed in the WebView is under your control, you can use a JavaScript interface to send the text to speak to native code in your app, and then use Android's speech synthesis API to speak it.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic