
The Accredited Symbian Developer Primer
The Fundamentals of Symbian OS
By Jo Stichbury and Mark Jacobs
Table of contents
1 C++ Language Fundamentals
Types
Statements
Expressions and Operators
Functions
Dynamic Memory Allocation
Tool Chain Basics
2 Classes and Objects
Scope and C++ Object-Oriented Programming (OOP) Support
Constructors and Destructors
Class Members
3 Class Design and Inheritance
Class Relationships
Inheritance
Dynamic Polymorphism – Virtual Methods
Static Polymorphism and Templates
4 Symbian OS Types and Declarations
The Fundamental Symbian OS Types
T Classes
C Classes
R Classes
M Classes
Static Classes
Factors to Consider when Creating a Symbian OS Class
Why Is the Symbian OS Naming Convention Important?
5 Leaves and the Cleanup Stack
Leaves: Lightweight Exceptions for Symbian OS
How to Work with Leaves
Comparing Leaves and Panics
What Is a TRAP?
The Cleanup Stack
Detecting Memory Leaks
6 Two-Phase Construction and Object Destruction
Two-Phase Construction
Object Destruction
7 Descriptors
Features of Symbian OS Descriptors
The Symbian OS Descriptor Classes
The Inheritance Hierarchy of the Descriptor Classes
Using the Descriptor APIs
Descriptors as Function Parameters
Correct Use of the Dynamic Descriptor Classes
Common Inefficiencies in Descriptor Usage
Literal Descriptors
Descriptor Conversion
8 Dynamic Arrays
Dynamic Arrays in Symbian OS
RArray, RPointerArray or CArrayX?
Array Granularities
Array Sorting and Searching
TFixedArray
9 Active Objects
Event-Driven Multitasking on Symbian OS
Class CActive
The Active Scheduler
Cancelling an Outstanding Request
Background Tasks
Common Problems
10 System Structure
DLLs in Symbian OS
Writable Static Data
Executables in ROM and RAM
Threads and Processes
Inter-Process Communication (IPC)
Recognizers
Panics and Assertions
11 Client–Server Framework
The Client–Server Pattern
Fundamentals of the Symbian OS Client–Server Framework
Symbian OS Client–Server Classes
Client–Server Data Transfer
Impact of the Client–Server Framework
12 File Server and Streams
The Symbian OS File System
Streams and Stores
13 Sockets
Introducing Sockets
The Symbian OS Sockets Architecture
Using Symbian OS Sockets
14 Tool Chain
Build Tools
Hardware Builds
Installing an Application to Phone Hardware
The Symbian OS Emulator
15 Platform Security
The Trust Model
Capability Model
Data Caging
Secure Identifier, Vendor Identifier and Unique Identifier
Application Design for a Secure Platform
Releasing a Secure Application on Symbian OS v9
The Native Software Installer
16 Compatibility
Levels of Compatibility
Preventing Compatibility Breaks – What Cannot Be Changed?
What Can Be Changed Without Breaking Compatibility?
Best Practice – Designing to Ensure Future Compatibility
Book facts
- Author: Jo Stichbury and Mark Jacobs
- Published by Symbian
- Publication date:October 2006
- 294 pages
- ISBN 0-470-05827-7
Bulk orders
To make a bulk order of this Symbian Press title:
Email Symbian Press sales