5 Replies Latest reply on Jul 30, 2015 7:22 AM by John Thurmes

    Disable PTT Express via SOTI

    Kenneth Crafton

      I have a customer that does not want to use PTT Express.  Even though they don't have PTT enabled, the PTT Express icon still appears in red in the system tray (see screen shot below).  They customer doesn't want end users playing around with the application so hey would like to completely disable the icon from appearing. 

       

      screenshot.jpg

       

      You can disable the icon via the GUI on the device by following these steps:

      1. Go into Settings, then Apps
      2. Select All to display the list of all applications on the device
      3. Scroll down and select PTT Express
      4. Click on the Disable button

      screenshot.jpg

       

       

      The following procedure will disable the PTT Express icon via SOTI:

       

      NOTE:  This procedure has been verified on the MC40 Jellybean build 051415

       

      1.  Retrieve the /enterprise/device/settings/ptt/ptt_settings.xml file off the device.  You may need to go into File Browser on the device and copy this file to a location where it can be retrieved (i.e. /sdcard)

      2.  Edit the xml file to include the following additional lines:

      <setting name="disablePTTClient">true

      <description>Disable PTT client. If set to true PTT service will not be started and application is completely disabled.</description>

      </setting>

      Screen Shot 2015-06-25 at 10.15.32 AM.png

      3.  Create a SOTI package to deploy the modified xml file.  IMPORTANT:  SOTI will need to deploy the file to a temporary location and then copy it to /enterprise/device/settings/ptt/.  The package should do the following:

      1. Install ptt_settings.xml file in a temporary location (i.e. /sdcard)
      2. Execute a Post Install Script to copy the xml file into the /enterprise/device/settings/ptt/ folder.  The command line in the SOTI posti.cmd file would be "copy /sdcard/ptt_settings.xml /enterprise/device/settings/ptt/ptt_settings.xml".  See the screen shot below on how the package should be configured.

      Screen Shot 2015-06-25 at 10.43.51 AM.png

       

       

      If you would like to re-enable PTT Express via SOTI, do the following:

       

      1.  Retrieve the /enterprise/device/settings/ptt/ptt_settings.xml file off the device.  You may need to go into File Browser on the device and copy this file to a location where it can be retrieved (i.e. /sdcard)

      2.  Edit the xml file to modify the following lines:

      <setting name="disablePTTClient">false

      <description>Disable PTT client. If set to true PTT service will not be started and application is completely disabled.</description>

      </setting>

      Screen Shot 2015-06-25 at 11.07.33 AM.png

      3.  Create a SOTI package to deploy the modified xml file.  IMPORTANT:  SOTI will need to deploy the file to a temporary location and then copy it to /enterprise/device/settings/ptt/.  The package should do the following:

           1.  Install ptt_settings.xml file in a temporary location (i.e. /sdcard)

           2.  Execute a Post Install Script to copy the xml file into the /enterprise/device/settings/ptt/ folder.  The device will then need to be rebooted so the XML file will be read again to enable the PTT Express application.  The command lines in the SOTI posti.cmd file would be:

                   copy /sdcard/ptt_settings.xml /enterprise/device/settings/ptt/ptt_settings.xml

                     reset

           See the screen shot below on how the package should be configured.

      Screen Shot 2015-06-25 at 11.12.18 AM.png