Android 8 Keyboard settings

Solved Locked
R
Rafael Gold Contributor
Dänisches Bettenlager GmbH & Co. KG

Hi.

we have to set "Keyboardsettings -> Text correction-> autom. Case sensitive-> disabled " in Android 8.

Is there a way to set it with script or config file?

Edited 5 years ago
Android
ANSWERS
R
Rafael Gold Contributor
5 years ago (edited 5 years ago)

I wouldn't say we managed to do it, we only found a solution which i would say is a workaround. We switched to a different keyboard (Zebra Enterprise Keyboard) and then the issue (because of why we were looking for this setting) doesn't appear anymore.

We set it with Zebra mx.

Soti Package containing:

xml (with some additional settings): 

<wap-provisioningdoc>
<characteristic type="UiMgr" version="4.3" >
<parm name="InputMethodAction" value="1"/>
<characteristic type="InputMethodDetails">
<parm name="InputMethodOption" value="4"/>
<parm name="InputMethodPackageName" value="com.symbol.mxmf.csp.enterprisekeyboard"/>
<parm name="InputMethodClassName" value="com.android.inputmethod.latin.LatinIME"/>
</characteristic>
</characteristic>
<characteristic type="EnterpriseKeyboard">
<parm name="NavigationMode" value="1"/>
<parm name="SelectPreferTab" value="2"/>
<parm name="VoiceInputKey" value="2"/>
<parm name="ShowScanTab" value="2"/>
</characteristic>
</wap-provisioningdoc>

APK of Enterprisekeyboard

post script:

mxconfig /sdcard/enableEKB.xml
writesecuresetting -sec enabled_input_methods com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME:com.symbol.mxmf.csp.enterprisekeyboard/com.android.inputmethod.latin.LatinIME

Solution
MD
Matt Dermody Diamond Contributor
6 years ago
You could try using watchsettings to capture the config change and then writesecuresetting to apply it. You might struggle on Android 8 though because I’ve had mixed success on AEDO. You could also check Zebra’s MX to see it those configuration options exist. I use Zebras EKB in most cases and it has similar settings as configurable options that are deplorable as MX from SOTI.
R
Rafael Gold Contributor
6 years ago (edited 6 years ago)

I send "watchsettings on" via skript to device but got "Watchsettings is not supported by the device" in protocoll. 

In mx settings i didn't found the setting. A colleague is looking for it in StageNow.

We found an alternative: Enterprise Keyboard (doesn't need this setting) BUT hoe to set it via skript?

I tried this: https://discussions.soti.net/thread/android-8-and-gboard/

But nothing happened.

MD
Matt Dermody Diamond Contributor
6 years ago
EKB is activated and configured via MX that you generate using StageNow, export as an XML file, deliver to the device via a Package or File Sync rule, then apply using the mxconfig script.
R
Rafael Gold Contributor
6 years ago (edited 6 years ago)

Is there no way to activate it with a "normal" script as in the link i posted above (doesn't work on Android 7 AND Android 8 here)?

What makes me wondering: I read often is use "watchsettings on" (protocoll: watchsettings not supported), i saw now "setlocale de" or "setlocale de_DE" doen't work anymore too (Android 7 its working fine, Android 8 -> protocoll: "setlocale not supported").

Tried to set it with mx too but no changes were made.

R
Rafael Gold Contributor
6 years ago

Problem solved by using another Keyboard.

R
Rafael Gold Contributor
6 years ago (edited 6 years ago)

Is there a way to DISABLE a keyboard? 

I want to disable:

com.google.android.googlequicksearchbox/com.google.android.voicesearch.ime.VoiceInputMethodService

I thought it's Solved with (one line):

writesecuresetting -sec enabled_input_methods com.google.android.inputmethod.latin/

com.android.inputmethod.latin.LatinIME:

com.symbol.mxmf.csp.enterprisekeyboard/com.android.inputmethod.latin.LatinIME

but now Android 8 devices are not working as expected. The Google Speachassistant is already active (when i send the skript manually it looks like its working very shortly but instantly reset), someone an idea?

R
Rafael Gold Contributor
6 years ago

I disabled the VoiceInput for the EnterpriseKeyboard now and this is working as well as disabling Google SpeachAssistant. But if someone knows which has to be different at 

writesecuresetting -sec enabled_input_methods com.google.android.inputmethod.latin/

com.android.inputmethod.latin.LatinIME:

com.symbol.mxmf.csp.enterprisekeyboard/com.android.inputmethod.latin.LatinIME

for Android 8 (in Android 7 it's working fine) i would be glad to read.

MD
Matt Dermody Diamond Contributor
6 years ago

When you send the enabled_input_methods script like this, you are leaving both the Enterprise Keyboard AND the default keyboard both enabled.

writesecuresetting -sec enabled_input_methods com.google.android.inputmethod.latin/

com.android.inputmethod.latin.LatinIME:

com.symbol.mxmf.csp.enterprisekeyboard/com.android.inputmethod.latin.LatinIME

If you only want the Enterprise keyboard enabled then you should just have the script like this:

writesecuresetting -sec enabled_input_methods com.symbol.mxmf.csp.enterprisekeyboard/com.android.inputmethod.latin.LatinIME

Granted, this assumes that writesecuresetting is even working on your Android 8 Zebra devices which has been somewhat of a crapshoot recently. The SOTI Agent needs to have the permission granted in order to have the ability to apply secure settings. That permission is seemingly granted by the installation of the OEM Plugin which from experience seems to be inconsistent in doing so. SOTI staff has indicated that version 1.16 of the plugin is needed in order to truly resolve the issue of having that permission silently granted but as of now only version 1.6 is hosted on the downloads page and 1.12 is hosted within the Plugin Service of newer MobiControl instances. 

R
Rafael Gold Contributor
6 years ago

But enterprise keyboard seem to need the standard keyboard (if you want to set it manually, the enterprise keyboard is greyed (too) if you turn of the GBoard.

The only thing is, i don't want to have the Google Speachassistant enabled (my solution for now is, to disable the button in enterprise keyboard settings) but its still active.

R
Rafael Gold Contributor
6 years ago

To "Granted, this assumes that writesecuresetting is even working on your Android 8 Zebra devices which has been somewhat of a crapshoot recently. The SOTI Agent needs to have the permission granted in order to have the ability to apply secure settings. That permission is seemingly granted by the installation of the OEM Plugin which from experience seems to be inconsistent in doing so. SOTI staff has indicated that version 1.16 of the plugin is needed in order to truly resolve the issue of having that permission silently granted but as of now only version 1.6 is hosted on the downloads page and 1.12 is hosted within the Plugin Service of newer MobiControl instances. "

We have this problem (have to set it manually), is there really no way to get the 1.16 or is there an update planned for the 1.6, so its granted silently?

We found out, that a reboot of the device sometimes does help but not everytime.

KM
Kirsty Monk
6 years ago

There is a 1.12 plugin available that allows you to enable writeSecuresetting silently?

J
JVMOD@SOTI Platinum Contributor
5 years ago

Hello Rafael,

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,