Customers often require a subset of the Android system Settings to be available to their users. This can be time consuming to identify the required intent to launch specific settings and to create a method to do this e.g. via a custom application. This article details how to easily create shortcuts to required settings from EHS with the assistance of this Shortcut Maker utility available on Play Method. Here's the steps below:
- Install the EHS configuration (which includes Shortcut Maker) via the internet-hosted StageNow barcode below :
- When installed , you should see a home screen similar to the one below :
- The default when accessing Settings is to show the search icon in top right - this allows access to any other system settings using search by name i.e. it does not enforce lockdown to a specific setting.
The Search icon process is named com.android.settings.intelligence and can be disabled using Mx AppMgr using the XML below or via the StageNow barcode below:
<characteristic version="8.0" type="AppMgr">
<parm name="Action" value="DisableApplication" />
<parm name="Package" value="com.android.settings.intelligence" />
Once this is done , the search icon will no longer be visible in any Settings screens:
- A settings intent can now be used to launch specific settings such as WiFi and Bluetooth without allowing access to other Settings via Search. To create the required intent , select ‘Add Apps’ from the EHS Tools menu in order to run Shortcut Maker. Then select Settings , scroll down to select Settings Activity , expand the list and locate the required setting (Wi-Fi Picker in this case) .
- The required Settings activity can be selected and tested in Shortcut Maker . Note that there is an option in this app to Create Shortcut. This will add the current shortcut to the EHS launcher but the shortcut will not be persistent i.e. if the resulting enterprisehomescreen.xml file is copied to another device, the shortcut will not work and will have to be recreated manually .