Symbian OS C++ for Mobile Phones Volume 3 (Paperback)
暫譯: Symbian OS C++ 行動電話應用程式開發 第三卷 (平裝本)

Richard Harrison, Mark Shackman

  • 出版商: Wiley
  • 出版日期: 2007-08-06
  • 定價: $2,980
  • 售價: 5.0$1,490
  • 語言: 英文
  • 頁數: 834
  • 裝訂: Paperback
  • ISBN: 0470066415
  • ISBN-13: 9780470066416
  • 相關分類: C++ 程式語言
  • 立即出貨(限量) (庫存=4)

買這商品的人也買了...

相關主題

商品描述

Description

Richard Harrison’s existing books are the bestsellers in the Symbian Press Portfolio.  His latest book, co-written with Mark Shackman is the successor to "Symbian OS C++ for Mobile Phones" Volumes One and Two. Written in the same style as the two previous volumes, this is set to be another gem in the series. 

The existing material from the volumes will be combined, with explanations and example code updated to reflect the introduction of Symbian OS v9.  New and simplified example application will be introduced, which will be used throughout the book.  The reference and theory section in particular sets this book apart from the competition and complements other books being proposed at this time.

Anyone looking for a thorough insight into Symbian OS C++ before moving onto specialize on particular Symbian OS phones need this book!  It will not teach people how to program in C++, but it will reinforce the techniques behind developing applications in Symbian OS C++, and more.

This innovative new book covers Symbian OS fundamentals, core concepts and UI.

Key highlights include:

  • A quick guide to Kernel
  • Platform security
  • Publishing Applications
  • View Architecture
  • Multi-User games

Table of Contents

About the Authors.

Acknowledgements.

Symbian Press Acknowledgments.

About this book.

Glossary.

1 Getting Started.

1.1 Using the Emulator.

1.2 Hello World – Text Version.

Summary.

2 A System Introduction to Symbian OS.

2.1 Symbian OS Basics.

2.2 Framework Basics.

2.3 APIs Covered in this Book.

Summary.

3 Symbian OS C++.

3.1 Fundamental Data Types.

3.2 Naming Conventions.

3.3 Functions.

3.4 APIs.

3.5 Templates.

3.6 Casting.

3.7 Classes.

3.8 Design Patterns.

Summary.

4 Objects – Memory Management, Cleanup and Error Handling.

4.1 Object Creation and Destruction.

4.2 Class Categories in Symbian OS.

4.3 Error Handling.

4.4 The Cleanup Stack.

4.5 Two-Phase Construction.

Summary.

5 Descriptors.

5.1 Overview.

5.2 Anatomy of Descriptors.

5.3 Literals.

5.4 Stack Descriptors.

5.5 Pointer Descriptors.

5.6 Heap Descriptors.

5.7 Narrow, Wide and Neutral Descriptors.

5.8 Descriptors and Binary Data.

5.9 Using Descriptors with Methods.

5.10 Some Descriptor Operations.

5.11 Correct Use of Descriptors.

5.12 Manipulating Descriptors.

Summary.

6 Active Objects.

6.1 The Asynchronous Service.

6.2 Multitasking and Pre-emption.

6.3 A More In-depth Look at Active Objects.

6.4 How It Works.

6.5 Active Object Priorities.

6.6 Active Object Cancellation.

6.7 Starting and Stopping the Scheduler.

6.8 Understanding a Stray Signal.

6.9 Other Common Active Object Errors.

6.10 Implementing State Machines.

6.11 Long-Running Tasks and Active Objects.

Summary.

7 Files and the File System.

7.1 File-Based Applications.

7.2 Drives and File Types.

7.3 File System Services.

7.4 Streams.

7.5 Stores.

Summary.

8 Interprocess Communication Mechanisms.

8.1 Overview.

8.2 Client–server IPC.

8.3 Publish and Subscribe IPC.

8.4 Message Queue IPC.

8.5 Which IPC Mechanism Should You Use?

Summary.

9 Platform Security and Publishing Applications.

9.1 Releasing an Application.

9.2 How Does Platform Security Work?

9.3 How Do I Support Platform Security?

9.4 Preparing an Application for Distribution.

9.5 Overview of Symbian Signed.

9.5 Installing a SIS File.

9.6 List of Capabilities.

Summary.

10 Debugging and the Emulator.

10.1 Using the Emulator.

10.2 Emulator Debugging.

10.3 Debugging on a Phone.

10.4 Miscellaneous Tools.

Summary.

11 The Application Framework.

11.1 Symbian OS Application Framework.

11.2 S60 and UIQ Platform Application Frameworks.

11.3 A Graphical Hello World.

Summary.

12 A Simple Graphical Application.

12.1 Implementing the Game on S60.

12.2 Differences for UIQ 3.

Summary.

13 Resource Files.

13.1 Why a Symbian-Specific Resource Compiler?

