摘要: 经常有朋友想学习 Windows Mobile 开发,体验移动开发的乐趣,但不知道从哪里下载各种开发工具和学习资料。于是我整理了一个列表,里面包含了各个版本的 Windows Mobile SDK, .NET Compact Framework, SQL Server CE, Device Emulator, Emulator Image 和学习资料的下载链接。  阅读全文
posted @ 2007-03-13 13:27 黎波 阅读(26906) | 评论 (138)编辑

感谢大家参加今天的Webcast!虽然中间声音出了点问题,但是大家还是耐心等待,并且问题也很快被发现和解决。我个人还是挺喜欢讲这种专题课程,因为在准备课程的过程中,必须对课程相关的知识点进行深入的学习,所以我自己也从中学到了很多东西。

今天的课程我为大家准备了6个示例代码,帮大家加深对知识的理解。但是由于时间的关系,只能讲解其中的关键代码,可能听起来会比较吃力。这里我把示例代码提供给大家学习,希望对大家有帮助。欢迎大家在明天下午的同一时间继续参加“基于Windows Mobile的数据同步技术”课程,谢谢!

Webcast_Demo_Battery_Friendly_Apps.rar

 

其他学习资料

Windows Mobile 6 SDK
http://tinyurl.com/kwlqpa
Windows Mobile Power Management (Joel Ivory Johnson)
http://tinyurl.com/5vmtov
Windows CE的电源管理 (JasonYe)
http://tinyurl.com/kt9b8p
Power to the PocketPC (Windows Mobile Team)
http://tinyurl.com/ml5jq9
Power to the Smartphone (Windows Mobile Team)
http://tinyurl.com/ra7h2

posted @ 2009-06-25 16:36 黎波 阅读(260) | 评论 (7)编辑

活动主题: 使用加密技术提高Windows Mobile应用程序的安全性--Level 300
主  讲: 胡砚 微软最有价值专家
活动时间: 6月23日(星期二) 14:30-16:00
讲座内容: 企业移动应用程序经常需要在移动设备中存储敏感数据,本场讲座将通过几个示例详细为您演示如何使用加密格式安全地存储数据,特别是如何存储加密钥匙以防攻击者得到它们。同时您还将看到如何通过将配置文件加密来保护重要数据、如何实现一个基于密码的访问控制系统以及如何使用客户端证书来限制对服务器端资源的访问。
课程讲师:
胡砚 微软最有价值专家
微软最有价值专家。拥有六年Web和Wap应用软件开发以及项目管理经验和多年开发培训经验,擅长基于ASP.NET的Web开发和基于移动设备的Web开发,个人基于ASP.NET Mobile Control技术的"唯我独尊"Wap游戏产品在微软2004年度移动开发竞赛中获得入围奖。

活动主题: 开发省电的Windows Mobile应用程序--Level 300
主  讲: 黎波 MSDN特邀讲师
活动时间: 6月25日(星期四) 14:30-16:00
讲座内容: 移动设备的电池续航能力一直是设备软硬件厂商所面临的挑战。作为开发人员,我们可以利用Windows Mobile提供的State and Notification Broker API监控设备状态,并适当调整应用程序的运行状态,从而减少对电池的消耗。本次课程将介绍开发省电的Windows Mobile应用程序的各种技巧,让你可以开发出更加强大的移动应用。
课程讲师:
黎波 MSDN特邀讲师
长期从事于.NET平台的企业应用开发,有丰富Windows Mobile和Smart Client项目实战经验,熟悉基于Windows Mobile的行业解决方案。目前的主要工作是帮助企业客户将他们的业务系统扩展到移动终端上,并提供方案技术指导和咨询服务。平时喜欢撰写博客文章,分享自己的一些技术心得,博客网址是:http://upto.cnblogs.com/

活动主题: 基于Windows Mobile的数据同步技术--Level 300
主  讲: 黎波 MSDN特邀讲师
活动时间: 6月26日(星期五) 14:30-16:00
讲座内容: 随着3G网络的普及,基于Windows Mobile的行业应用将如鱼得水,利用高速的无线网络为行业客户提供更加可靠的移动解决方案。行业应用最重要的是数据,如何保证移动设备与数据中心之间保持数据的同步非常重要。本次课程将介绍Windows Mobile平台能够利用的数据同步技术,以及如何选择和使用这些技术。

