The sample application was created with Microsoft Visual Studio 2005, is written in C#, and targets the .NET Compact Framework. The sample application shows how to deploy confirmation settings on a device running Windows Mobile Professional and Windows Mobile Standard by using XML Web services, the Configuration Manager, and its configuration service providers.
The purpose of the sample application is to show that you can use a device running Windows Mobile Professional and Windows Mobile Standard to retrieve configuration information from a server in the correct format, and you can apply that configuration locally to the device. Figure 1 shows how you can set up an e-mail account using this technique.
Figure 1. The Get E-Mail Settings command on a device running Windows Mobile Professional
When the sample application is started, the user first enters the e-mail address in the E-Mail box, and then taps the Get E-Mail Settings command. The sample application makes a request to an XML Web service for the e-mail settings information. When that information is returned, the device is configured using those settings. A new e-mail account is set up, and after you open the messaging application (by tapping Start, and then by tapping Messaging), you can use the new account to send and receive e-mail messages.
Several predefined links have also been set up on the server, and the Get Links command fills the Links list with the available links to install. When you select a link in the list, the Install Link command becomes available, as shown in Figure 2.
Figure 2. The Install Link command on a device running Windows Mobile Professional
When you choose this command, the sample application makes another call to the same XML Web service, but this time it retrieves the information about the link. The link is installed as a favorite in the Internet browser, and you can use the new link in Internet Explorer (by tapping Start, and then by tapping Internet Explorer).
Figure 3 shows how the e-mail setup looks on a device running Windows Mobile Standard.
Figure 3. The Get E-Mail Settings command on a device running Windows Mobile Standard
The functionality is identical to the device running Windows Mobile Professional. When you open the messaging application (by choosing Start, and then choosing Messaging), you can use the new account to send and receive e-mail messages.
By choosing the Get Links command, the list of links appears on another screen. Again, when you select a link in the list, the Install Link command becomes available, as shown in Figure 4.
Figure 4. The Install Link command on a device running Windows Mobile Standard
Again, choosing the Install Link command makes the link available in the Internet browser. You can use the new link in Internet Explorer (by choosing Start, and then choosing Internet Explorer).
Even though this sample application is somewhat simplified, there are many possibilities to make configuration information available to users using these techniques.