Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The HomeConfiguration 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 HomeConfiguration 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

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

Getting the Color Scheme

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

Getting the Scheme File

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

Replace Background Image

Copy Code
<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

Copy Code
<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

Copy Code
<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