Before I begin to explain how to program, I'll explain how to use the emulator to browse asp.net mobile Web pages. Because different mobile devices have a big gap in the level of support for ASP.net mobile programs, the results show differently. Here I will use two different simulators to display the mobile page, in the actual development process also pay attention to ASP.net mobile Web pages in different devices display effect.
Now we compile the example shown in the previous section directly in Visual Stduio 2005, which will automatically use IE for page rendering with the following effect:
The simulator used in the development process is the Pocket PC emulation device with Openwave V7 and Visual Studio 2005. Openwave V7 can be downloaded on the http://developer.openwave.com/dvl/tools_and_sdk/phone_simulator/page (user registration is required, but the simulator is free).
After downloading and installing, open the Openwave V7 Simulator, the interface appears as follows:
In the address bar of the left window, enter the mobile page URL generated by Visual Stduio 2005, which is the effect shown by the Openwave V7 emulator:
The Openwave V7 Emulator Console window on the right displays information about the page, including the URL of the mobile page, the generated WAP file, and the IP and port on which the server resides. For details, please refer to Openwave V7 's Help file, which is not described in detail.