Microsoft KB Archive/329991

= HOW TO: Add a BrowsCap Section for New Devices Included in a Future Device Update Release =

Article ID: 329991

Article Last Modified on 10/27/2002

-

APPLIES TO


 * Microsoft Mobile Internet Toolkit 1.0

-



This article was previously published under Q329991



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:

Microsoft Mobile Internet Toolkit Device Updates

http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/955/msdncompositedoc.xml

NOTE:
 * These devices are officially supported until Microsoft includes them in a Device Update release.
 * As with other modifications made to the &quot;browser capabilities&quot; 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 &quot;browser capabilities&quot; section for DoCoMo devices. To locate this section, search for the following text string in the Machine.config file: match=&quot;(DoCoMo/ This section of the &quot;browser capabilities&quot; section contains many devices that are each identified inside the and elements. In some instances, the element may contain a element, which in turn contains additional elements. To add support for the additional DoCoMo devices in this article, scroll down to the last device setting in the &quot;DoCoMo&quot; section of the &quot;browser capabilities&quot; section. If you make no changes to the &quot;browser capabilities&quot; section in the Machine.config file, this should be the setting for the SH821i device. Add the following settings after the tag for this device.     isColor = &quot;true&quot;    requiredHtmlAdaptiveErrorReporting=&quot;false&quot;    screenBitDepth = &quot;16&quot;    screenCharactersHeight = &quot;10&quot;    screenCharactersWidth = &quot;20&quot; screenPixelsHeight = &quot;180&quot; screenPixelsWidth = &quot;160&quot; supportsRedirectWithCookie = &quot;false&quot;  isColor = &quot;true&quot; requiresHtmlAdaptiveErrorReporting = &quot;false&quot; requiresLeadingPageBreak = &quot;true&quot; screenBitDepth = &quot;16&quot; screenCharactersHeight = &quot;10&quot; screenCharactersWidth = &quot;20&quot; screenPixelsHeight = &quot;130&quot; screenPixelsWidth = &quot;120&quot; supportsRedirectWithCookie = &quot;false&quot;

 isColor = &quot;true&quot; requiresHtmlAdaptiveErrorReporting = &quot;false&quot; screenBitDepth = &quot;16&quot; screenCharactersHeight = &quot;8&quot; screenCharactersWidth = &quot;20&quot; screenPixelsHeight = &quot;130&quot; screenPixelsWidth = &quot;120&quot; supportsImageSubmit = &quot;true&quot; supportsRedirectWithCookie = &quot;false&quot;

 isColor = &quot;true&quot; requiresContentTypeMetaTag = &quot;false&quot; requiresHtmlAdaptiveErrorReporting = &quot;false&quot; screenBitDepth = &quot;16&quot; screenCharactersHeight = &quot;9&quot; screenCharactersWidth = &quot;22&quot; screenPixelsHeight = &quot;144&quot; screenPixelsWidth = &quot;132&quot; supportsImageSubmit = &quot;true&quot; supportsRedirectWithCookie = &quot;false&quot; For the Sharp J-SH08 device, you must add the configuration settings to the corresponding area in the &quot;J-PHONE&quot; section of the browser capabilites. To find the correct location, search for J-SH\d+. Add the following after the tag for the J-SH07$ device.

 isColor = &quot;true&quot; requiresHtmlAdaptiveErrorReporting = &quot;false&quot; requiresLeadingPageBreak = &quot;true&quot; screenBitDepth = &quot;16&quot; screenCharactersHeight = &quot;10&quot; screenCharactersWidth = &quot;20&quot; screenPixelsHeight = &quot;117&quot; screenPixelsWidth = &quot;120&quot; supportsDivNoWrap = &quot;false&quot; supportsInputIStyle = &quot;true&quot; supportsRedirectWithCookie = &quot;false&quot;

