Skip to Main Content
Developing Software for Symbian OS: A Beginner's Guide to Creating Symbian OS v9 Smartphone Applications in C++
book

Developing Software for Symbian OS: A Beginner's Guide to Creating Symbian OS v9 Smartphone Applications in C++

by Steve Babin
December 2007
Beginner to intermediate content levelBeginner to intermediate
460 pages
10h 12m
English
Wiley
Content preview from Developing Software for Symbian OS: A Beginner's Guide to Creating Symbian OS v9 Smartphone Applications in C++

Chapter 4. Symbian OS Programming Basics

This chapter focuses on the fundamentals of Symbian OS programming. So far, I've described smartphones in general, presented some steps to get started with the SDK, walked through some example code, and described the general architecture of the operating system. This chapter, however, marks the real beginning of your Symbian OS programming training as we get down to the basics.

You will not find any references to S60 or UIQ in this chapter. The information presented here is generic for all platforms based on Symbian OS.

I begin the chapter with an overview of the use of C++ in Symbian OS, followed by a look at the basic data types, the key types of classes you'll use and create, and the Symbian OS naming conventions. Then, I show how to program using the error-handling mechanism in Symbian OS, using leaves and traps, and how to use the cleanup stack. Next, I cover libraries in Symbian OS – both statically linked and DLLs.

Finally, I summarize the key points to remember when writing Symbian OS software.

Use of C++ in Symbian OS

C++ is the primary language for software development on Symbian OS since it provides the most efficient and natural interface to the system-level frameworks and APIs, which themselves are written in C++. In fact, Symbian OS itself is written almost entirely in C++. The first version of the operating system (known then as EPOC32) was created before C++ itself was formally standardized, that is, prior to 1998. For this reason, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows XP for Starters: The Missing Manual

Windows XP for Starters: The Missing Manual

David Pogue
Autonomic Computing

Autonomic Computing

Richard Murch
Oracle® Database 10g Insider Solutions

Oracle® Database 10g Insider Solutions

Arun Kumar R., John Kanagaraj, Richard Stroupe
Borland® Delphi™ 6 Developer's Guide

Borland® Delphi™ 6 Developer's Guide

Steve Teixeira, Xavier Pacheco

Publisher Resources

ISBN: 9780470725702Purchase book