Wednesday, June 11, 2008

Configure Active Sync with the Device Emulator

On the Emulator that came with eVC4, it was quite clear how to link to a folder on your hard drive. The first menu was "Folder Sharing". Any folder set there will appear as the Storage Card in the Emulator. Another way was to use the Windows CE Remote File Viewer.

With the new Emulator, there's no menu items for "Folder Sharing", and there's no Remote File Viewer. That's because the new Emulator acts much more like a real device. You need to configure Active Sync to share files between your desktop computer and the Emulator.

Open Active Sync. Choose File Connection Settings to open the dialog as shown below. Turn on the option to "Allow connections to one of the following" and select "DMA" from the droplist.

Active Sync Connection Settings



From the Visual Studio 2008 Tools menu, choose Device Emulator Manager. Right-click on the Emulator you are using, and choose "Cradle" from the context menu. This will connect the Emulator through Active Sync to your desktop computer.

Device Emulator Manager
So now if you open File Explorer on your desktop, the Emulator appears as Mobile Device just as if it were a real PDA connected via Active Sync! Copy files from your hard drive to the Mobile Device using copy/paste context menus in File Explorer.



Next question, can we save those files that were copied across so the next time the Emulator starts, the files will be there?

No comments: