During the development of your project, you can try directly from Basic4PPC IDE (hitting the F5 key or pressing the Run icon in toolbar) if your application is working good.
But at a certain stage, you need to try your code on a Device. To do this, you need a Device , then!
But... if you plan to develop your application for a VGA device and you have a QVGA one?
You can buy a new device or you can always compile your exe with "Device (Auto scale)" option, but sometimes it's better to try your creation on a VGA device.
Another example: if you need different type of Devices, with different screen resolution or different OS, and you can't efford them, what you have to do?
You must use an Emulator.
In this tutorial, I'll show you what to do.
To begin, simply open your Firefox (or Opera, or Safari, or Exploder), and in the address bar, go to Google (or to another search engine).
Then, search for "Windows Mobile 6.5 Developer Tool Kit" string.
One of the first results, will be this address located on Microsoft servers.
On that page, you'll find localized versions of Windows Mobile 6.5 Professional Developer Tool Kit and Windows Mobile 6.5 Standard Developer Tool Kit.
Yo can download a localized version of emulator.
Actually, these are the locale supported:
Please consider to use a download manager to download faster the files.
Once downloaded the file, simply double-click on it and click Next
and then Accept.
Note: If the install fails with "Setup Wizard ended prematurely" message, install the Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) and restart the Windows Mobile 6.5 Developer Tool Kit package install.
Click on Next, then on Next again, select the path where to install emulators (or leave the default one), click Next.
Click on Install and the installation will start.
After few minutes, the installation will finish, with this screen:
Click on Finish.
In your Programs, you'll find "Windows Mobile 6 SDK" group folder.
You can choose "Standalone Emulator Images" -> language of emulator (for me "US English") -> and then the emulator you want to run.
I'll choose "WM 6.5 Professional".
The first run is a bit slow, because the emulator ... emulates a first start of the device.
then, finally:
While the device emulator starts, you can prepare the folder that will be the Storage Device for the emulator.
Somewhere on your disk, for example on Desktop, create a folder named "WM_Shared", then in the Emulator window choose "File" -> "Configure".
In the first tab, "General", at the bottom click on the "..." button and browse to the folder you just created on Desktop.
Then click Ok.
From Basic4PPC, simply compile the exe from your project (Alt+1) and choose as destination folder the "WM_Shared" created on the Desktop and click on Save.
On the Emulator, go to File Explorer and browse to "Storage Card".
Here you'll find your just compiled exe, as shown:
Click once on it and you'll execute your application:
Obviously you can create CAB files and test it on your new device!
You can connect and sync the emulator with ActiveSync (for Windows XP or earlier) or Windows Mobile Device Center (for Vista).
To accomplish this, simply run from your Programs -> "Windows Mobile 6 SDK" -> "Tools" -> "Device Emulator Manager"
If you are running the emulator and you cannot find any running session, click on Refresh.
Then, right-click on the active connection and choose "Cradle" or from "Actions" menu, choose "Cradle".
After few seconds, the ActiveSync or Windows Mobile Device Center, will connect with your emulator.
Note:
If ActiveSync don't see the emulator, please assure that you choose DMA setting from "ActiveSync" -> "Connection Settings"
If Windows Mobile Device Center don't see the emulator, please assure that you choose DMA setting from "Mobile Device Settings" -> "Connection Settings"
Note:
It's a good choise to check "Allow data connections on device when connected to PC" in ActiveSync or Windows Mobile Device Center.
Now, let's connect Windows Mobile Emulator and Cellular Emulator!
Thanks to:
derez, Erel
TutorialsEnjoy, ghale
But at a certain stage, you need to try your code on a Device. To do this, you need a Device , then!
But... if you plan to develop your application for a VGA device and you have a QVGA one?
You can buy a new device or you can always compile your exe with "Device (Auto scale)" option, but sometimes it's better to try your creation on a VGA device.
Another example: if you need different type of Devices, with different screen resolution or different OS, and you can't efford them, what you have to do?
You must use an Emulator.
In this tutorial, I'll show you what to do.
To begin, simply open your Firefox (or Opera, or Safari, or Exploder), and in the address bar, go to Google (or to another search engine).
Then, search for "Windows Mobile 6.5 Developer Tool Kit" string.
One of the first results, will be this address located on Microsoft servers.
On that page, you'll find localized versions of Windows Mobile 6.5 Professional Developer Tool Kit and Windows Mobile 6.5 Standard Developer Tool Kit.
Yo can download a localized version of emulator.
Actually, these are the locale supported:
I'll download, for example, the Windows Mobile 6.5 Professional Developer Tool Kit, USA version (225 MB).0804 CHS Chinese Simplified
0409 USA English
0407 GER German
040c FRA French
0410 ITA Italian
0c0a ESN Spanish
0411 JPN Japanese
Please consider to use a download manager to download faster the files.
Once downloaded the file, simply double-click on it and click Next
and then Accept.
Note: If the install fails with "Setup Wizard ended prematurely" message, install the Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) and restart the Windows Mobile 6.5 Developer Tool Kit package install.
Click on Next, then on Next again, select the path where to install emulators (or leave the default one), click Next.
Click on Install and the installation will start.
After few minutes, the installation will finish, with this screen:
Click on Finish.
In your Programs, you'll find "Windows Mobile 6 SDK" group folder.
You can choose "Standalone Emulator Images" -> language of emulator (for me "US English") -> and then the emulator you want to run.
I'll choose "WM 6.5 Professional".
The first run is a bit slow, because the emulator ... emulates a first start of the device.
then, finally:
While the device emulator starts, you can prepare the folder that will be the Storage Device for the emulator.
Somewhere on your disk, for example on Desktop, create a folder named "WM_Shared", then in the Emulator window choose "File" -> "Configure".
In the first tab, "General", at the bottom click on the "..." button and browse to the folder you just created on Desktop.
Then click Ok.
Now, you can use the Emulator like a real device.
From Basic4PPC, simply compile the exe from your project (Alt+1) and choose as destination folder the "WM_Shared" created on the Desktop and click on Save.
On the Emulator, go to File Explorer and browse to "Storage Card".
Here you'll find your just compiled exe, as shown:
Click once on it and you'll execute your application:
Obviously you can create CAB files and test it on your new device!
You can connect and sync the emulator with ActiveSync (for Windows XP or earlier) or Windows Mobile Device Center (for Vista).
To accomplish this, simply run from your Programs -> "Windows Mobile 6 SDK" -> "Tools" -> "Device Emulator Manager"
If you are running the emulator and you cannot find any running session, click on Refresh.
Then, right-click on the active connection and choose "Cradle" or from "Actions" menu, choose "Cradle".
Note:
If ActiveSync don't see the emulator, please assure that you choose DMA setting from "ActiveSync" -> "Connection Settings"
If Windows Mobile Device Center don't see the emulator, please assure that you choose DMA setting from "Mobile Device Settings" -> "Connection Settings"
Note:
It's a good choise to check "Allow data connections on device when connected to PC" in ActiveSync or Windows Mobile Device Center.
Now, let's connect Windows Mobile Emulator and Cellular Emulator!
Thanks to:
derez, Erel
TutorialsEnjoy, ghale
Last edited: