<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>江湖传闻 &#187; windosmobile</title>
	<atom:link href="http://www.yybeta.com/tag/windosmobile/feed" rel="self" type="application/rss+xml" />
	<link>http://www.yybeta.com</link>
	<description>珍爱生命，远离传闻</description>
	<lastBuildDate>Sat, 04 Feb 2012 05:03:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>windowsmobile开发初级教程（流程篇）</title>
		<link>http://www.yybeta.com/1612.html</link>
		<comments>http://www.yybeta.com/1612.html#comments</comments>
		<pubDate>Thu, 11 Jun 2009 03:25:43 +0000</pubDate>
		<dc:creator>左手砍右手</dc:creator>
				<category><![CDATA[windows mobile]]></category>
		<category><![CDATA[windosmobile]]></category>
		<category><![CDATA[开发]]></category>
		<category><![CDATA[教程]]></category>

		<guid isPermaLink="false">http://www.yybeta.com/1612.html</guid>
		<description><![CDATA[整体开发流程 

主要分为：硬件、Driver、RIL、应用程序。(在以后的文章中详细总结)    应用程序开发技术  

语言：C/C++(Native Code)&#160;&#160;&#160;&#160; VS&#160;&#160; C#/VB/…(Managed Code) 

<span class="readmore"><a href="http://www.yybeta.com/1612.html" title="windowsmobile开发初级教程（流程篇）">阅读全文——共2958字</a></span>]]></description>
			<content:encoded><![CDATA[<p>整体开发流程 </p>
<p>主要分为：硬件、Driver、RIL、应用程序。(在以后的文章中详细总结)    <br />应用程序开发技术 <a href="http://www.yybeta.com/wp-content/uploads/2009/06/windowsmobile11111.jpg" rel="lightbox"><img title="windowsmobile1111" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="108" alt="windowsmobile1111" src="http://www.yybeta.com/wp-content/uploads/2009/06/windowsmobile1111-thumb1.jpg" width="143" align="right" border="0" /></a> </p>
<p>语言：C/C++(Native Code)&#160;&#160;&#160;&#160; VS&#160;&#160; C#/VB/…(Managed Code) </p>
<p>选择什么开发方式就选择什么语言，选择Managed Code，即在.Net CF下开发，但是实现有些功能你需要P/Invoke Win32&#160;&#160; DLL。比如在CodeProject上的一个使</p>
<p> <span id="more-1612"></span>
<p>用C#编写的，在Windows Mobile上运行的iPhone界面程序，就调用了GDI API函数AlphaBlend来实现半透明。<a href="http://www.codeproject.com/KB/mobile/IPhoneUI.aspx">请看</a> </p>
<p>关于本地代码开发和提高代码开发的比较有很多资料，这里不详细介绍了，它们的PK是开发效率和运行效率上面的PK。其实在一个项目中它们可能都是需要的。 </p>
<p><a href="http://www.yybeta.com/wp-content/uploads/2009/06/vs2008.gif" rel="lightbox"><img title="VS2008" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="49" alt="VS2008" src="http://www.yybeta.com/wp-content/uploads/2009/06/vs2008-thumb.gif" width="240" border="0" /></a> </p>
<p>.Net CF    <br />是微软<a href="http://zh.wikipedia.org/w/index.php?title=.NET_Framework&amp;variant=zh-tw">.NET Framework</a> 的子集合，专为Mobile Device上的<a href="http://zh.wikipedia.org/w/index.php?title=Windows_CE&amp;variant=zh-tw">Windows CE</a>平台系列提供应用程序开发的支持。目前.NET Compact Framework最新版本为3.5，可运行在Windows CE 6.0以及Windows Mobile 6.0系统中。<a href="http://zh.wikipedia.org/wiki/.NET_Compact_Framework">更多</a> </p>
<p>Win32    <br />我们团队用的最多的，开发效率低，直接使用系统的API，程序的运行效率比较高。因为Windows Mobile编程继承了Windows桌面编程风格，所以学习这方面知识你可以阅读《<a href="http://www.china-pub.com/2382"><em>Windows 程序设计</em>（第5版）</a>》、《<a href="http://www.china-pub.com/209058&amp;ref=hotsale"><em>Windows核心编程</em>(第5版)</a>》等书籍。&#160; </p>
<p>MFC    <br />采用的倒是不多，简单的界面就直接编写个Win32应用程序，复杂一点的界面可以使用WTL或者使用.Net CF(第三方<a href="http://www.opennetcf.com/">OpenNETCF</a>提供更多的扩展)进行托管开发。     <br />MFC对Win32的封装跟WTL很多地方是相似的，封装的机制值得学习，关于这方面的基础视频推荐：《孙鑫C++视频》。 </p>
<p>COM    <br />扩展微软自带的应用程序，比如IE、Windows Media Player等，需要使用COM技术。     <br />不单单如此，微软的技术很多都是构建于组件技术的，所以值得深入学习，推荐《COM技术内幕》(侯捷和潘爱民都有翻译)。 </p>
<p>ATL    <br />Active Template Library(活动模板库)，是一个以<a href="http://zh.wikipedia.org/w/index.php?title=C%2B%2B&amp;variant=zh-cn">C++</a>模板技术的类的集合，帮助你更方便的使用COM，创建ActiveX等。推荐阅读<a href="http://www.bookschina.com/2570822.htm">《<em>深入解析ATL(第2版)</em>》</a><a href="http://zh.wikipedia.org/wiki/Active_Template_Library">维基更多介绍</a> </p>
<p>WTL    <br />是一个用于研发的面向对象的C++模板函数库，它主要被开发作为MFC的轻量化替代品，以ATL函数库为基础。     <br />一个使用WTL和使用MFC生产的应用程序的简单比较：<a href="http://zh.wikipedia.org/w/index.php?title=WTL&amp;variant=zh-cn">更多</a> </p>
<p>Version </p>
<p>Size (in KB on disk) </p>
<p>MFC Debug </p>
<p>2030 </p>
<p>MFC Release </p>
<p>212 </p>
<p>WTL Debug </p>
<p>420 </p>
<p>WTL Release </p>
<p>56 </p>
<p>我们再来看看Windows Mobile 6.5及以后带给我们开发人员的好东西 </p>
<p>用户界面(静态的、动态的和可交互的)一直是开发中的难点，怎样提高用户体验一直是开发中不断挖掘的东西。以下两个技术就是为此而生的： </p>
<p><a href="http://silverlight.net/learn/mobile.aspx">Silverlight for mobile</a> </p>
<p><strong>Q: What is Silverlight?      <br /></strong>A: Microsoft Silverlight powers rich application experiences and delivers high quality, interactive video across the Web and mobile devices through the most comprehensive runtime available on the Web.     <br />Built to integrate with Microsoft Servers, Developer and Designer Tools and supported by a thriving partner ecosystem, the Silverlight solution accelerates the results of compelling experiences through powerful technology. </p>
<p><strong>Q: How does Silverlight for mobile integrate with the standards-based Web?</strong>     <br />A: Silverlight for mobile fully integrates with the standards-based Web technologies. On the client side, there is seamless DOM integration and bi-directional integration between Silverlight and JavaScript. On the server side, Silverlight can communicate with any standards-based server side technology including REST, POX, SOAP, and more.     <br />目前Silverlight for mobile还在开发中，让我们期待一下吧。     <br />Widgets </p>
<p>在Mobile上，它吸引我的地方在于它可以仅仅做成一个独立的基于网络交互的应用程序，它使用的技术就像我当初写网页用的技术一样：XHTML、CSS、AJAX、JavaScript，这相当爽的啊。那是在Today界面上编写一个天气预报的插件那是多么的方便啊，想想现在得用C++写，实属没办法。<a href="http://blogs.msdn.com/windowsmobile/archive/2009/03/18/windows-mobile-6-5-what-s-in-for-developers.aspx">请看</a> </p>
<p>A good way to think of a Windows Mobile Widget is as a “Portable chunk of the web” or just basically a rich internet application.&#160; Widgets are written using all the web technologies we know and love (HTML, CSS, AJAX, JavaScript) and, since they are powered under the covers by our new internet browser, they have full access to flash and other ActiveX controls available on the device (Like MediaPlayer). </p>
<p>Widgets最初源于苹果电脑的一个插件工具——Konfabulator，现在W3C发布了关于Widget的标准草案。<a href="http://www.w3.org/TR/widgets/">请看</a> </p>
<p>学习和参考资料 </p>
<p>[1].Windows Mobile 6.0/6.5/7.0 Documentation(最主要的资料，如需要可以联系我，仅供学习之用。) </p>
<p>在你安装的Windows Mobile 6 Professional SDK目录下，有很多不错的Samples，初学者应该多阅读这里的代码： </p>
<p><a href="http://www.yybeta.com/wp-content/uploads/2009/06/windowsmobile1.jpg" rel="lightbox"><img title="windowsmobile1" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="39" alt="windowsmobile1" src="http://www.yybeta.com/wp-content/uploads/2009/06/windowsmobile1-thumb.jpg" width="244" border="0" /></a> </p>
<p>里面的htm文件已经帮你归类了，比如：</p>
<p><a href="http://www.yybeta.com/wp-content/uploads/2009/06/sdk.jpg" rel="lightbox"><img title="SDK" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="54" alt="SDK" src="http://www.yybeta.com/wp-content/uploads/2009/06/sdk-thumb.jpg" width="244" border="0" /></a> </p>
<p>你到论坛上面问的一些简单问题在这里都能找到答案。 </p>
<p>2].Microsoft WebCast开发资料(包括视频、PPT和示例代码，这是个好东西，我喜欢。你可以使用ireaper小程序方便的下载和管理这些资料。)：</p>
<p>&#160;<a href="http://www.yybeta.com/wp-content/uploads/2009/06/sdkk.jpg" rel="lightbox"><img title="SDKK" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="243" alt="SDKK" src="http://www.yybeta.com/wp-content/uploads/2009/06/sdkk-thumb.jpg" width="244" border="0" /></a> </p>
<p>[3].<a href="http://forum.csdn.net/SList/WindowsMobile/">CSDN Windows Mobile论坛</a></p>
<p>[4].<a href="http://social.microsoft.com/Forums/zh-CN/category/windowsmobiledevicecn/">MSDN Windows Mobile论坛</a></p>
<p>[5].<a href="http://www.microsoft.com/china/windowsmobile/">Windows Mobile中国官方网站</a></p>
<p>[6].<a href="http://www.codeproject.com/KB/mobile/">CodeProject</a>(好东西啊) </p>
<p>[7].<a href="http://zh.wikipedia.org/wiki/%E5%B5%8C%E5%85%A5%E5%BC%8F%E7%B3%BB%E7%BB%9F">维基百科嵌入式系统介绍</a></p>
<p>[8].其它资源请见施炯的博客：<a href="http://www.cnblogs.com/dearsj001/archive/2009/05/17/WindowsMobile_JumpStartGuide.html">Windows Mobile Jump Start Guide</a></p>
<p>感谢克伟兄。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yybeta.com/1612.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>windowsmobile 开发初级教程（简介篇）</title>
		<link>http://www.yybeta.com/1601.html</link>
		<comments>http://www.yybeta.com/1601.html#comments</comments>
		<pubDate>Thu, 11 Jun 2009 03:02:19 +0000</pubDate>
		<dc:creator>左手砍右手</dc:creator>
				<category><![CDATA[windows mobile]]></category>
		<category><![CDATA[windosmobile]]></category>
		<category><![CDATA[开发]]></category>
		<category><![CDATA[教程]]></category>

		<guid isPermaLink="false">http://www.yybeta.com/1601.html</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160; 其实作为windowsmobile开发，还是源于windows下的，所以你曾经可以开发windows下的exe程序，那么在转到mobile平台的时候，就会发现一切都很简单。可惜，很多人并非是windows下开发者，那么这些windowsmobile开发的初级教程也许就变得有用了：  

第一部分：windowsmobile发展历程 

windowsmobile是基于windowsCE内核的：

<span class="readmore"><a href="http://www.yybeta.com/1601.html" title="windowsmobile 开发初级教程（简介篇）">阅读全文——共1268字</a></span>]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; 其实作为windowsmobile开发，还是源于windows下的，所以你曾经可以开发windows下的exe程序，那么在转到mobile平台的时候，就会发现一切都很简单。可惜，很多人并非是windows下开发者，那么这些windowsmobile开发的初级教程也许就变得有用了： <a href="http://www.yybeta.com/wp-content/uploads/2009/06/windowsmobile1111.jpg" rel="lightbox"><img title="windowsmobile1111" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="133" alt="windowsmobile1111" src="http://www.yybeta.com/wp-content/uploads/2009/06/windowsmobile1111-thumb.jpg" width="177" align="right" border="0" /></a> </p>
<p>第一部分：windowsmobile发展历程 </p>
<p>windowsmobile是基于windowsCE内核的：</p>
<p>windowsCE的发展list如下：    <br />Windows CE 1.0     <br />Windows CE 2.0     <br />Windows CE 3.0(改名为Windows for Pocket PC，简称Pocket PC) </p>
<p> <span id="more-1601"></span>
<p>Windows CE 4.0(即Windows CE.Net)     <br />Windows CE 5.0(开放250万行源代码)     <br />Windows Embedded CE 6.0(2006年11月推出，在内核方面改进了很多，比如内存管理等。并且共享100%内核源码。)</p>
<p>&#160;&#160; windowsmobile就是居于开放250万行源代码的windowsCE5.0的下的分支。</p>
<p>Windows Mobile 7.0将采用Windows CE 6.0内核。</p>
<p>开发工具(第1、3两项需要向微软购买，如果仅仅是学习第4项你下个试用版就可以了。)</p>
<p>1.Platform Builder for Windows Mobile(注意和Windows CE版本的区别)，在定制内核、内核调试(另外可以借助很多PB的插件)等操作中，它将是一个得力的助手。</p>
<p>2.Windows Mobile 6 Professional SDK(或者Standard版本的，这里仅仅提供Professional版本)，在安装完Visual Studio之后安装<a href="http://download.microsoft.com/download/f/2/3/f232f773-7edc-4300-be07-d3b76a5b3a91/Windows Mobile 6 Professional SDK Refresh.msi">Windows Mobile 6 Professional SDK Refresh.msi</a>，然后安装中文包：<a href="http://download.microsoft.com/download/0/1/2/012bfbba-9fe5-4e68-86c9-d434446d97dd/0804/Windows%20Mobile%206%20Professional%20Images%20(CHS).msi">Windows Mobile 6 Professional Images (CHS).msi</a>。提供了你开发所需要的基本接口，和调试用的模拟器等。另外其它的头文件和Lib库等文件你可能需要在AKU里面查找。</p>
<p>3.Adaptation Kit Update(AKU)，微软更新Windows Mobile的方式。来看看维基的解释：    <br />&quot;It is a collection of updates, fixes and enhancements to the tools delivered to hardware device manufacturers to create or update devices based on a specific platform.”</p>
<p>4.Visual Studio 2005/2008(有很多提高开发效率的插件，比如Visual Assist X)，VS自带的工具，如下图，都是很有用的。 </p>
<p>5.ActiveSync，不管是真机还是模拟器，如果想与PC同步(比如手机通过PC来上网)，需要使用这个工具。</p>
<p>6.SourceInsight(驱动开发常用的工具，管理、编辑代码很方便。) </p>
<p>7.在如内存泄漏等错误查找方面有很多专门的工具，比如Application Verify等。(请各位补充一下:))    </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yybeta.com/1601.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