posted @ 2009-06-01 22:14 黎波 阅读(260) | 评论 (1)编辑

相信已经有一些朋友安装了SharePoint Server 2007 Service Pack 2了,确实解决了很多bug,包括对IE8的支持。不过很抱歉地告诉大家,你的MOSS 2007安装了SP2之后,将变成了试用版,180天后就会过期!!!

不过这个缺陷不会影响MOSS现有数据,只是导致网站不能访问,而且是安装了SP2的180天后才产生影响,那时候hotfix也早就出来了。

解决方法一:重新输入CD-KEY
访问:SharePoint 管理中心-->操作-->转换许可证类型;

输入你安装MOSS时的CD-KEY;
点击“确定”按钮,问题解决,恢复到正式版了。

解决方法二:安装hotfix
目前hotfix正在开发中,关注SharePoint产品官方博客

详情请看:
Attention: Important Information on Service Pack 2
The 2007 Microsoft Office Server Service Pack 2 unexpectedly activates a trial expiration

posted @ 2009-05-23 18:48 黎波 阅读(356) | 评论 (1)编辑

.NET Framework 提供了对 Windows Service 开发的支持,而 .NET Compact Framework 并不支持。Peter Nowak 在 CodePlex 发布了一套支持 .NET CF 开发 Managed Service 的类库 Managed Services for Windows Mobile,当然是开源的了!

Project Description
This leightweight library contains functionality for creating Windows like Services in managed code, as creating Windows Services in Windows Mobile/Windows CE isn't supported. The library is compatible with the .NET Compact Framework 2.0 and higher.

Details
The .NET Compact Framework doesn't offer any functionality for creating Windows Services in full managed code, as like on the .NET Framework. Therefore this library enables creating Service in managed code to be like Windows Services as near as possible.
This library bases on Pavel Bánský's blog post, on how to create Services in Windows Mobile in managed code.

servicemanager1.png servicemanager2.png servicemanager3.png

CodePlex 网站:http://www.codeplex.com/managedserviceswm

posted @ 2009-05-19 21:13 黎波 阅读(346) | 评论 (1)编辑

最近微软发布了 Develop Windows Mobile 6 Applications Ramp Up 免费自学课程。课程由7部分组成,介绍 Windows Mobile 应用程序开发的各方面基础知识。每部分都提供了Word格式的教程文档、相关知识讲解视频、程序代码讲解视频和实验代码下载。个人觉得作为Windows Mobile应用程序开发入门学习还是不错的,不过材料和视频都是英文的。

从这里访问课程:http://msdn.microsoft.com/en-us/rampup/dd807370.aspx

Mobile development is growing fast, and Windows Mobile is at the forefront with over 18 million phones shipped last year and many more cutting-edge devices on the way. Visual Studio developers have tremendous opportunities in this space. Why? Developing for a Windows Mobile phone leverages your existing coding experience and takes it to new heights. In this track, we’ll go through the fundamentals of building mobile applications. You’ll learn how to set up Visual Studio with the latest SDK and device emulators, and you’ll see how to build, deploy and debug applications. We’ll also explore AJAX capabilities that offer the richness of the desktop for mobile devices.

Level 1: Mobile Development Introduction
In this module, we will discuss how to install the development tools in the correct order. Then we’ll concentrate on the differences between developing desktop applications and developing Windows Mobile applications. Once you have all the tools installed, we’ll talk you through developing your first Windows Mobile application.


Level 2: Device Emulators
We’ll begin this module with an overview of different releases of Device Emulator. You will learn about specific features of Device Emulator 2.0 and Device Emulator 3.0. You will also get a guided tour around Cellular Emulator which allows to emulate cellular connectivity in conjunction with Device Emulator. As part of new features of Device Emulator 3.0 you will also learn about using Device Emulator Manager to control individual Device Emulators, either from inside Visual Studio 2008 or from within a desktop application through a COM object.


