1.搭建开发环境,按照以下顺序安装:

1.安装Visual Studio 2008(我安装的试用的Team Suite版:VS2008TeamSuite90DayTrialCHSX1429243.iso) 
2.安装Microsoft ActiveSync 4.5.msi 
3.安装Windows Mobile 6 Professional SDK Refresh.msi(如果需要6.0版本的中文模拟器,需要安装中文包:Windows Mobile 6 Professional Images (CHS).msi) 
4.安装Windows Mobile 6.5 Professional Developer Tool Kit (CHS).msi

这里有更详细的介绍:Installing Developer Tools for Windows Mobile

如下图,第一项QVGA即是6.5版本320x240屏幕的模拟器,高亮的一项的是真机,当你需要在真机上调试时使用这项: 

2.让我们来看下Windows Mobile 6.5 Professional在开发方面的变化:

Today Plug-in

你为6.5以前版本编写的今日插件,仍然可以在6.5版本使用,6.5的策略让默认方案与其它子项互斥,当你选中自己的插件时,默认方案前面的勾将自动去掉。右下图显示的即是默认方案。 

6.5版本改变的部分是:现在不允许把你自己编写的插件的Type设为5,当你设置为5的时候,系统会把你改回成4。 
关于4和5在6.5以前版本差距还是很大的,请看我的笔记: 
HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items下的Type为DWORD类型。 
If the value of Type is 4, a custom plug-in is added to the Today Screen. 
If the value of Type is 5, the plug-in is a custom pinned plug-in. 
我自己编写的插件设置为5的时候就解决了横竖屏切换太慢问题,慢的原因是Type为4的插件,每次横竖屏切换,系统都会发送4次WM_PAINT消息!微软在6.5版本优化了这个问题。下图就是优化之后的当横竖屏切换时系统发送的消息截图: 
 
Type另外还有以下值: 
If the value of Type is 0, it indicates a reserved plug-in that displays the device owner information is added to the Today Screen. 
If the value of Type is 1, it indicates a reserved plug-in that displays the Appointments is added to the Today Screen. 
If the value of Type is 2, it indicates a reserved plug-in that displays the Mail is added to the Today Screen. 
If the value of Type is 3, it indicates a reserved plug-in that displays the Tasks is added to the Today Screen. 
If the value of Type is 6, the plug-in is a custom permanent pinned plug-in.

说到为什么使用蜂窝式菜单,记得我以前看过一篇文章有介绍^^,因为正六边形可以使触摸面积最大(相连的)。 
  
“A grid is the most efficient method to pack as many squares into an area as possible, but not for circles. The mathematically most efficient method to arrange non-overlapping circles - a problem called “sphere packing” - is actually and as you might have guessed by now, hexagonal. ”

Windows下面并不能实现真正的窗口透明,目前我们开发的应用程序都是采用将下一个窗口的DC先在当前窗口绘制一遍,实现透明按钮也是这个道理,其实都是伪透明,那么任何实现真正透明的窗口?这个问题我的继续思考,不知读者您能否解答^^

Gesture(手势) APIs

A new set of APIs is being introduced that will enable application developers to take advantage of the new Windows Mobile 6.5 touch gesture framework. The gesture APIs allow an application to handle touch gesture input and provide a visually consistent experience with the rest of the device UI.

The APIs are defined in the following header files:

<gesture.h>

<GesturePhysicsEngine.h>

<WindowAutoGesture.h>

Note that the gesture APIs are only available on the Windows Mobile Classic and Professional SKUs. The headers and libraries are installed in the Windows Mobile SDK\Pocket PC\ folder. Samples that make use of these APIs are installed into the Windows Mobile 6.5 Developer Tool Kit\Samples\ folder.(在第3部分会详细介绍。)

