BlackBerry® Device Simulator 4.1.0 for the BlackBerry® 8700 Series
Microsoft® .NET Framework 2.0
Microsoft .NET adaptive control architecture
To configure support for the BlackBerry Browser on Microsoft .NET 2.0, complete the following tasks:
Task 1 - Configure the BlackBerry Browser settings
To configure the default support settings for the BlackBerry Browser, complete the following:
On the BlackBerry Device Simulator, open the BlackBerry Browser.
Click the trackwheel, and select Options.
Select Browser Configuration. (A sample of the Browser Configuration window is shown below.)
Save these changes
Task 2 - Create a BlackBerry.browser configuration file
In Microsoft .NET 2.0, browser support is managed from within the application or by the defaults that are installed with the framework.
Here is a sample BlackBerry.browser configuration file that will support the feature set created in Task
Save the file in the Browsers directory (e.g. C:\\WINDOWS\Microsoft.NET\Framework\V2.0.50727\CONFIG\Browsers)
Task 3 - Register the new browser configurations with Microsoft ASP.NET
To use the Microsoft .NET 2.0 adaptive control architecture with the BlackBerry Browser, the new browser configuration must be registered.
To perform the registration, use the command line tool aspnet_regbrowsers.exe. This tool will create an assembly based on the information in the *.browser files and will install the assembly into the global assembly cache. Additional information on this tool can be found at the Microsoft Developer Network web site.
From a command prompt, enter the path to aspnet_regbrowsers.exe and use the -i switch to register the browser configurations. For example, C:\\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regbrowsers.exe -i
You should now be able to use Microsoft .NET 2.0 adaptive control architecture with the BlackBerry Browser.
From Microsoft Visual Studio®, choose New/Web Site and select ASP.NET Web Site as your template. Use the existing Microsoft .NET 2.0 controls to manage your web application.