Removing Fields from the Settings Screen

You can hard-code settings for the Settings screen so they do not appear on the Settings screen on the device.

The comment tag associated with the fields on the Settings screen is ANDROID_CUSTOMIZATION_POINT_DEFAULTSETTINGS.

  1. Open the CustomizationHelper.java file, which is located in the ...\HybridWebContainer\src\com\sybase\hwc folder.
  2. All of the settings screen customization functionality is grouped together under this comment in the file:
    //---------------------------------------------------------------------------
       // Setting screen customization methods
       //---------------------------------------------------------------------------
  3. To remove a field, set the associated property to false.
    For example, if you want to remove the user name field, change:
    public boolean isConnectionUserNameVisible()
    {      
    return true;
    }
    to
    public boolean isConnectionUserNameVisible()   
    {      
    return false;
    }