Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishna Vemulavada
/
vera_2.1_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ac4279a9
authored
Apr 18, 2018
by
Kunj Gupta
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fixed - Mobile app in android need to wait for sometime to completely listen user.
parent
a14311ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/src/main/java/com/vsoft/servicenow/speechRecognizer/DroidSpeech.java
app/src/main/java/com/vsoft/servicenow/speechRecognizer/DroidSpeech.java
View file @
ac4279a9
...
@@ -129,7 +129,7 @@ public class DroidSpeech {
...
@@ -129,7 +129,7 @@ public class DroidSpeech {
speechIntent
=
new
Intent
(
RecognizerIntent
.
ACTION_RECOGNIZE_SPEECH
);
speechIntent
=
new
Intent
(
RecognizerIntent
.
ACTION_RECOGNIZE_SPEECH
);
speechIntent
.
putExtra
(
RecognizerIntent
.
EXTRA_LANGUAGE_MODEL
,
RecognizerIntent
.
LANGUAGE_MODEL_FREE_FORM
);
speechIntent
.
putExtra
(
RecognizerIntent
.
EXTRA_LANGUAGE_MODEL
,
RecognizerIntent
.
LANGUAGE_MODEL_FREE_FORM
);
speechIntent
.
putExtra
(
RecognizerIntent
.
EXTRA_CALLING_PACKAGE
,
context
.
getPackageName
());
speechIntent
.
putExtra
(
RecognizerIntent
.
EXTRA_CALLING_PACKAGE
,
context
.
getPackageName
());
speechIntent
.
putExtra
(
RecognizerIntent
.
EXTRA_PARTIAL_RESULTS
,
tru
e
);
speechIntent
.
putExtra
(
RecognizerIntent
.
EXTRA_PARTIAL_RESULTS
,
fals
e
);
speechIntent
.
putExtra
(
RecognizerIntent
.
EXTRA_MAX_RESULTS
,
Extensions
.
MAX_VOICE_RESULTS
);
speechIntent
.
putExtra
(
RecognizerIntent
.
EXTRA_MAX_RESULTS
,
Extensions
.
MAX_VOICE_RESULTS
);
if
(
dsProperties
.
currentSpeechLanguage
!=
null
)
{
if
(
dsProperties
.
currentSpeechLanguage
!=
null
)
{
// Setting the speech language
// Setting the speech language
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment