Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
0
Reply
How to Speech recognition in phone gap not in cordova
Surya Prasanth
Nov 10 2016 9:21 AM
343
Reply
<body>
<script type="text/javascript">
var recognition = new webkitSpeechRecognition();
recognition.onresult = function (event) {
if (event.results.length > 0) {
q.value = event.results[0][0].transcript;
//q.form.submit();
}
}
</script>
<input type="search" id="q" name="q" size="60">
<input type="button" value="Click to Speak" onclick="recognition.start()">
<script type="text/javascript" src="cordova.js"></script>
</body>
I have tried this above code
I implemeted the following plugin in congig.xml
<plugin name="cordova-plugin-speechrecognition" source="npm" spec="~1.0.4"/>
is that correct?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
how to create native mobile application with visual studio
Which is better Technology for Mobile App Xamarin / Native