Skip to Content
Author's profile photo Shahid Mohammed Syed

Chrome Speech Input in SAPUI5/HANA Application – Exp:3

Using speech webkit for an Input field to accept the voice command for an event to trigger in SAPUI5 Application.

Demo Video:

var vlayout = new c.layout.MatrixLayout();

var vpanel = new c.Panel().setText(“Quick Links”);

  • vpanel.addContent(new c.Button(“myButton”,{

text: “Click here to Navigate thru Speech”,

tooltip: “please click me”,

press: function() {

$(‘#myButton’).after(‘<input id=”mic” onwebkitspeechchange=”transcribe(this.value)” x-webkit-speech>’);

function transcribe(words) {

  1. document.getElementById(“mic”).value = words;

if (words == null) {

alert(“No keyword assigned-” + words );

} else if (words == “1”) {

  • oShell.setSelectedWorksetItem(“wi_home_guest”);
  • oShell.setContent(getContent(“wi_home_guest”));


Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Rama Shankar
      Rama Shankar

      Cools Stuff - Creating Innovation - Thanks for Sharing! 🙂 Rama

      Author's profile photo Pratik Modh
      Pratik Modh


      Can you share some code or github link for Speech recognition in SAP Ui5?