SUMMARY
This article describes how to modify the Machine.config file to add the following third-party devices, which will be included in a future Device Update release for the Microsoft Mobile Internet Toolkit (MMIT):
- NEC N504i
- Sharp SH251i
- Panasonic P211i
- Panasonic P504i
- Sharp J-SH08
This article assumes that you already installed the MMIT Device Update 1. To install the MMIT Device Update, visit the following Microsoft Developer Network Web site:
NOTE:
- These devices are officially supported until Microsoft includes them in a Device Update release.
- As with other modifications made to the "browser capabilities" section of the Machine.config file, these changes are deleted when you install the next Device Update.
- Microsoft recommends that you make a backup copy of the Machine.config file so that you can delete the changes that are described in this article, if you have to.
The first four devices listed -- NEC N504i, Sharp SH251i, Panasonic P211i, and Panasonic P504i -- are DoCoMo devices. You can add their settings to the existing "browser capabilities" section for DoCoMo devices. To locate this section, search for the following text string in the Machine.config file:
match="(DoCoMo/
This section of the "browser capabilities" section contains many devices that are each identified inside the <case> and </case> elements. In some instances, the <case> element may contain a <filter> element, which in turn contains additional <case> elements. To add support for the additional DoCoMo devices in this article, scroll down to the last device setting in the "DoCoMo" section of the "browser capabilities" section. If you make no changes to the "browser capabilities" section in the Machine.config file, this should be the setting for the SH821i device. Add the following settings after the </case> tag for this device.
<case
match="N504i"
with="${deviceID}">
isColor = "true"
requiredHtmlAdaptiveErrorReporting="false"
screenBitDepth = "16"
screenCharactersHeight = "10"
screenCharactersWidth = "20"
screenPixelsHeight = "180"
screenPixelsWidth = "160"
supportsRedirectWithCookie = "false"
</case>
<case
match="SH251i"
with="${deviceID}">
isColor = "true"
requiresHtmlAdaptiveErrorReporting = "false"
requiresLeadingPageBreak = "true"
screenBitDepth = "16"
screenCharactersHeight = "10"
screenCharactersWidth = "20"
screenPixelsHeight = "130"
screenPixelsWidth = "120"
supportsRedirectWithCookie = "false"
</case>
<case
match="P211i"
with="${deviceID}">
isColor = "true"
requiresHtmlAdaptiveErrorReporting = "false"
screenBitDepth = "16"
screenCharactersHeight = "8"
screenCharactersWidth = "20"
screenPixelsHeight = "130"
screenPixelsWidth = "120"
supportsImageSubmit = "true"
supportsRedirectWithCookie = "false"
</case>
<case
match="P504i"
with="${deviceID}">
isColor = "true"
requiresContentTypeMetaTag = "false"
requiresHtmlAdaptiveErrorReporting = "false"
screenBitDepth = "16"
screenCharactersHeight = "9"
screenCharactersWidth = "22"
screenPixelsHeight = "144"
screenPixelsWidth = "132"
supportsImageSubmit = "true"
supportsRedirectWithCookie = "false"
</case>
For the Sharp J-SH08 device, you must add the configuration settings to the corresponding area in the "J-PHONE" section of the browser capabilites. To find the correct location, search for
J-SH\d+. Add the following after the </case> tag for the J-SH07$ device.
<case match="J-SH08" with="${deviceModel}">
isColor = "true"
requiresHtmlAdaptiveErrorReporting = "false"
requiresLeadingPageBreak = "true"
screenBitDepth = "16"
screenCharactersHeight = "10"
screenCharactersWidth = "20"
screenPixelsHeight = "117"
screenPixelsWidth = "120"
supportsDivNoWrap = "false"
supportsInputIStyle = "true"
supportsRedirectWithCookie = "false"
</case>
REFERENCES
You can download the Device Update 2 when it is released. To download the update, visit the following Microsoft Developer Network (MSDN) Web site:
The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.