Level 3: Mobile Windows Forms Development
This module will start with an overview of basic Windows Forms Development, including information about different out of the box available User Interface Controls for both Windows Mobile 6 Professional and Windows Mobile 6 Standard devices. We will then move on to the challenges around developing a single application that can run on different devices with different form factors and how applications can adapt to different device capabilities by isolation of specific code and creating a factory model (define an interface for creating an object, but let subclasses decide which class to instantiate). Since your applications will always run on battery powered devices, you will also get a number of tips on how to be friendly to the battery to extend battery life as much as possible.


Level 4: Advanced Mobile Windows Forms Development
In this module, we’ll look at different possibilities for creating your own User Interface Controls, derived from existing controls or developed from Scratch. You will also learn how to re-use existing functionality that is available through Pocket Outlook (contact lists, appointments etc.) inside your own application. More and more Windows Mobile Devices ship with integrated GPS hardware. With Windows Mobile 5 and Windows Mobile 6 devices it is really easy to retrieve GPS location information and test location aware applications as you will see. Finally we’ll do an overview of a number of diagnostic tools that are available as a separate download: The .NET Compact Framework 3.5 Power Toys that will help you to find performance bottlenecks inside your applications.


Level 5: SQL Server CE Introduction
When working with data and mobile applications, SQL Server CE is a great way to quickly get productive. This module will begin with an overview of SQL CE. You will learn the basics around dealing with data on Windows Mobile Devices. Along with the introduction in SQL Server CE, and you will get information on how to access data programmatically inside your own managed applications.


Level 6: Security and Deployment
When developing Windows Mobile applications, there are different security policy considerations. This talk will cover some of the prominent security and deployment considerations for applications to run on Windows Mobile devices and how to make use of certificates to make applications trusted.


Level 7: Mobile Web Development
After a quick overview of mobile web development, we will discuss different options for developing mobile web apps, and different devices to support. We will also discuss advantages of these different technologies. From there, we’ll concentrate on web based applications, take a look at Visual Studio 2008 support and will focus in on ASP.NET 2.0. You will see how to identify on which device your application will run and what devices will support AJAX. You will also learn how to setup your device to get AJAX support working.

posted @ 2009-05-19 20:47 黎波 阅读(983) | 评论 (7)编辑

微软最近发布了一个针对Windows Mobile设备的Facebook应用程序,提供了以下功能:

  • Send messages to any of the people in your Friends list.
  • Take pictures and videos on your phone, then upload them right to Facebook.
  • Send messages or call people in your Friends list.
  • Manage your profile and post anytime, anywhere.

 

其实这个程序之前在微软内部讨论组里面发布了多个测试版本,早期的版本不太稳定。现在发布的可是正式版了,大家可以放心使用。

Facebook screenshot 
Facebook screenshot
Facebook screenshot Facebook screenshot

官方网站:http://www.microsoft.com/windowsmobile/en-us/downloads/facebook.mspx
posted @ 2009-05-18 23:42 黎波 阅读(274) | 评论 (1)编辑

活动主题:在托管应用程序中访问Pocket Outlook数据--Level 300
主  讲:胡砚 微软最有价值专家
活动时间:5月21日(星期四) 14:30-16:00
讲座内容:Windows Mobile设备上集成了Microsoft Pocket Outlook,如果想控制设备中的数据存储量,或是想为用 户提供一致的个人信息管理(PIM)用户体验,您就需要在托管应用程序中使用Pocket Outlook功能。本场 讲座通过多个实例,一步步地为您演示如何通过调用Windows Mobile 5.0或Windows Mobile 6 软件开发 包(SDKs)中的托管API使您自己的托管应用程序获得、使用或存储PIM数据。
课程讲师:
胡砚 微软最有价值专家
微软最有价值专家。拥有六年Web和Wap应用软件开发以及项目管理经验和多年开发培训经验,擅长基于ASP.NET的Web开发和基于移动设备的Web开发,个人基于ASP.NET Mobile Control技术的"唯我独尊"Wap游戏产品在微软2004年度移动开发竞赛中获得入围奖。

本来这个月有3次Mobile Webcast的,由于后面两节安排到端午节,现在已经被推迟到6月份了。

posted @ 2009-05-18 23:35 黎波 阅读(205) | 评论 (0)编辑