13.2 Source File Syntax.

13.3 Bitmaps and Icons.

13.4 Updating the Resource Files.

13.5 Application Registration Files.

13.6 Localizable Strings.

13.7 Multiple Resource Files.

13.8 Compiling a Resource File.

13.9 The Content of a Compiled Resource File.

13.10 Reading Resource Files.

Summary.

14 Views and the View Architecture.

14.1 The View Architecture.

14.2 The MCoeView Interface.

14.3 Introduction to the Example Application.

14.4 Creating and Managing the Views.

14.5 Implementing the MCoeView Interface.

14.6 Command Menus.

Summary.

15 Controls.

15.1 What Is a Control?

15.2 Control Types.

15.3 Control Layout.

15.4 Handling Key and Pointer Events.

15.5 Observing a Control.

15.6 Drawing a Control.

15.7 Backed-up Windows.

15.8 Backed-up-Behind Windows.

15.9 Dimmed and Invisible Controls.

Summary.

16 Dialogs.

16.1 What Is a Dialog?

16.2 Simple Dialogs.

16.3 Complex Dialogs.

16.4 Single-Page Dialogs.

16.5 Multi-Page Dialogs.

16.6 Dialog APIs.

16.7 Stock Controls for Dialogs.

16.8 Custom Controls in Dialogs.

Summary.

17 Graphics for Display.

17.1 Drawing Basics.

17.2 The CGraphicsContext API.

17.3 Drawing and Redrawing.

17.4 Drawing Controls.

17.5 Sharing the Screen.

17.6 Support for Drawing in CCoeControl.

17.7 Special Effects.

17.8 Window Server Features.

17.9 Device- and Size-Independent Graphics.

Summary.

18 Graphics for Interaction.

18.1 Key, Pointer and Command Basics.

18.2 User Requirements for Interaction.

18.3 Some Basic Abstractions.

18.4 Processing Key Events.

18.5 Processing Pointer Events.

18.6 Window Server and Control Environment APIs.

Summary.

19 Plug-ins and Extensibility.

19.1 System Services.

19.2 What Is a Plug-in?

19.3 The ECOM Library.

19.4 Plug-ins in Symbian OS.

Summary.

20 Communications and Messaging Services.

20.1 Communications in Noughts and Crosses.

20.2 Communication Between Controller and Transport.

20.3 Serial Communications.

20.4 Socket-based Communications.

20.5 Messaging.

20.6 Security.

Summary.

21 Multimedia.

21.1 The Multimedia Framework.

21.2 The Image Conversion Library.

21.3 Camera API.

21.4 Tuner API.

Summary.

22 Introduction to SQL RDBMS.

22.1 Overview of RDBMS.

22.2 SQL Basics.

22.3 Symbian SQL Server Component Architecture.

22.4 Symbian SQL Error Codes.

Summary.

Appendix: Developer Resources.

References.

Index.

商品描述(中文翻譯)

**描述**

Richard Harrison 的現有書籍是 Symbian Press 作品集中最暢銷的書籍。他最新的書籍是與 Mark Shackman 共同撰寫的,為《Symbian OS C++ for Mobile Phones》第一卷和第二卷的續集。這本書的寫作風格與前兩卷相同,預計將成為該系列的另一部佳作。

這些卷中的現有材料將被整合,並更新解釋和範例代碼,以反映 Symbian OS v9 的引入。將介紹新的簡化範例應用程式,並在整本書中使用。特別是參考和理論部分使這本書與競爭對手區分開來,並補充了目前提出的其他書籍。

任何希望在專注於特定 Symbian OS 手機之前深入了解 Symbian OS C++ 的人都需要這本書!它不會教人如何用 C++ 編程,但會加強在 Symbian OS C++ 中開發應用程式的技術,還有更多。

這本創新的新書涵蓋了 Symbian OS 的基本原理、核心概念和用戶介面。

主要亮點包括:
- 快速指南到內核
- 平台安全
- 發佈應用程式
- 視圖架構
- 多用戶遊戲

**目錄**

**關於作者。**

**致謝。**

**Symbian Press 致謝。**

**關於這本書。**

**術語表。**

**1 開始使用。**
1.1 使用模擬器。
1.2 Hello World – 文本版本。
摘要。

**2 Symbian OS 系統介紹。**
2.1 Symbian OS 基礎。
2.2 框架基礎。
2.3 本書涵蓋的 API。
摘要。

**3 Symbian OS C++。**
3.1 基本數據類型。
3.2 命名約定。
3.3 函數。
3.4 API。
3.5 模板。
3.6 類型轉換。
3.7 類。
3.8 設計模式。
摘要。

**4 對象 – 內存管理、清理和錯誤處理。**
4.1 對象的創建和銷毀。
4.2 Symbian OS 中的類別類型。
4.3 錯誤處理。
4.4 清理堆棧。
4.5 雙階段構造。
摘要。

