久久国产成人av_抖音国产毛片_a片网站免费观看_A片无码播放手机在线观看,色五月在线观看,亚洲精品m在线观看,女人自慰的免费网址,悠悠在线观看精品视频,一级日本片免费的,亚洲精品久,国产精品成人久久久久久久

分享

Windows Mobile開發(fā)者新手上路指南

 swordinhand 2009-04-27

Part 1.開發(fā)環(huán)境的搭建


軟件安裝順序:

1. 安裝Microsoft ActiveSync 4.0以上版本

2. 安裝VS2005

開發(fā)Pocket PC需安裝Windows Mobile 5.0 Pocket PC SDK

開發(fā)Smartphone需安裝Windows Mobile 5.0 Smartphone SDK

Mobile 5.0環(huán)境配置:

1. 模擬器與Microsoft ActiveSync同步:

A.啟動VS2005,,在Tools->Device Emulator Manager,,選擇一個需要啟動的模擬器,雙擊或者按右鍵,,選擇“Connect”,,即啟動模擬器。



B. 當(dāng)模擬器啟動后,,在Device Emulator Manager中,,右鍵該設(shè)備,選擇“Cradle”,,即可與Microsoft ActiveSync同步,。



2. 模擬器上網(wǎng):

啟動模擬器后,只要PC機(jī)連接網(wǎng)絡(luò),,模擬設(shè)備即能上網(wǎng),。

3.可能出現(xiàn)模擬器與Microsoft ActiveSync無法同步的現(xiàn)象,這種情況很可能發(fā)生,,出現(xiàn)該情況,,可以關(guān)閉VS2005,,關(guān)閉Device Emulator Manager,然后再重新啟動即可,。
 

Mobile 5.0 最初的開發(fā)程序:

在Pocket Pc上新建1個應(yīng)用程序:

在File->New->Project中可以選擇Pocket PC或者Smartphone的Device Application



項目新建以后所看到的Form的界面是和真實設(shè)備的界面完全一致,。

在Form上放置1個TextBox后,將值改成Pocket PC,,運行該程序



在Pocket Pc右上角的有2種按鈕,,叉和ok,叉代表最小化,,ok代表關(guān)閉,。最小化程序會使得程序占用內(nèi)存,在此覺得微軟的操作系統(tǒng)提供的程序有些都是最小化,,沒有釋放內(nèi)存,,會使得系統(tǒng)越跑越慢。

將最小化變?yōu)閛k,,通過設(shè)置form的屬性MinimizeBox,,true為最小化按鈕,false為ok按鈕,。

在Smartphone中沒有上述的變化,,在Smartphone中,如果不添加menu中的事件來結(jié)束程序的話,,那程序始終會以最小化方式保留在系統(tǒng)內(nèi)部,。

更改應(yīng)用程序的平臺:

選擇project,右鍵,,在菜單中選擇“Change Target Platform”



在選擇平臺中,,選擇一個你想改變的平臺,按OK即可

注:Pocket Pc和SmartPhone平臺改換后,,要更改下列內(nèi)容:

1. 控件的大小

2. 某些特定控件在SmartPhone中不支持,,如Button

3. 某些托管API。SmartPhone中,,所支持的API沒有Pocket PC多

開發(fā)Mobile需要注意:

由于是基于移動設(shè)備的,,所以無論cpu還是內(nèi)存來說,都和PC有很大差距,,所以要求消耗較少的內(nèi)存開銷,,另外相比PC來說,所支持的API是非常少的,,需要經(jīng)常查SDK,。

Part 2. 開發(fā)工具與資源下載

1) Software Development Kit

Windows Mobile 2003 SDK for Pocket PC (直接下載)
Windows Mobile 2003 SDK for Smartphone
Windows Mobile 5.0 SDK for Pocket PC (直接下載)
Windows Mobile 5.0 SDK for Smartphone
Windows Mobile 6 SDK
Windows CE 5.0: Standard Software Development Kit (SDK)

2) .NET Compact Framework

.NET Compact Framework 1.0 SP3 Redistributable
.NET Compact Framework 2.0 Service Pack 1 Redistributable
.NET Compact Framework 2.0 Service Pack 1 Patch
.NET Compact Framework 2.0 Service Pack 2 Redistributable

.NET Compact Framework 3.5 Redistributable
Power Toys for .NET Compact Framework 3.5

3) SQL Server CE

SQL Server CE 2.0 Server Tools SP4
SQL Server 2005 Compact Edition

SQL Server 2005 Compact Edition Tools for Visual Studio 2005 Service Pack 1
SQL Server 2005 Compact Edition Server Tools
SQL Server 2005 Compact Edition Books Online (March 2007)
SQL Server 2005 Compact Edition Access Database Synchronizer
SQL Server Compact 3.5 for Windows Desktop
SQL Server Compact 3.5 Books Online and Samples
Synchronization Services for ADO.NET Books Online
ADOCE 3.1 for Windows 3.0 SDKs

4) Device Emulator

Standalone Device Emulator 1.0 with Windows Mobile OS Images
Microsoft Device Emulator 2.0 Standalone
Microsoft Device Emulator 3.0 Standalone
Virtual Machine Network Driver for Microsoft Device Emulator
Microsoft Windows CE 5.0 Device Emulator

5) Emulator Image

Emulator Images for Windows Mobile 2003-based Pocket PC Development 
Emulator Images for Windows Mobile 2003-based Smartphone Development
Emulator Images for Windows Mobile 2003 Second Edition-based Pocket PC Development
Emulator Images for Windows Mobile 2003 Second Edition-based Smartphone Development
Localized Windows Mobile 5.0 Pocket PC Emulator Images
Localized Windows Mobile 5.0 Smartphone Emulator Images

6) eMbedded Visual C++

eMbedded Visual C++ 4.0
eMbedded Visual C++ 4.0 SP4

7) OpenNETCF

OpenNETCF Smart Device Framework v1.4
OpenNETCF Smart Device Framework v2.0

8) Mobile Client Software Factory

Mobile Client Software Factory – July 2006
Architecture Overview for Mobile Applications
UI Design Considerations in Mobile Applications
Designing Mobile Applications in an Occasionally-Connected World

9) Other Tools

Microsoft Windows Mobile Device Center 6.1 for Windows Vista (32-bit)
Microsoft Windows Mobile Device Center 6.1 for Windows Vista (64-bit)
Microsoft ActiveSync 4.5
Redistributable Server Components for Windows Mobile 5.0
Device Security Manager PowerToy for Windows Mobile 5.0
Windows Mobile Network Analyzer PowerToy
Microsoft Smart Devices Remote Tools Framework Powertoy 1.0
Windows Mobile Developer Power Toys

10) Resources
Windows Mobile 5.0 Developer Resource Kit
Microsoft Mobile & Embedded DevCon 2006 DVD
Windows Mobility Marvels
'Mobile Line of Business Solution Accelerator' kit

Part 3.新手Starter Kits

Starter kits:
http://msdn2.microsoft.com/en-us/windowsmobile/bb264330.aspx
Video resource:
http://msdn2.microsoft.com/en-us/windowsmobile/bb264341.aspx

PS:
以上大部分整理自appleseeker和帥哥黎的blog:
http://www.cnblogs.com/appleseeker/archive/2006/12/11/588895.html
http://www.cnblogs.com/upto/archive/2007/03/13/mobile-development-tools.html



 

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點,。請注意甄別內(nèi)容中的聯(lián)系方式,、誘導(dǎo)購買等信息,謹(jǐn)防詐騙,。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多