oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button

Using the Windows Mobile 5.0 Emulators in Visual Studio 2005
Pages: 1, 2, 3, 4, 5

Connecting to Different Emulators

In the last section, you saw how you can launch an emulator when you deploy an application. However, this is not always necessary. In Visual Studio 2005, there is now a Device Emulator Manager, which you'll find at Tools-->Device Emulator Manager (see Figure 4).

Figure 4
Figure 4. The Device Emulator Manager

In the Device Emulator Manager, you can right-click on the emulator that you want to launch and select Connect (see Figure 5). The selected emulator then is launched.

Figure 5
Figure 5. Selecting an emulator to launch

Connecting an Emulator to ActiveSync

While you can launch an emulator and try out all the various features available in the platform, a much more useful feature is the ability to connect to the outside world. You may want to install a third-party application onto the emulator and see how it runs, or you may just need to transfer some files into and out of the emulator, onto your PC.

To do so, you need to use ActiveSync to connect to the emulator. First, in ActiveSync, go to File-->Connection Settings, and in the options for Allow Connections to One of the Following, select DMA (see Figure 6).

Figure 6
Figure 6. Configuring the connection settings in ActiveSync

Next, in the Device Emulator Manager, right-click on the emulator that is currently running and select Cradle. Once this is done, you will notice that ActiveSync now detects a connection from the emulator. The Synchronization Setup Wizard will now appear (see Figure 7). Click Next to proceed.

Figure 7
Figure 7. The ActiveSync Synchronization Wizard

As usual, you can configure your synchronization options (see Figure 8). Click Next and then Finish.

Figure 8
Figure 8. Configuring the synchronization options

Pages: 1, 2, 3, 4, 5

Next Pagearrow