Cellular Emulator Data Connections

原文:http://msdn.microsoft.com/en-us/library/bb158505.aspx

The Cellular Emulator can also provide GPRS connection simulation. Users can create simulated GPRS connections just as they can other types of connections. The access point name and the user name and password check boxes are not selected and, thus, they may be anything.

After the data connection has been made, the emulator will act as if it is connected to the network of the host machine. If some proxy settings are required for the host machine to set up connections to remote machines, these settings are also needed on the emulator.

Assume a network environment where HTTP proxy is needed to access external Web sites. Setting samples on Windows Mobile Standard and Windows Mobile Professional are provided in the following sections.

Windows Mobile Standard

  1. Enter Start-Settings-Connections-GPRS-Menu-Add. Create a GPRS connection by using the settings as follows:
    • Name: PPP
    • Connects to: WAP Network
    • Access Point: Some Access Point Name
    • User Name: Just leave blank for anonymous configuration
    Bb158505.b6a759a5-177b-4d73-bc59-b97a0d936516(en-us,MSDN.10).gif
  2. (Optional) Enter Start-Settings-Connections-Proxy-Menu-Add. Create a proxy using the following settings.
    • Description: Proxy
    • Connects from: WAP Network
    • Connects to: The Internet
    • Address: The proxy in the specified user's network
    Bb158505.9a3f16a7-17e6-4286-a143-898208a27aae(en-us,MSDN.10).gif
  3. Enter Start-Settings-Connections-Menu-Advanced.
    • Set Internet connection to PPP.
    • Set WAP connection to PPP.
    • Leave the other settings as automatic.
  4. Enter Internet Explorer Mobile, and choose Menu-Tools-Options-Connections, and then configure the Internet Explorer Mobile settings:
    • Automatically detect settings: CHECKED
    • Select network: The Internet
    Bb158505.7786aa56-c239-4762-83e8-5191076e1abd(en-us,MSDN.10).gif
  5. Choose the Internet Explorer Mobile icon by using the arrow key on the keyboard.
  6. Browse freely by using Windows Mobile.
Windows Mobile Professional

  1. If the user's computer uses a proxy to access the Internet, the user must set up a Work Connection on the Windows Mobile device; otherwise the user can set up an Internet connection.
    Bb158505.e763e8bd-6a8d-42b7-9d9e-be5e4e458758(en-us,MSDN.10).gif
  2. Set up a GPRS connection. The Access point and user name fields can be empty.
    Bb158505.538500d3-5a08-4774-8934-11d73b9ae11d(en-us,MSDN.10).gif
  3. (Optional) Set up a proxy. This should be the full name of a working proxy required by the corporate network.
    Bb158505.3c07fc78-284f-49b9-9242-ded1699b967b(en-us,MSDN.10).gif
  4. Open Internet Explorer Mobile, and browse to a Web site.
    Bb158505.b17df26d-3a25-41e1-889a-3fe91fd18f37(en-us,MSDN.10).gif

你可能感兴趣的:(Connection)