**5 描述符。**
5.1 概述。
5.2 描述符的結構。
5.3 字面量。
5.4 堆棧描述符。
5.5 指針描述符。
5.6 堆描述符。
5.7 窄、寬和中性描述符。
5.8 描述符和二進制數據。
5.9 使用描述符與方法。
5.10 一些描述符操作。
5.11 描述符的正確使用。
5.12 操作描述符。
摘要。

**6 主動對象。**
6.1 異步服務。
6.2 多任務和搶佔。
6.3 更深入了解主動對象。
6.4 工作原理。
6.5 主動對象優先級。
6.6 主動對象取消。
6.7 啟動和停止調度程序。
6.8 理解孤立信號。
6.9 其他常見主動對象錯誤。
6.10 實現狀態機。
6.11 長時間運行的任務和主動對象。
摘要。

**7 文件和文件系統。**
7.1 基於文件的應用程式。
7.2 驅動器和文件類型。
7.3 文件系統服務。
7.4 流。
7.5 存儲。
摘要。

**8 進程間通信機制。**
8.1 概述。
8.2 客戶端–伺服器 IPC。
8.3 發佈和訂閱 IPC。
8.4 消息隊列 IPC。
8.5 應該使用哪種 IPC 機制?
摘要。

**9 平台安全和發佈應用程式。**
9.1 發佈應用程式。
9.2 平台安全如何運作?
9.3 如何支持平台安全?
9.4 準備應用程式以供分發。
9.5 Symbian Signed 概述。
9.6 安裝 SIS 文件。
9.7 能力列表。
摘要。

**10 調試和模擬器。**
10.1 使用模擬器。
10.2 模擬器調試。
10.3 在手機上調試。
10.4 其他工具。
摘要。

**11 應用框架。**
11.1 Symbian OS 應用框架。
11.2 S60 和 UIQ 平台應用框架。
11.3 圖形 Hello World。
摘要。

**12 一個簡單的圖形應用程式。**
12.1 在 S60 上實現遊戲。
12.2 UIQ 3 的差異。
摘要。

**13 資源文件。**
13.1 為什麼需要 Symbian 專用的資源編譯器?
13.2 源文件語法。
13.3 位圖和圖標。
13.4 更新資源文件。
13.5 應用註冊文件。
13.6 可本地化字符串。
13.7 多個資源文件。
13.8 編譯資源文件。
13.9 編譯資源文件的內容。
13.10 讀取資源文件。
摘要。

**14 視圖和視圖架構。**
14.1 視圖架構。
14.2 MCoeView 接口。
14.3 示例應用程式介紹。
14.4 創建和管理視圖。
14.5 實現 MCoeView 接口。
14.6 命令菜單。
摘要。

**15 控件。**
15.1 控件是什麼?
15.2 控件類型。
15.3 控件佈局。
15.4 處理鍵和指針事件。
15.5 觀察控件。
15.6 繪製控件。
15.7 備份窗口。
15.8 備份後的窗口。
15.9 暗淡和隱形控件。
摘要。

**16 對話框。**
16.1 對話框是什麼?
16.2 簡單對話框。
16.3 複雜對話框。
16.4 單頁對話框。
16.5 多頁對話框。
16.6 對話框 API。
16.7 對話框的標準控件。
16.8 對話框中的自定義控件。
摘要。

**17 顯示用的圖形。**
17.1 繪圖基礎。
17.2 CGraphicsContext API。
17.3 繪製和重繪。
17.4 繪製控件。
17.5 共享螢幕。
17.6 支持在 CCoeControl 中繪圖。
17.7 特效。
17.8 窗口伺服器功能。
17.9 與設備和大小無關的圖形。
摘要。

**18 互動用的圖形。**
18.1 鍵、指針和命令基礎。
18.2 互動的用戶需求。
18.3 一些基本抽象。
18.4 處理鍵事件。
18.5 處理指針事件。
18.6 窗口伺服器和控件環境 API。
摘要。

**19 插件和擴展性。**
19.1 系統服務。
19.2 插件是什麼?
19.3 ECOM 庫。
19.4 Symbian OS 中的插件。
摘要。

**20 通信和消息服務。**
20.1 Noughts and Crosses 中的通信。
20.2 控制器和傳輸之間的通信。
20.3 串行通信。
20.4 基於套接字的通信。
20.5 消息傳遞。
20.6 安全性。
摘要。

**21 多媒體。**
21.1 多媒體框架。
21.2 圖像轉換庫。
21.3 相機 API。
21.4 調諧器 API。
摘要。

**22 SQL RDBMS 介紹。**
22.1 RDBMS 概述。
22.2 SQL 基礎。
22.3 Symbian SQL Server 組件架構。
22.4 Symbian SQL 錯誤代碼。
摘要。

**附錄:開發者資源。**

**參考文獻。**

**索引。**