[Windows Mobile]Windows Mobile 簡介與開發環境建置

  • 21131
  • 0
  • 2013-04-15

Windows Mobile 簡介與開發環境建置

 

一、前言

接受了前輩所贈送的 Windows Mobile 6 的書籍,因此決定要發一些學習心得,由於之前沒有接觸此領域,希望大家不要見怪。

 

二、本文

2.1 什麼是 Windows Mobile

Windows Mobile 是 Microsoft 針對行動裝置產品所開發的作業系統,目前最新版本為 Windows Mobile 6.5,其版本與名稱,有相對應的功能 :

 

功能導向 Windows Mobile 6.5/6.1 命名 Windows Mobile 6 命名 Windows Mobile 5 命名
無面板觸控 Windows Mobile 6.5 Standard Windows Mobile 6 Standard Windows Mobile 5.0 for Smartphone
有面板觸控 Windows Mobile 6.5 Professional Windows Mobile 6 Professional Windows Mobile 5.0 for Pocket PC Phone Edition
純 PDA ( 無通訊功能 ) N/A Windows Mobile 6 Classic Windows Mobile 5.0 for Pocket PC

 

* 可上微軟網站了解 Windows Mobile 的版本比較

 

2.2 電腦與行動裝置同步

Windows Mobile 6 搭配 XP 使用 ActiveSync 4.5,Microsoft ActiveSync 是電腦與行動裝置的同步軟體。適用於 Windows Mobile 裝置的最新同步化軟體,可傳送 Outlook 資訊、Office 文件、圖片、音樂、視訊及應用程式到您的裝置;同時也能從裝置匯出檔案。除了能與桌上型電腦進行同步,ActiveSync 還能直接和 Microsoft Exchange Server 2003 同步化,如此一來,就算不使用電腦,您也能夠透過無線通訊隨時更新電子郵件、行事曆資料、工作與連絡人資訊。

Windows Mobile 6 搭配 Vista 使用 Windows Mobile 裝置中心 6.1,同步處理內容以及管理音樂。

 

2.3 其他相關知識

Windows Mobile 6 把 .NET Compact Framework 2.0 SP1 與 Microsoft SQL Serer 2005 Compact Edition 內建在 ROM 中,因此行動裝置不需安裝這兩樣軟體,而且在執行效能上會因為內建在 ROM 中而變的更快。

Windows Mobile 6 在開發上,Windows Device Emulator 2.0 提供更多模擬功能,如電源可模擬 AC 電源與使用電池外,手機選項中,可透過 WIndows Mobile 6 SDK 中的 Cellular Emulator 模擬多台手機使用同一個應用程式的狀況。

Windows Mobile 6 的新增功能中,在開發平台部份支援 AJAX、Windows Mobile 5.0 兼容、遠端桌面功能。

 

2.4 下載與安裝模擬器 ( Emulator )

沒錢買 Pocket PC,該如何開發與學習 Windows Mobile 作業系統,除了祈禱中樂透或者參加抽獎外,使用模擬器 ( Emulator ) 是最佳選擇。當安裝完 Visual Studio 2008 ( Standard、Processional、Team System Edition ) 後,可用的模擬器如下圖所示,假如想要使用其他版本的模擬器,必須要下載與安裝。

image

目前 Windows Mobile 6.5 模擬器的部份,並未支援繁體中文版,假如想要使用 Windows Moblie 6.5 英文版與Windows Mobile 6 作為模擬環境,除了安裝 Visual Studio 開發環境以及更新 SP1外,有一些需要下載與安裝的軟體 :

(1) ActiveSync 4.5 ( XP ) 或者 Windows Mobile 裝置中心 ( Vista )

 

(2) Windows Mobile 6 Professional SDK

 

(3) Windows Mobile 6.5 Developer Tool Kit

 

安裝完成後可在 [ 程式集 ] 中,點選 [ WM 6.5 Professional ],開啟模擬器

image

 

Windows Mobile 6.5 Professional 模擬器如下圖所示

image

 

2.4 安裝 Microsoft Device Emulator 3.0

Microsoft Device Emulator 是用來模擬在 Windows CE 或 Windows Mobile 的硬體平台上的行為,使用設備的模擬真實程式,不需要硬體設備即可執行與測試。

在此我們安裝最新版本 Microsoft Device Emulator 3.0

 

2.5 設定 Windows Mobile 6.5 模擬器與 ActiveSync 4.5 連線

 

 

三、參考

維基百科 - Windows Mobile

Windows Mobile 應用程式設計與操作實務,許清榮、買大誠 編著,博碩文化