smartphone 开发环境安装顺序

本文详细介绍了使用 C++ 进行 Smartphone 应用程序开发所需的开发环境搭建流程,包括 eMbedded Visual C++ 4.0 的安装、Smartphone 2003 SDK 的使用以及中文模拟器的配置等关键步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

smartphone 开发环境安装顺序 
 

 

最近要在Smartphone进行一些开发,以前没有相关的研究,就到处着资料,先看看微软官方对建立Smartphone开发环境是怎么说的。

以下微软部分来自Mobile Application Development Toolkit内的说明文档

1.I want to reuse my .NET Framework skills to write applications:
 Yes  No
2.
I want to write applications in: (Optional)
 C++   C# or VB.NET   ASP.NET   I don't know
3.I want to write applications for:
 
Pocket PC   Smartphone

You cannot develop applications for Smartphone 2002 using VB.NET and C#. Example Smartphone 2002 handsets include original Orange SPV, the Motorola MPX200 and the Samsung i600.

Tools to Install

Important: You should uninstall all existing tools, SDKs, and emulators before proceeding.

Install Microsoft ActiveSync 3.7.1: All the Development Tools for Mobile Applications require ActiveSync 3.7.1 for application development and deployment.

   

Install the eMbedded Visual Tools - 2002 Edition including the Pocket PC 2002 SDK and Smartphone 2002 SDK

: In order to develop C++ and Visual Basic applications for the Pocket PC and Smartphone 2002 platforms you must install the eMbedded Visual Tools - 2002 edition.
   

Install eMbedded Visual C++ 4.0: Microsoft eMbedded Visual C++ 4.0 supports development for the new Windows CE.NET 4.2 based devices and, via service pack 3, supports Windows Mobile 2003 Second Edition software for Pocket PCs and Smartphones.

 

   

Install Service Pack 4 for eMbedded Visual C++ 4.0: In order to develop C++ applications for the Pocket PC 2003, you must install Microsoft eMbedded Visual C++ 4.0 and Service Pack 3 or higher. You can install the service pack only after eMbedded Visual C++ 4.0 is installed.

   

Install Visual Studio .NET 2003: In order to develop applications in C# or Visual Basic .NET for Pocket PC 2002, Smartphone 2003 or Pocket PC 2003, you must install Visual Studio .NET 2003. Pocket PC 2003 and Smartphone 2003 devices and the Emulation images already contain the .NET Compact Framework. You must deploy the .NET Compact Framework on earlier devices.

   

Install the Smartphone 2003 SDK: To develop applications in C++, C#, or Visual Basic .NET for Smartphone 2003 you must install the Smartphone 2003 SDK.

   

Install the Emulators for Smartphone 2003 Second Edition: To test applications for high resolution Smartphones you must install the Emulator Pack for Smartphone 2003 Second Edition.

   

Install the Developer Resources for Windows Mobile 2003 Second Edition

: To get important information about Windows Mobile 2003 Second Edition as well as new and updated samples, headers, and libraries you must install this package.

 


 

还有一些其他的文章,转载在下面 :

摘要:smartphone 开发日记-资源之工具安装[作者:梅雪]

http://www.chinaitpower.com/A200507/2005-07-27/174054.html

 


 

作者:梅雪峰  2003-12-6 21:22:24 
出处:博客中国(Blogchina.com)       
 
开发smartphone应用程序,我们可以使用eMbedded Visual C++亦或Visual Studio .NET 2003。所不同的是,eMbedded Visual C++倾向于利用windows ce平台原始的API构建应用程序,而Visual Studio .NET 2003则是利用.NET Compact Framework开发运行在虚拟机上的程序。出于对效率和内存及灵活度的考虑,我倾向于使用C++。
使用C++开发smartphone的开发环境安装过程大体如下:
1.eMbedded Visual C++ 4.0
2. eMbedded Visual C++ 4.0 SP2 
3. SDK for Windows Mobile? 2003-based Smartphones
4. Localized Emulation Images for Windows Mobile? 2003-based Smartphones
5. ActiveSync 3.7.1
6. EmuASConfig.msi(需要.net framework支持,若不用Visual Studio .NET 2003则在系统中按装.net framework即可)
7. WindowsMobilePowerToys.msi(别忘了ActiveSync Remote Display,它可以在桌面上显示真实设备中的屏幕,并作有限的操作)

