Share via


Home Configuration Service Provider Examples for OMA DM

4/8/2010

The Home Configuration Service Provider configures the Home screen on the device.

Note

This Configuration Service Provider is not available on Windows Mobile Professional and Windows Mobile Classic.

The following XML example can be used as a template to configure settings for the Home Configuration Service Provider.

To use these examples, you must replace the values as appropriate, and add the node as a child of the SyncBody node in an OMA DM provisioning file. For more information about the syntax of the provisioning file, see OMA DM Provisioning Files.

The following examples configures settings for the device Home screen, such as setting the color scheme (\Windows\luna.scheme.xml) and scheme (\Windows\full.home.xml). The values must be fully qualified paths of the files that are to be used on the device.

Getting Background Image

<Get>
   <CmdID>5001</CmdID>
   <Item>
      <Target><LocURI>./Vendor/MSFT/Home/HKCU/ControlPanel/Home/BgImage</LocURI></Target>
   </Item>
</Get>

Getting the Color Scheme

<Get>
   <CmdID>5001</CmdID>
   <Item>
      <Target><LocURI>./Vendor/MSFT/Home/HKCU/ControlPanel/Home/ColorScheme</LocURI></Target>
   </Item>
</Get>

Getting the Scheme File

<Get>
   <CmdID>5001</CmdID>
   <Item>
      <Target><LocURI>./Vendor/MSFT/Home/HKCU/ControlPanel/Home/Scheme</LocURI></Target>
   </Item>
</Get>

Replace Background Image

<Replace>
   <CmdID>1</CmdID>
   <Item>
      <Target><LocURI>./Vendor/MSFT/Home/HKCU/ControlPanel/Home/BgImage</LocURI></Target>
      <Meta>
         <Format xmlns="syncml:metinf">chr</Format>
         <Type xmlns="syncml:metinf">text/plain</Type>
      </Meta>
      <Data>\Windows\flower.jpg</Data>
   </Item>
</Replace>

Replace Color Scheme

<Replace>
   <CmdID>1</CmdID>
   <Item>
      <Target><LocURI>./Vendor/MSFT/Home/HKCU/ControlPanel/Home/ColorScheme</LocURI></Target>
      <Meta>
         <Format xmlns="syncml:metinf">chr</Format>
         <Type xmlns="syncml:metinf">text/plain</Type>
      </Meta>
      <Data>\Windows\guava.scheme.xml</Data>
   </Item>
</Replace>

Replace Scheme File

<Replace>
   <CmdID>1</CmdID>
   <Item>
      <Target><LocURI>./Vendor/MSFT/Home/HKCU/ControlPanel/Home/Scheme</LocURI></Target>
      <Meta>
         <Format xmlns="syncml:metinf">chr</Format>
         <Type xmlns="syncml:metinf">text/plain</Type>
      </Meta>
      <Data>\Windows\nomru.home.xml</Data>
   </Item>
</Replace>

See Also

Reference

Home Configuration Service Provider