Deploy mobile applications to an emulator using VS2005

From esri

Article ID: 32026
Software:  ArcGIS Server 9.2
Platforms:  Windows XP, 2003Server

Summary
It is critical to test your mobile application during development. While testing is relatively straightforward when building an application for the Windows XP platform, it can be considerably more difficult to test applications built for Windows Mobile devices.

Visual Studio 2005 includes a set of device emulators that you can deploy your Windows Mobile applications to and test against during the development process.

The following are the steps you need to follow to connect an emulator to your pc.



Procedure
To use a device emulator to test ArcGIS Mobile applications, it is necessary to change the device network settings so that you can connect to web services published by ArcGIS Server.


Follow these steps:
1. In Visual Studio, click Device Emulator manager from the Tools menu and then from within the manager right click and connect to an emulator image.
2. Once the emulator starts, tap Settings from the Start menu in the emulator.
3. Tap the Connections tab from the Settings dialog.
4. Tap on the Connections icon.
5. Select the Advanced tab.
6. Click on Select Networks.
7. In the Network Management window change the Internet connection setting from My ISP to My Work Network.
8. In the main emulator window menu, click Configure from the File menu item. This will open an emulator properties window.
9. Switch to Network Properties tab and make sure the network adapter is bound to the connected network card.
10. In the Device Emulator Manager, right click on the connected emulator and click Cradle. This will open the ActiveSync window.
11. In the ActiveSync window select from menu Connection Settings.
12. In the connection combo box change the value from automatic to Work Network.
13.If using ActiveSync 4.1, open the network connections window and find the entry for Windows Mobile device.

Make sure that the TCP/IP stack is checked.


Testing the connection:
To make sure you can connect to a mobile Web service, open Pocket Internet Explorer (PIE) on the emulator and type in a URL that you want your mobile application to connect to, followed by the "?wsdl" suffix. An example: http://mobile.mycompanyname.com/ArcGIS/services/MobileMap/MapServer/MobileServer?wsdl.

你可能感兴趣的:(windows,Web,XP,mobile,Windows Mobile)