微软于2008年发布了Windows Azure云计算平台。在云计算环境下,Windows Mobile将充分发挥出它轻便灵活的特性,Windows Mobile就像这云端的小精灵一般轻便灵活,使得它可以充分发挥云的能力。微软最有价值专家张欣将在系列课程《云时代的Windows Mobile开发系列课程(2):编写您的第一个云端Windows Mobile程序》中为广大听众演示如何开发一个基于Windows Azure平台的Windows Mobile应用。

活动主题:云时代的Windows Mobile开发系列课程(2):编写您的第一个云端Windows Mobile程序--Level 200
主  讲:张欣 MSDN特邀讲师
活动时间:4月16日(星期四) 14:30-16:00
讲座内容:微软与2008年发布了Windows Azure云计算平台。在云计算环境下,Windows Mobile将充分发挥出它轻便灵活的特性。在这节课中,我将给大家演示如何开发一个基于Windows Azure平台的Windows Mobile应用。
课程讲师:
张欣 MSDN特邀讲师
多年以来一直从事与微软平台下的项目开发,对于.NET平台、数据库、多层架构设计有着丰富经验,参与并主导过多个大型应用系统的架构设计以及研发、实施工作。目前致力于Windows Mobile的应用开发以及Windows Mobile的自动化测试方面的研究工作。

活动主题:无线中间件——WEB系统快速移动化--Level 200
主  讲:邓春明 MSDN特邀讲师 北京数字天堂信息科技有限责任公司系统架构师
活动时间:4月20日(星期一) 10:00-11:30
讲座内容:MKEY是微软移动应用合作伙伴数字天堂研发的一个移动服务中间件,MKEY能够利用Schema Mapping技术整合各种IT系统,支持从表现层,业务层和数据层将业务系统扩展到Windows Mobile手机平台上,而开发工作量和开发周期只有原来的10%。在这次课程中我们邀请了数字天堂的技术人员将介绍MKEY中间件产品,并学习如何利用MKEY快速将用户原有的业务系统部署实施到WINDOWS MOBILE手机平台,实现业务系统快速移动化。
课程讲师:
邓春明 MSDN特邀讲师 北京数字天堂信息科技有限责任公司系统架构师
从分布式高性能服务器到智能终端移动信息化应用开发,拥有多年的开发经验和移动信息化行业经验,参与设计开发多个核心项目,现任职北京数字天堂信息科技有限责任公司。从事设计与开发工作。

活动主题:创建.NET Compact Framework自定义控件--Level 300
主  讲:胡砚 微软最有价值专家
活动时间:4月21日(星期二) 14:30-16:00
讲座内容:.NET Compact Framework 3.5 中包含很多现成的用户界面控件,但有时您也许还是需要使用一些和它们在功能上有少许差异的控件,或者需要一些感观效果与功能完全不同的控件。本场讲座将通过一系列实例为您讲解如何继承和修改现有控件,如何创建合成控件,以及如何建立全新的用户控件。您同时也将学会如果在Microsoft Visual Studio 2008中为自定义控件添加设计时支持。
课程讲师:
胡砚 微软最有价值专家
微软最有价值专家。拥有六年Web和Wap应用软件开发以及项目管理经验和多年开发培训经验,擅长基于ASP.NET的Web开发和基于移动设备的Web开发,个人基于ASP.NET Mobile Control技术的"唯我独尊"Wap游戏产品在微软2004年度移动开发竞赛中获得入围奖。

活动主题:Windows Mobile开发者征程开发系列课程(2):Windows Mobile 开发环境搭建--Level 300
主  讲:刘学 MSDN特邀讲师
活动时间:4月28日(星期二) 14:30-16:00
讲座内容:对于基于Windows Mobile开发环境的搭建比较复杂,包括模拟器的安装等等,所以本次课程将跟大家分享完整的Windows Mobile开发的环境搭建,同时也建立一个简单的Demo程序来测试我们的开发环境是否搭建正确。
课程讲师:
刘学 MSDN特邀讲师
微软MVP,有七年的软件从业经验,六年的.NET框架下产品开发经验,精通Windows Mobile移动开发等。

posted @ 2009-04-01 09:38 黎波 阅读(1878) | 评论 (5)编辑