内核以及驱动开发部分没有太多变化,因为它仍然是基于Windows CE 5.x系统。当Windows Mobile 7.0推出时,因为是基于Windows CE 6.0系统,所以驱动编写也将发生大的变化。Windows CE发生的两次大的内核变化,一次是Windows CE 3.0,一次就是现在的Windows CE 6.0。下面讨论的是Windows Mobile 6.5带来的部分新功能。

3.Windows Mobile 6.5 Developer Tool Kit自带的Samples,全部都是介绍Gesture的使用:

第一个例子

Code Sample Name: Gesture Metrics Sample

Feature Area: Touch

Description: 
    This sample demonstrates how to use the Gesture APIs.  More specifically, it 
    demonstrates: 
    - use of RKGetGestureMetrics 
    - handling WM_GESTURE GID_HOLD, GID_SELECT and GID_DOUBLESELECT messages 
    This sample was designed to show how to use RKGetGestureMetrics and interpret 
    its results. 
    This example also shows how to handle GID_HOLD, GID_SELECT and GID_DOUBLESELECT 
    messages.

Relevant APIs/Associated Help Topics: 
    RKGetGestureMetrics 
    RKGetGestureInfo 
    GESTUREMETRICS 
    WM_GESTURE

第二个例子

Code Sample Name: Code Sample Name: Physics Engine Sample

Feature Area: Touch

Description: 
    This sample demonstrates how to use the Gesture APIs.  More specifically, it 
    demonstrates: 
    - use of Physics Engine 
    - handling WM_GESTURE GID_PAN, GID_SCROLL and GID_END 
    This example shows how to handle gesture scrolling and how to properly use 
    Physics Engine.

Relevant APIs/Associated Help Topics: 
    RKCreatePhysicsEngine 
    RKQueryPhysicsEngine 
    RKDestroyPhysicsEngine 
    RKGetGestureInfo 
    PHYSICSENGINESTATE 
    PHYSICSENGINEINIT 
    WM_GESTURE

第三个例子

Code Sample Name: WAG Sample

Feature Area: Touch

Description: 
    This sample demonstrates how to use the Gesture APIs.  More specifically, it 
    demonstrates: 
    - use of Window Auto Gesture API 
    This example shows how to handle gesture scrolling using Window Auto Gesture API.

Relevant APIs/Associated Help Topics: 
    RKSetWindowAutoGesture 
    RKGetAnimateMessageInfo 
    WAGINFO 
    ANIMATEMESSAGEINFO

更多细节我将在以后的文章中介绍,如果您也能博客中补充更多的东西,将very kind of you^^

作者: 王克伟
出处: http://wangkewei.cnblogs.com/ 
版权声明: 本文的版权归作者与博客园共有。转载时须注明本文的详细链接,否则作者将保留追究其法律责任的权利。
您可以从这里更方便的找到我的文章。

