Using Multiple Hybrid Web Containers on the Same Windows Mobile Device

You can configure two or more Hybrid Web Containers on a Windows Mobile device.

Each container can be installed separately on the same device, can connect to a different server, and can be used independently.
  1. Create a Visual Studio project for each container.
  2. For each container, edit the project's config.properties file and specify a unique AppID property for your container.
    For example: AppID="HWC1".
    Note: Do not change the AppID property at runtime.
  3. Rebuild the project, as described in Building the Windows Mobile Hybrid Web Container Using the Provided Source Code.
  4. Configure the container's CAB build. In each project, edit the OneBridge_ppc.inf file and customize these properties:
    AppName – provide a unique name for each container.
    InstallDir – enter the path where the container is to be installed on the device. Each container must have a different path.
    Shortcuts – declare a shortcut that launches the container application. Users can change shortcut names. Shortcut names do not have to be unique.
    Here are sample customized lines in OneBridge_ppc.inf:
    [CEStrings]
    AppName = "HWC"
    InstallDir=%CE1%\Sybase\%AppName%
    ...
    [Shortcuts.All]
    Hybrid Web Container,0,HWCA.exe,%CE11%		 
    
  5. Build the CAB file for each container, as described in Packaging a CAB File.