MSDN Library

Windows Communication Foundation (WCF) Development and the .NET Compact Framework
http://msdn.microsoft.com/en-us/library/bb397803.aspx

.NET Compact Framework Technology Samples: GZip Encoder Sample
http://msdn.microsoft.com/en-us/library/cc138373.aspx
http://msdn.microsoft.com/en-us/library/ms751458.aspx

.NET Compact Framework Samples: WCF Exchange Server Mail Transport Sample
http://msdn.microsoft.com/en-us/library/cc138366.aspx

.NET Compact Framework Samples: WCF HTTP Sample
http://msdn.microsoft.com/en-us/library/cc138369.aspx

.NET Compact Framework Samples: WCF ServiceModel Sample
http://msdn.microsoft.com/en-us/library/cc138367.aspx

 

MSDN Blogs

The Journey of the Lunch Launcher
http://blogs.msdn.com/davidklinems/archive/2007/11/12/the-journey-of-the-lunch-launcher-part-8-what-did-i-learn.aspx

Windows Communication Foundation (Compact Edition) and the story of the Lunch Launcher
http://blogs.msdn.com/romanbat/archive/2006/10/21/windows-communication-foundation-compact-edition-and-the-story-of-the-lunch-launcher.aspx

WCF Subset Supported by NETCF
http://blogs.msdn.com/andrewarnottms/archive/2007/08/21/the-wcf-subset-supported-by-netcf.aspx

Introduction to Windows Communication Foundation for the .NET Compact Framework Messaging Stack
http://blogs.msdn.com/markprenticems/archive/2007/03/27/introduction-to-windows-communication-foundation-for-the-net-compact-framework-messaging-stack.aspx

GZip message encoding for WCF applications written using .Net Compact Framework
http://blogs.msdn.com/maagniho/archive/2008/12/24/gzip-message-encoding-for-wcf-applications-written-using-net-compact-framework.aspx

 

MSDN Magazine

Mobile WCF: Write an IM App with .NET Compact Framework
http://msdn.microsoft.com/en-us/magazine/cc164240.aspx

 

OpenNETCF Articles

An Introduction to WCF for Device Developers
http://community.opennetcf.com/articles/cf/archive/2007/11/29/an-introduction-to-wcf-for-device-developers.aspx

Exchanging Data using Windows Mobile, Windows Communication Foundation, .NET Compact Framework and Exchange 2007
http://community.opennetcf.com/articles/cf/archive/2008/06/09/exchanging-data-using-windows-mobile-windows-communication-foundation-net-compact-framework-and-exchange-2007.aspx

 

Exchange Server

How to Configure Exchange Server Always Up-To-Date Notifications
http://technet.microsoft.com/en-us/library/cc164312(EXCHG.65).aspx

What is the Exchange ActiveSync Up-to-date feature and how does it work?
http://msexchangeteam.com/archive/2004/04/26/120520.aspx

The Design of Exchange Direct Push in Exchange 2003 SP2
http://msexchangeteam.com/archive/2005/06/07/406035.aspx

 

Chinese

Windows Mobile 进阶系列.WCF Mobile(Part 1)
http://www.cnblogs.com/fox23/archive/2008/03/28/wmadv5.html

Windows Mobile 进阶系列.WCF Mobile(Part 2)
http://www.cnblogs.com/fox23/archive/2008/03/30/wmadv5-2.html

Windows Mobile 进阶系列.WCF Mobile(Part 3 & Final)
http://www.cnblogs.com/fox23/archive/2008/07/26/wcf-compact-on-windows-mobile-part3.html

数据交换=>Windows_Mobile+WCF+Exchange2007 - part1
http://www.cnblogs.com/fox23/archive/2008/08/01/exchanging-data-using-windowsmobile-wcf-net-compact-framework-and-exchange-2007.html

数据交换=>Windows_Mobile+WCF+Exchange2007 - part2
http://www.cnblogs.com/fox23/archive/2008/08/02/exchanging-data-using-windowsmobile-wcf-net-compact-framework-and-exchange-2007-part2.html

 

Tools

