Windows Mobile 6.0 Professional一般用于触摸屏,Standard非触摸。

要在VS2008下开发WinMobile6程序,首先应该下载Windows Mobile 6 SDK,有Pro和Std两个版本,然后可以下载Windows Mobile 6 Localized Image(语言本地化镜像)中的CHS中文版。

安装SDK后,VS2008模拟器中会多出WM6的系列。

Visual Studio 2008(Device Emulator 3.0)下模拟Windows Mobile 6.0

设置中文语言模拟机:

  1. 在上面图片中选择Windows Mobile Professional Device,另存为一个新选项。
  2. 选中这个新选项并选择属性,进而选择“仿真器选项”,将其中的操作系统镜像改成“C:/Program Files/Windows Mobile 6 SDK/PocketPC/Deviceemulation/0804/PPC_CHS_GSM_VR.BIN”(如果未将Localized Image-CHS安装到默认位置,则填写相应位置)
  3. 确定退出

模拟电话短信、GPRS网络:

  1. 下载cellular emulator。这是仅支持WM6以上模拟机的模拟软件,可以模拟电话、短信等。
  2. 安装好后,运行cellular emulator,查看其状态栏左下角的端口(如COM4),打开一个模拟机(一定不可以是Classic系列,它们没有电话功能),在配置---外围配置---串行端口0,中填入这个端口(选单中没有可以手动填写)
  3. 确定后重置该模拟机,便可以发短信打电话进行测试了。

模拟机上网有两种方法,第一种是安装ActiveSync(Vista是安装Windows Mobile 设备中心),然后在设备管理器中在已经运行的模拟机中点右键选择插入底座,这是将虚拟的模拟机“假装”与电脑相连。

“插入底座”后,会相当于有真实的WM6机器连接电脑,ActiveSync或Windows Mobile 移动中心会检测到并连接,之后模拟机就可以上网了。

Visual Studio 2008(Device Emulator 3.0)下模拟Windows Mobile 6.0

第二种方法是模拟GPRS,利用cellular emulator。在Windows Mobile 6中选择管理连接,在“工作网络”中新建一个网络,其中接入点、用户名、密码等等全部留空,之后进入“高级”,将“连接Internet使用网络”设置为工作网络。现在再打开WM6里的IE,就会发现可以上网了,可以在cellular emulator中自由切换2G或3G网络。

Visual Studio 2008(Device Emulator 3.0)下模拟Windows Mobile 6.0Visual Studio 2008(Device Emulator 3.0)下模拟Windows Mobile 6.0

Visual Studio 2008(Device Emulator 3.0)下模拟Windows Mobile 6.0

Visual Studio 2008(Device Emulator 3.0)下模拟Windows Mobile 6.0

Visual Studio 2008(Device Emulator 3.0)下模拟Windows Mobile 6.0

Visual Studio 2008(Device Emulator 3.0)下模拟Windows Mobile 6.0

相关文章: