Testing Windows Mobile applications without a physical device.

by Mobile Packager Team 19. February 2009 15:57

To test your Windows Mobile applications and installations that you create with Mobile Packager, you don't need to use a physical device. Instead, you can use the standalone device emulator which is provided as a free download from Microsoft. You also don't need to have Microsoft Visual Studio to use the standalone device emulator. The emulator is also available localized in several languages. The current version of the Microsoft Device Emulator 3.0 was released in January of this year and can be downloaded here.

In addition to the standalone emulator itself, you will need to install emulator device images that will be used by the emulator. Emulator device images for the different localizations can be downloaded from here. To have a complete device emulation you will also need to install ActiveSync for Windows XP or Windows Mobile Device Center for a Windows Vista.

After you complete installing the above components, you can launch the device emulator manager "dvcemumanager.exe" that is usually located under "C:\Program Files\Microsoft Device Emulator\1.0\".


After you launch the device emulator manager you, you can connect to a particular device emulator image by selecting "right-click -> Connect" menu option. This will open the device emulator.


After connecting to the emulator device, you can cradle this device (as you would do with your physical device). To cradle the emulator device, select the "Cradle" menu option that is displayed when you right click on a connected device emulator item listed in the device emulator manager.


After cradling, you can copy files to the device emulator either browsing to he mobile device using windows explorer as you would navigate to any other folder. You can also specify a shared folder for the device emulator by going to the "File -> Configure" menu option on the device emulator. 


On the device emulator configuration window, you can specify a shared folder. This will allow you to browse to the shared folder from the device emulator without the need to copy a file to the device emulator. For example, when using Mobile Packager, you can make this shared folder to point to the "Mobile" output folder of your current project. This way you can simply navigate to the "Storage Card" folder from within the device emulator. You don't even need to cradle if you access a shared folder using this method.


Voila !! You can now test your applications or launch your setup files without the need for a physical device.


 It is almost as good as a real device. Actually, it is much better than a physical device if you are simply testing your Mobile Packager setup files.

Comments are closed

All Right Reserved © 2007-2013 Mobile Packager.