Windows CE 5.0 DeviceEmulator BSP – II

PB DEVELOPER: Configure your Device Emulation device settings

 

9.       Open a Build Window: Build OS->Open Release Directory

10.    Make a backup of the following file: %_projectroot%\..\..\ExportSdk.sdkcfg

11.    Using your favorite editor, open this file (it’s simply XML text)

12.    Decide whether or not your SDK will support custom skins, then copy the appropriate XML snippet below:

 

a.       Custom Skin:

If you plan on having the device emulator reference a custom skin, copy the following XML snippet  [Note: Highlighted lines are lines you will be editing shortly]

 

<PropertyBag NAME="DeviceEmulation">

  <Property NAME="Default Image">1</Property>

  <PropertyBag NAME="1">

    <Property NAME="ImageName"></Property>

    <Property NAME="VMID"></Property>

    <Property NAME="Default Skin">DE 1</Property>

    <Property NAME="Height">480</Property>

    <Property NAME="Width">640</Property>

    <Property NAME="BitDepth">16</Property>

    <Property NAME="Memory">128</Property>

       <Property NAME="Bin Dest">Emulation\nk.bin</Property>

    <Property NAME="Fixed Screen">1</Property>

    <Property NAME="CpuName">ARMV4I</Property>

    <Property NAME="DPIX">96</Property>

    <Property NAME="DPIY">96</Property>

    <Property NAME="SupportRotation">0</Property>

    <Property NAME="Enabled">1</Property>

    <Property NAME="Bin Path" />

    <Property NAME="Ethernet">1</Property>

    <Property NAME="Ports">1</Property>

    <Property NAME="AdditionalParameters"> </Property>

    <PropertyBag NAME="Skins">

      <PropertyBag NAME="DE 1">

        <Property NAME="Display_Name">Device Emulator</Property>

        <Property NAME="Path" />

        <Property NAME="Destination">MySkin\MySkin.xml</Property>

        <Property NAME="DisplayHeight">480</Property>

        <Property NAME="DisplayWidth">640</Property>

      </PropertyBag>

    </PropertyBag>

  </PropertyBag>

</PropertyBag>

 

Leave a comment