Activating Google speech-to-text on a Zebra TC57

Solved
T
Theun
Mobicoach BV (MSP Account)

Is there an automated way to enable Google speech-to-text?

Our customer is using Zebra TC57's (Android 8.1.0, OEM 01-23-18.00-OG-U09-STD) and both Gboard as Google speech-to-text was disabled for security reasons. Instead of Gboard they're using Zebra's Enterprise Keyboard.

All's well except that they'd like speech-to-text back. Most of the devices are being used by truck drivers and they think it's better for them to talk to their devices instead of manually typing messages.

Using Zebra's StageNow, I'm able to put the microphone key back into their Enterprise Keyboard. But it's not functioning with Google speech-to-text disabled. StageNow doesn't seem to offer a way to enable it, so I tried identify_activity through MobiControl (15.0.2.1049)(Android enterprise agent version 14.2.0.1069) but I can't seem to find the command to switch it on.

Any ideas? What can I try?

5 years ago
Android
ANSWERS
T
Theun
4 years ago

I'm sorry to say we ended up activating Google speech-to-text manually on all 150 remaining devices. I haven't been able to find a way to automate this.

Solution
T
Theun
5 years ago

If I understand correctly, speech-to-text is part of the Google app, com.google.android.googlequicksearchbox. Specifically the com.google.android.googlequicksearchbox:interactor part. Yet if I enable this either through StageNow or through MobiControl, nothing changes in the Virtual Keyboard settings.

I tried enabling google.cloud.speech.v1, but that's basically the Google API for speech-to-text. So that didn't get me anywhere either.

RC
Raymond Chan Diamond Contributor
5 years ago

Are you using lockdown menu or application-run-control profile payload on your devices?

T
Theun
5 years ago

We're using a lockdown menu, yes.

T
Theun
5 years ago

Anybody an idea?

RC
Raymond Chan Diamond Contributor
5 years ago (edited 5 years ago)

Hi Theun,

With your lockdown menu enabled, have you add  Launch://com.google.android.googlequicksearchbox as the last item in your lockdown profile payload?  IF not,  add it and test if voice input is OK on your device.  Don't worry about having an extra item in the test, as there are simple tricks to handle the issue later.

T
Theun
5 years ago

Hi Raymond,

Thanks for replying. I did have Launch://com.google.android.googlequicksearchbox incorporated in the lockdown, but as the second-to-last entry. I switched it to the last spot. However, I'm not showing it as an icon in the lockdown though. Is that okay?

RC
Raymond Chan Diamond Contributor
5 years ago (edited 5 years ago)

It's OK not to show the item as an icon (i.e. no <MCDispImg#> in the html, but  <MCLink#> should be there).  The more important thing is that you should be able to find the mic (i.e. voice) input icon added on the soft keyboard.  Is that so?

T
Theun
5 years ago

Yes, the icon's available. It just doesn't do anything at the moment. It starts working when Google speech-to-text is enabled, which I've enabled manually on a bunch of devices (for now).

RC
Raymond Chan Diamond Contributor
5 years ago (edited 5 years ago)

The Google Speech-To-Text option in Settings of course needs to be enabled.   On Zebra devices, this may be automated with Zebra MX script.  You have to check the Zebra's documentation for details.  Maybe Matt (https://discussions.soti.net/profile/matt-dermody-1/) can give you a quick answer on this.

T
Theun
5 years ago

That was the original question, yes. Mind you, it's speech-to-text I'm after, not text-to-speech. Thanks for the help so far.

This customer's got about 145 devices left in the field with Google speech-to-text disabled, I've already been trying to get it to work through StageNow and mxconfig but without any progress I'm afraid.

J
JVMOD@SOTI
5 years ago

Hello Theun,

Thank you for your post, is it possible for you to share screenshot of the device where it says disabled for Speech to Text?

Regards,

MD
Matt Dermody Diamond Contributor
5 years ago

com.google.android.googlequicksearchbox is indeed needed for this to work. How was this disabled in the first place on the devices? Are you using an Application Blacklist or perhaps Zebra's GMS restricted mode? Are you using StageNow for enrollment or another method like DPC Identifier (afw#mobicontrol), NFC, or QR?

T
Theun
5 years ago

Zebra TC57

Thank you for your replies. Hereby a screenshot of the 'manage keyboards' screen. All devices were enrolled using StageNow and its barcodes and Google speech-to-text (or "Google spraakgestuurd typen" in Dutch) was disabled manually, before the devices were sent to the customer. It's not blacklisted.

Enabling com.google.android.googlequicksearchbox isn't enough to switch the above option back on. I'm hoping there's an intent or command I can send to the devices to sort this out, otherwise we'll have to try and manually enable speech-to-text on all affected devices through MobiControl's remote control. Also an option, it'll just take a while.

J
JVMOD@SOTI
4 years ago

Hello Theun,


Following up on this thread, were you able to resolve the issue? If yes, I would like to know what were the steps taken to resolve the issue and I can mark that as a Solution.

Regards,

Similar Discussions