本文翻译"Porting"、"Power"、"Synchronization"、"User Interface"和"Performance Considerations"部分。
Porting
Developers often want to port part or all of an existing application to a mobile device. Certain types of applications will be easier to port than others, and it is unlikely that you will be able to port the code directly without modification.
Consider the following guidelines when designing to port your existing application to a mobile device:
• If you are porting a rich client application from the desktop, rewrite the application in its entirety. Rich clients are rarely designed to suit a small screen size and limited memory and disk resources.
• If you are porting a Web application to a mobile device, consider rewriting the UI for the smaller screen size. Also, consider communication limitations and interface chattiness as these can translate into increased power usage and connection costs for the user.
• If you are porting an RIA client, research details to discover which code will port without modification. Consult the technology considerations section of this chapter for specific advice.
• Research and utilize tools to assist in porting. For example, Java-to-C++ convertors are available. When converting from Smartphone to Pocket PC code, Microsoft Visual Studio® will allow you to change the target platform and will provide warnings when you are using Smartphone-specific functionality. You can also link Visual Studio Desktop and Mobile projects to assist in knowing what is portable between the two projects.
评论加载中...- 2009-2-12机器人可以给您哪些启示?
- 2009-2-12置备移动设备
- 2009-2-12WM有约II(五):区别对待不同的手机号码
- 2009-2-12实现防火墙的“电话已关机”,“此号码已停机”,“号码不存在”等提示音的方法
- 2009-2-12Application Architecture Guide 2.0 - CH 19 - Mobile Applications(6)
- 2009-2-12Application Architecture Guide 2.0 - CH 19 - Mobile Applications(5)
- 2009-2-12Application Architecture Guide 2.0 - CH 19 - Mobile Applications(4)
- 2009-2-12Application Architecture Guide 2.0 - CH 19 - Mobile Applications(3)
- 2009-2-12Application Architecture Guide 2.0 - CH 19 - Mobile Applications(2)
- 2009-2-12Application Architecture Guide 2.0 - CH 19 - Mobile Applications(1)