安装这些工具是有几点需要注意:
1. 不要颠倒1-4的安装顺序,否则evc无法正确使用smartphone2003的sdk作连接。安装evc时最好将可选项全部选中。删除这些工具时的顺序为4-1。
2. 若卸载后重新安装evc,则有可能遗漏standard SDK for windows ce.net。遗漏了它你将不能为所开发的程序选择CPU类型。smartphone SDK只提供emulator和ARM两种类型的CPU。standard SDK for windows ce.net的安装程序应该在evc安装盘的SDK目录下。安装standard SDK时你可以选择所要支持的CPU类型。
3. Localized Emulation Images for Windows Mobile? 2003-based Smartphones ,若开发简体中文程序它应该是Smartphone 2003 SDK Chinese Simplified Emulation Images.msi。它可以使你的模拟器具备显示中文的能力。安装完毕后,需要在evc环境中作一些设置,方可让你的开发环境调用支持中文的模拟器映像。设置步骤如下:打开evc环境下的tools->configure platform manager...,在TreeView中选择smartphone 2003(若你以正确安装了SDK for Windows Mobile? 2003-based Smartphones ),点击add device,输入设备名称,如:“CHS_SMARTPHONE 2003 Emulator”。点击properties...进入device properties对话框,在transport一栏中选择TCP/IP Transport for windows ce,在startup一栏中选择Emulator startup server(默认选项),点击startup一栏右边的Configure...按钮进入Emulator configuration settings对话框,在device->image一栏下选择CHS SMARTPHONE 2003(virtual radio),其他保持默认值,选择确定,回到device properties界面,选择test可以测试你的设置是否正常工作。在正确设置后便可在evc环境的WCE Configuration bar中选择支持中文的模拟器了。
4. 若你还想要在桌面环境下调用中文模拟器,则还要手工作一些设置。安装了smartphone 2003 SDK后再开始菜单中可以调用英文的smartphone模拟器,察看菜单的快捷方式发现它调用的是一个叫emul.cmd的文件,其内容是调用真实的模拟器程序,并将模拟器的映像文件以参数的形式传给模拟器程序。我们可以拷贝该文件到装有中文模拟器映像的目录下,如:.../.../Windows CE Tools/wce420/SMARTPHONE 2003/CHS,将/skin一项改为“.../.../Windows CE Tools/wce420/SMARTPHONE 2003/CHS/Smartphone_Emulator_Skin.xml”,将/ceimage一项改为“.../.../Windows CE Tools/wce420/SMARTPHONE 2003/CHS/SP_2003_CHS_VIRTUAL_RADIO.bin”,这里还可以修改模拟器内存大小等参数。存盘后将此文件加入开始菜单的快捷方式,你就可以从桌面启动一个中文的模拟器了。(怎么程序菜单还是英文的?呵呵,装Visual Studio .NET 2003中文版吧,那里有一个中文的模拟器程序)
5. 安装ActiveSync 3.7.1后连接你的smartphone设备看看有什么反应?这里的设置就不提了,很容易搞定。
6. EmuASConfig.msi这个程序用来将ActiveSync连接到模拟器上。安装后的程序叫EmuAS.exe,运行它。(若你有Visual Studio .NET 2003,可以在开发环境的工具菜单中找到它,connect emulator with activesync),选择目标模拟器,点击连接(connect)。运气好的话,ActiveSync就会有反应,启动模拟器后如同连接到了真的设备。这个工具的最大公用就是可以在我的电脑-〉移动设备中访问到模拟器的目录结构,从此你可以像真实设备一样使用你的模拟器,拷贝文件,安装删除程序,等等

若你使用Visual Studio .NET 2003开发smartphone程序,则可省去1-2两个步骤,同时Visual Studio .NET 2003已经为你安装好了standard SDK for windows ce.net。你可以在 工具-〉选项-〉设备工具-〉设备一栏中发现和配置你的模拟器。不再赘述。

 


 

SmartPhone上程序开发

http://lovewangshu.cnblogs.com/archive/2004/10/17/53340.html

1.eMbedded Visual C++:倾向于利用windows ce平台原始的API构建应用程序.
2.Visual Studio.NET 2003:利用.NET Compact Framework开发运行在虚拟机上的程序
因为前者开发的程序从效率及其他一些方面上来说比较高,这里先介绍C++下开发环境的建立.
1) eMbedded Visual C++ 4.0(with SP2)
2) SDK for Windows Mobile 2003-based Smartphones
smartphone SDK只提供emulator和ARM两种类型的CPU。standard SDK for windows ce.net的安装程序应该在evc安装盘的SDK目录下。安装standard SDK时你可以选择所要支持的CPU类型。
3) Localized Emulation Iamges for Windows Mobile 2003-based Smartphones
若开发简体中文程序它应该是Smartphone 2003 SDK Chinese Simplified Emulation Images.msi。它可以使你的模拟器具备显示中文的能力。
4) ActiveSync 3.7.1
5) EmuASConfig.msi
(需要.net framework支持)
6) WindowsMobilePowerToys.msi
(别忘了ActiveSync Remote Display,它可以在桌面上显示真实设备中的屏幕,并作有限的操作)

 //-------------------------------------

中文补丁

安装了中文补丁后,选择Tools->confige platform

manager...,然后选择POCKET PO 2003 Emulator,点

properties键,然后在startup右边点configure键,

在Device框中的image对应栏选择CHS PPC 2003 SE

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值