Christopher Fairbairn
Hi,
uchouax wrote: |
I am trying to run few application on the window mobile 5.0 Emulator.
For example when I deploy HomeScreen example (provided with SDK) it doesnt show up on the Emulator.
Similarly if I deploy any sample application on the emulator from VS, I can't locate it. Only when I run it it shows up on the emulator screen.
Is there a way I can deploy files on the emulator, locate and execute them (The way its done in Series 60 Emulator) | |
The samples with the SDK typically are not designed to be installed outside of the development envrionment.
When you deploy them from Visual Studio they will be downloaded into a subdirectory within \Program Files on the PDA (emulator). Visual Studio then executes the executable.
If you want to re-run one of these samples outside of Visual Studio you would have to use the "File Explorer" applicaton on the emulator to navigate to \Program Files\<name of specific app>\ and then tap on the application icon to launch it.
If you were shipping applications to an end user to install you would package up all the required files and registry settings etc into a CAB file. You can think of a CAB file as a kind of setup.exe designed to run directly on a PDA. As part of the CAB file you would add a shortcut into the start menu (Programs folder), so users could launch the executable without having to browse for it.
MSDN has some documentation on creating a CAB file to install an application
You can also find various articles online such as CodeProject's "Creating Pocket PC Application Setup Packages using Cab Wizard" - http://www.codeproject.com/ce/pocketpc_deploy.asp
Hope this helps,
Christopher Fairbairn