Power Toys for .NET Compact Framework 3.5
http://www.microsoft.com/downloads/details.aspx?familyid=C8174C14-A27D-4148-BF01-86C2E0953EAB&displaylang=en

Microsoft Exchange Server 2007 SP1 VHD
http://www.microsoft.com/downloads/details.aspx?FamilyID=e99f2a96-ffbc-4323-9676-9657607c4a52&displaylang=en

posted @ 2009-03-20 23:48 黎波 阅读(645) | 评论 (0)编辑

Windows Mobile是当前主流的智能手机操作系统,那么如何对它进行开发是许多开发者关心的。MSDN特邀讲师刘学从下个月起将陆续为大家奉献《Windows Mobile开发者征程系统开发系列课程》。这个系列课程将从零开始去比较各种不同的移动开发技术以及Windows Mobile中主流的开发方式思想等,同时也会阐述Windows Mobile的前世今生,这样有利于我们理解Windows Mobile的开发方式等。

活动主题:移动设备的WCF编程--Level 300
主  讲:黎波 MSDN特邀讲师
活动时间:3月20日(星期五) 14:30-16:00
讲座内容:为移动设备开发互联的应用程序会遇到更多挑战。移动设备经常不在线,网络环境和IP地址可能随时改变。.NET Compact Framework 3.5 实现了WCF的子集,并增加了存储转发消息机制(Stored-and-forward Messaging),能够解决移动设备之间在没有同时在线的情况下进行P2P通讯的问题。本次课程将向您介绍.NET CF版的WCF跟.NET完整版之间的差异,学习如何在Windodws Mobile应用程序中调用已有的WCF服务,一起探讨存储转发消息机制如何更好地实现一些移动应用场景。
课程讲师:
黎波 MSDN特邀讲师
长期从事于.NET平台的企业应用开发,有丰富Windows Mobile和Smart Client项目实战经验,熟悉基于Windows Mobile的行业解决方案。目前的主要工作是帮助企业客户将他们的业务系统扩展到移动终端上,并提供方案技术指导和咨询服务。平时喜欢撰写博客文章,分享自己的一些技术心得,博客网址是:http://upto.cnblogs.com/。

活动主题:Windows Mobile开发者征程系统开发系列课程(1):Windows Mobile开发概述--Level 300
主  讲:刘学 MSDN特邀讲师
活动时间:3月24日(星期二) 14:30-16:00
讲座内容:Windows Mobile是当前主流的智能手机操作系统,那么如何对它进行开发是许多开发者关心的,本次课程将从零开始去比较各种不同的移动开发技术以及Windows Mobile中主流的开发方式思想等,同时也会阐述Windows Mobile的前世今生,这样有利于我们理解Windows Mobile的开发方式等。
课程讲师:
刘学 MSDN特邀讲师
微软MVP,有七年的软件从业经验,六年的.NET框架下产品开发经验,精通Windows Mobile移动开发等。

活动主题:Windows Azure云计算平台和Windows Mobile--Level 200
主  讲:张欣 MSDN特邀讲师
活动时间:3月30日(星期一) 14:30-16:00
讲座内容:微软与2008年发布了Windows Azure云计算平台。在云计算环境下,Windows Mobile将充分发挥出它轻便灵活的特性,Windows Mobile就像这云端的小精灵一般轻便灵活,使得它可以充分发挥云的能力。
课程讲师:
张欣 MSDN特邀讲师
多年以来一直从事与微软平台下的项目开发,对于.NET平台、数据库、多层架构设计有着丰富经验,参与并主导过多个大型应用系统的架构设计以及研发、实施工作。目前致力于Windows Mobile的应用开发以及Windows Mobile的自动化测试方面的研究工作。

posted @ 2009-02-27 17:56 黎波 阅读(1640) | 评论 (8)编辑

SQL Server Management Studio (SSMS) 的“连接到服务器”对话框会记录用户所有访问过的服务器名称,这个功能对于经常连接多个数据库的人来说确实挺方便的。

不过使用了一段时间之后,这个列表会变得很长。里面还有很多服务器名称都已经失效了,很想把这个列表清空了。但是很郁闷在SSMS的界面找不到可以清空该列表的地方,于是我Google了一把,找到了答案。

