Setting SOTI Surf as the Default Browser on Android Devices

About this task

You can use a device script to set SOTI Surf as the default web browser on the following Android Enrollment profiles:

  • Android Enterprise-Work Managed and Android Enterprise-Work Profile
  • Android Enterprise-Cope Profile
  • Android Classic Profile
  • Samsung ELM Profile
Note: The following limitations exist for Android Enterprise devices:
  • Device settings will not display SOTI Surf or any other browser as the default browser even after you set the default browser.
  • The device end user will not be able to override the default browser app if there is a default browser selected after installation of SOTI Surf or any other browser.
  • The device end user will be able to override the default browser app if there is a default browser selected before installation of SOTI Surf or any other browser.

Procedure

  1. Review the script instructions in Sending Scripts to Devices, select the devices you want to send the script to, then click the Send Script icon in the Device Actions menu bar.
  2. Select the Legacy script type.
  3. Enter the appropriate script to set or remove SOTI Surf as the default:
    Android Enrollment Profile Script to set SOTI Surf as default browser Script to remove SOTI Surf as default browser
    Android Enterprise-Work Managed and Android Enterprise-Work Profile set_default_browser <packageName>/<activity>

    Example:

    set_default_browser net.soti.surf/net.soti.surf.ui.activities.SplashActivity
    clear_preferred_activities <packageName>

    Example:

    clear_preferred_activities net.soti.surf
    Android Enterprise-Cope Profile insideagent set_default_browser <packageName>/<activity>

    Example:

    insideagent set_default_browser net.soti.surf/net.soti.surf.ui.activities.SplashActivity
    clear_preferred_activities <packageName>

    Example:

    insideagent clear_preferred_activities net.soti.surf
    Android Classic Profile set_default_browser <packageName>

    Example:

    set_default_browser net.soti.surf
    clear_default_browser
    Samsung ELM Profile default_application set <intentString> <ComponentName>

    Example:

    default_application set OPEN_URL_TASK net.soti.surf/net.soti.surf.ui.activities.SplashActivity
    default_application remove <intentString> <ComponentName>

    Example:

    default_application remove OPEN_URL_TASK net.soti.surf/net.soti.surf.ui.activities.SplashActivity
  4. Choose a delivery method for the script from the Delivery dropdown list.
  5. Click Send Script.