一起来学习Windows Mobile 6.5相关推荐

  1. 学习Windows Mobile开发系列笔记(win32基本程序框架)

    一直对Windows Mobile开发很有兴趣.去年已经做过一个这方面的项目了,虽然自己看了很多资料,但是没有系统的学习过.现在应该还只是个入门者吧. 现在想系统的学习一番,我决定把Windows M ...

  2. 刚开始Windows Mobile的开发,请大家多多关照

    刚开始学习Windows Mobile的开发,现在正在学习WML和WAP的网站制作,请大家多多关照. 转载于:https://www.cnblogs.com/czha2002/archive/2005 ...

  3. Windows Mobile 开发工具和资源

    经常有朋友想学习 Windows Mobile 开发,体验移动开发的乐趣,但不知道从哪里下载各种开发工具和学习资料.于是我整理了一个列表,里面包含了各个版本的 Windows Mobile SDK, ...

  4. 转 Windows Mobile 开发工具和资源 黎波

    经常有朋友想学习 Windows Mobile 开发,体验移动开发的乐趣,但不知道从哪里下载各种开发工具和学习资料.于是我整理了一个列表,里面包含了各个版本的 Windows Mobile SDK, ...

  5. Windows Mobile开发应该选择哪种开发语言?

    Windows Mobile开发应该选择哪种开发语言?这个问题曾经被问了很多很多次,特别是打算开始学习Windows Mobile开发的朋友.Native Code or Managed Code? ...

  6. Windows Mobile 开发系列文章收藏 - Windows Mobile 6.x

    收集整理一些Windows Mobile 6.x开发相关文章, 文章及相关代码大部分搜集自网络,版权属于原作者! 智能手机      手机词汇      研发手机基本流程 WAP协议分析(1)     ...

  7. Windows Mobile 5.0

    自上星期以来,开始系统化的学习Windows Mobile 5.0,希望通过系统化的学习,能够掌握移动开发. Mobile 5.0开发配置: 软件安装顺序: 1. 安装Microsoft Active ...

  8. Windows Mobile 7 梦幻之旅系列1之- What’s New?

     (本文全文直译自InsideMicrosoft,仅供学习参考,如引用请表明译文出处,谢谢)       微软正在开发新一代的智能手机平台Windows Mobile 7,它将是一个革命性的智能手机操 ...

  9. 30 Days of .NET [Windows Mobile Applications] - Day 01: Minutes to Midnight Countdown(午夜倒数器)...

    得到原作者 Chris Craft 的同意,本人可以翻译他的系列文章 30 Days of .NET [Windows Mobile Applications]并在博客园里发表.这是一个十分趣味性很高 ...

  10. Windows Mobile 6 中为开发人员提供的新功能(1)

    Windows Mobile 6 中为开发人员提供的新功能(1) 2007年06月10日 星期日 10:29 Jim Wilson,JW Hedgehog, Inc. 摘要 Windows Mobil ...

最新文章

  1. zookeeper 分布式计数器
  2. 陕西省高级职称 计算机要求,陕西省卫生高级职称评审申报条件
  3. 数据库:MySQL和MariaDB的JDBC连接
  4. matlab7.0安装说明
  5. C# WCF WinCE 解决方案 错误提示之:已超过传入消息(65536)的最大消息大小配额。若要增加配额,请使用相应绑定元素上的 MaxReceivedMessageSize 属性...
  6. File Hunter for mac - 丢失文件查找AE脚本
  7. AE插件Aura Rowbyte Aura for Mac(AE几何粒子渲染效果插件)
  8. 修改weblogic部署的应用名称
  9. centos在文本中搜索字符串_Google和Baidu的搜索技巧你会吗?
  10. 群晖 root_群晖洗白简单教程
  11. IE6不支持CSS的属性选择器
  12. 2月26日 光流,跟踪算法的尝试
  13. fiddler4+雷电模拟器4.0.82抓包设置
  14. OMS 订单管理系统
  15. 为什么要玩FLTK(Fast Light Tool Kit)
  16. 云计算基础设施的定义与介绍
  17. 通过Shell命令-监视一个进程或端口,挂掉后自动重启,并自定义日志
  18. 【面试题记录】2020前端秋招笔试面试题目记录
  19. 对象存储只能按文件名搜索,你out了吧
  20. 不服来试试,Excel中被吹上天的Ctrl+E,到底有多厉害?

热门文章

  1. 他们说用计算机伴奏,用Cubase/Nuendo来消除人声提取伴奏 | 飞来音电脑音乐技术...
  2. 修改Administrator密码 VS 快捷键
  3. Hex转Bin小工具
  4. 微信支付接口 java服务器,JAVA微信支付接口开发——支付(示例代码)
  5. Oracle数据库连接池原理,数据库连接池的原理及实现
  6. netty系列之:HashedWheelTimer一种定时器的高效实现
  7. 一款GaN HEMT内匹配功率放大器设计过程详解
  8. PSPICE仿真数据转MATLAB
  9. kali攻击139端口_简易入侵139端口
  10. c语言编程实现基2-fft,fft算法研究及基2fft算法的c语言实现.doc