对于 SQL Server 2005 Management Studio,可以删除以下文件清空该列表:

WinXP: C:\Documents and Settings\<user>\Application Data\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat
Vista/Win7: C:\Users\<user>\AppData\Roaming\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat

对于 SQL Server 2008 Management Studio,可以删除以下文件清空该列表:

WinXP: C:\Documents and Settings\<user>\Application Data\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin
Vista/Win7: C:\Users\<user>\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin

如果你也遇到同样的烦恼,不妨试一试!

 

作者:黎波
博客:http://upto.cnblogs.com/
日期:2009年2月19日

posted @ 2009-02-19 00:04 黎波 阅读(475) | 评论 (0)编辑

自从安装了Windows 7 beta之后,发现找不到在哪里安装Microsoft Loopback Adapter。以前用Vista和XP的时候,控制面板里面有一个添加硬件(Add Hardware)的图标,现在已经找不到了。

其实添加硬件向导是一个系统程序,可以在“运行”输入“hdwwiz”启动它。

如上图所示,最后会看到一个熟悉的界面。不过请注意有一个Checkbox和一个Button被遮住了大部分,估计这个程序的界面还没有开发完,所以在控制面板没有把它列出来。在进入这个界面之前程序需要花大概30秒的时间获取设备列表。接着在左边的Manufacturer列表选择Microsoft,然后在右边的Model列表选择Microsoft Loopback Adapter,最后点下一步,直到完成安装。

该问题已经在Windows 7 RC中解决,从设备管理器可以进入添加硬件向导界面。

posted @ 2009-01-24 00:01 黎波 阅读(525) | 评论 (0)编辑

活动主题:SQL Server Compact 性能调校--Level 300
主  讲:黎波 MSDN特邀讲师
活动时间:2月19日(星期四) 14:30-16:00
讲座内容:SQL Server Compact是面向移动和嵌入式设备的关系数据库,由于其运行环境的特殊性,数据库性能调校和程序优化显得更加重要。本次课程将从SQL Server Compact的数据查询、操作、ADO.NET、存储引擎、数据同步等方面分析各种常见的性能问题和优化技巧,让你以后能够开发出更优秀的移动数据库应用程序。
课程讲师:
黎波 MSDN特邀讲师
长期从事于.NET平台的企业应用开发,有丰富Windows Mobile和Smart Client项目实战经验,熟悉基于Windows Mobile的行业解决方案。目前的主要工作是帮助企业客户将他们的业务系统扩展到移动终端上,并提供方案技术指导和咨询服务。平时喜欢撰写博客文章,分享自己的一些技术心得,博客网址是:http://upto.cnblogs.com/

活动主题:Windows Mobile应用程序自适应模块开发详解--Level 300
主  讲:胡砚 微软最有价值专家
活动时间:2月24日(星期二) 14:30-16:00
讲座内容:Windows Mobile应用程序开发人员经常面对的问题之一就是如何使软件适应各种各样的移动设备。众多新设备不断面市总是带来许多新的特性,成功地开发和部署应用程序需要事先在设备兼容性方面做好设计,本场讲座将为您详细演示如何根据各种设备的不同特点设计和开发软件的自适应模块。
课程讲师:
胡砚 微软最有价值专家
微软最有价值专家。拥有六年Web和Wap应用软件开发以及项目管理经验和多年开发培训经验,擅长基于ASP.NET的Web开发和基于移动设备的Web开发,个人基于ASP.NET Mobile Control技术的"唯我独尊"Wap游戏产品在微软2004年度移动开发竞赛中获得入围奖。

posted @ 2009-01-21 10:02 黎波 阅读(607) | 评论 (1)编辑

活动主题:.NET Compact Framework新动力——加速您的Windows Mobile应用开发--Level 300
主  讲:张欣 MSDN特邀讲师
活动时间:1月21日(星期三) 14:30-16:00
讲座内容:在我们这节课中,将重点讲讲在我们Windows Mobile上.NET Compact Framework的C# 3.0,LINQ,WCF将给大家带来哪些让人心动的功能。如何用这些最新的技术来加速您的开发进程,更快更好的将您的想法在Windows Mobile上实现出来。同时我们也会谈到这些新技术和完整版本的.NET Framework 3.5之间的区别。
课程讲师:

张欣 MSDN特邀讲师
多年以来一直从事与微软平台下的项目开发,对于.NET平台、数据库、多层架构设计有着丰富经验,参与并主导过多个大型应用系统的架构设计以及研发、实施工作。目前致力于Windows Mobile的应用开发以及Windows Mobile的自动化测试方面的研究工作。

活动主题:Windows Mobile 6.1 设备安全及开发新特性--Level 200
主  讲:胡砚 微软最有价值专家
活动时间:1月22日(星期四) 14:30-16:00
讲座内容:本次课程将为您介绍Windows Mobile 6.1的最新改进,如更强大的设备与安全管理,更人性化的用户体验以及消息处理等。并带您回顾 Windows Mobile 6 提供的声音、WISP、DLOCK、Home Screen 等 API,以及蜂窝仿真器 (Cellular Emulator) 、Web Service 模拟器 (FakeServer) 、 GPS 仿真器 (FakeGPS/GPSSettings) 等工具。
课程讲师:
胡砚 微软最有价值专家
微软最有价值专家。拥有六年Web和Wap应用软件开发以及项目管理经验和多年开发培训经验,擅长基于ASP.NET的Web开发和基于移动设备的Web开发,个人基于ASP.NET Mobile Control技术的"唯我独尊"Wap游戏产品在微软2004年度移动开发竞赛中获得入围奖。

希望各位Mobile开发爱好者多多捧场!

posted @ 2009-01-03 00:01 黎波 阅读(605) | 评论 (4)编辑

JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。易于人阅读和编写。同时也易于机器解析和生成。它基于JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999的一个子集。 JSON采用完全独立于语言的文本格式,但是也使用了类似于C语言家族的习惯(包括C, C++, C#, Java, JavaScript, Perl, Python等)。这些特性使JSON成为理想的数据交换语言。(以上引自http://www.json.org/对JSON的介绍)

在美国的TechED 2008大会上,Andy Wigley讲了一节关于.NET Compact Framework访问RESTful Web Data Service的session,里面就提到了用JSON来序列化数据。以下是session的介绍:

Accessing RESTful Web Data Services in the Microsoft .NET Compact Framework: The Lightweight Alternative to SOAP
Most Microsoft developers are used to working with SOAP-based Web services and these RPC-like services have been used successfully in many mobile applications that need to access services hosted on remote servers. However, now there's a new kid on the block for remote data access that - its proponents claim - is lightweight, flexible, and works in the way the architects of the Web intended, using many of the built-in features of HTTP. REST stands for Representational State Transfer and is gathering supporters throughout the Web for its flexibility and the ease with which you can perform CRUD (Create, Read, Update, Delete) operations on remote data. Indeed, REST is used for exposing data in new Microsoft products such as ADO.NET Data Services and SQL Server Data Services. In this session, we compare the strengths and weaknesses of REST and SOAP, take a look at how to serialize data using JSON, and work through some demos to show how to program .NET Compact Framework applications that use REST to access services built with ADO.NET Data Services and those exposed by Web 2.0 APIs such as Facebook.

关于JSON数据格式的序列化,.NET Framework已经有了Json.NET (http://www.codeplex.com/Json),.NET Compact Framework也有了JsonCF (http://www.codeplex.com/JsonCF)。从JsonCF的作者Karl Seguin了解到,目前JsonCF还处于早期的版本,并没有经过充分的测试,所以用的时候需要注意一下。

示例代码:

string json = CodeBetter.Json.Converter.Serialize(new User("name""password", AccountStatus.Enabled));
CodeBetter.Json.Converter.Serialize(
"out.txt"new int[] { 123-4 }, "_");

User user 
= CodeBetter.Json.Converter.Deserialize<User>(json, "_");
int[] values = CodeBetter.Json.Converter.DeserializeFromFile<int[]>("out.txt""_");

 

由于JSON格式比SOAP简洁多了,在服务端和手机端之间传输用JSON序列化的数据,可以有效减少数据传输量,并提升传输速度。

posted @ 2008-12-24 01:11 黎波 阅读(773) | 评论 (1)编辑