Fundamentals of Symbian OS Introduction to Symbian OS Introduction Part 1a Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Introduction This lecture serves as general introduction to the course • The background of Symbian the company • Symbian OS C++ dialect • The architecture of Symbian OS • What is covered in the course • Resources 2 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Background 3 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Before Symbian - Psion Psion was established in 1980 • To develop games and software for the Z80-based Sinclair ZX81 and ZX Spectrum Products included • Flight simulator, “Horace Goes Skiing”, Psion Chess, Space Raiders and other games. • Psion Chess for the ZX81 took 1K memory • Office suite for the Sinclair QL (1983) 4 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Before Symbian - Psion Mid ‘80s - Hardware • The 6301 based 8-bit Organiser (1984) - 14cm x 9cm, 2K RAM, 4K ROM, 8K datapak, 6 months battery life! • Organiser II (1986) - the world’s first proper PDA • Organiser II variants were created: up to 64K memory, 4 line screen resolution, add-on hardware • Half a million sold over a decade 5 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Before Symbian - Psion 1989 - MC400 laptop • 16-bit “EPOC” Operating System - multi tasking, GUI, built-in apps • Exceptional power management, screen technology 1991 - Series 3, 1993 - Series 3a, 1996 Series 3c/Siena, Series 3mx • Clam shell organisers, built in apps, OPL, up to 2MB memory • Built on EPOC • Over 1.5 million units sold 1997 - Series 5 • 32 bit OS “EPOC32” (EPOC -> EPOC16 -> SIBO) • Slide out QWERTY keyboard, touch screen, 4MB/8MB • Implemented using C++ http://3lib.ukonline.co.uk/historyofpsion.htm 6 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Symbian History 1998 - Symbian was formed by Psion, Nokia, Ericsson and Motorola • Matsushita joined in 1999, Sony Ericsson & Siemens in 2002, Samsung in 2003 • Motorola share in Symbian were sold back in 2003 • Psion shares were sold back in 2004 • EPOC32 was later renamed to Symbian OS First Symbian OS phone was released in 2000 (Ericsson R380) • Nokia 9210 Communicator released in 2001 - this was the first “open” phone. 2.5G phones followed in early 2002 • Nokia 7650 3G phones in December 2002 • 3G FOMA F2051 from Fujitsu 7 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Symbian History Other notable milestones • EKA2 (EPOC Kernel Architecture 2) was announced in 2004 • Secure Platform introduced in Symbian OS v9 in 2005 • Symbian OS opens to non-mobile developer community through P.I.P.S in 2007 P.I.P.S stands for “P.I.P.S Is POSIX on Symbian OS” - a POSIX compliant API 8 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Symbian Ownership As of the Summer 2007 Symbian shareholders: 9 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Some Stats As of 31 March 2007: • A growing company - 15.9m Symbian smartphones shipped by licensees in Q1 2007, a 35.9% increase on Q1 2006 (Q1 2006 - 11.7m) • 126 million cumulative Symbian smartphone unit shipments • 20 million cumulative Symbian smartphone unit shipments milestone reached in Japan since first 3G Symbian model shipped in 2003 all models shipped since have been 3G • The demand for Symbian OS C++ developers outstrips the supply! • More stats at http://www.symbian.com/about/fastfacts/fastfacts.html 10 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Symbian OS C++ 11 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Symbian OS C++ Symbian OS C++ is referred to as “the C++ domain specific dialect and accompanying frameworks that is used to build Symbian OS and the software that runs on it” 12 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Evolution of Symbian C++ Symbian OS design and C++ considerations were driven by factors such as: • Power sources (battery lifetimes) • User responsiveness • “Always on” nature of mobile devices • Limited resources (RAM, ROM) • Re-use and customization through frameworks. • Reliable data storage • Openness 13 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Evolution of Symbian C++ C++ for Symbian OS was also influenced by the point in time at which the OS was developed: • In 1994 - C++ was still evolving • It had not yet been standardized This affected the take-up of some of its later features: • Templates • Exceptions • Namespaces • New casts • Boolean types • Some were not supported by the tool chain or were immature. 14 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Evolution of Symbian C++ Idioms were invented to fix omissions e.g. • Leaves • The cleanup stack • Descriptors Certain patterns of use were not adopted as C++ was explicitly intended as a general purpose systems language • It was not optimized for small, low memory and low power devices 15 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Common Paradigms Common Symbian OS paradigms • Multithreading and pre-emptive multitasking • Lightweight micro-kernel OS design • Client-Server, session based IPC (among other mechanisms) • Asynchronous services, Active Objects • Cleanup Stack, Leaves, Traps for exception handling • Re-usable frameworks for apps, middleware, GUIs • Descriptors • Naming Conventions We’ll discuss these, and more, in the course 16 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Other Language Support Symbian OS also has support for • Java • Flash Lite • Runtimes such as Python, Ruby, Visual Basic • OPL (until v9) Web Flash Python Runtimes Flash Managed Java Java C++ Lite Python code Ruby P.I.P.S. Symbian OS Symbian Ease of development Native code C++ Hardware Functionality and performance 17 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Architecture 18 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Symbian OS Architecture Symbian OS separates the UI from the engines and services allowing licensees (like Nokia) to develop their own UIs for the phones Licensee UI Platform UI Framework Application Services OS Services Symbian OS Kernel & H/W Interface Licensee H/W Services Hardware 19 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Symbian OS Architecture In a little more detail 20 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Symbian OS Architecture Okay a little too much detail! 21 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction Symbian OS Architecture The Symbian System Model shown on the previous slide is available here • http://developer.symbian.com/main/oslibrary/sys_models/index.jsp Or refer to “The Symbian OS Architecture Sourcebook” • http://developer.symbian.com/main/learning/press/ 22 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction UI Platform 23 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction UI Platform Various UI platforms run on top of Symbian OS: • S60 from Nokia • UIQ from UIQ Technology (part of Sony Ericsson) • NTT DoCoMo’s MOAP user interface for the FOMA™ 3G network in Japan The platforms provide • The GUI and extend the applications and middleware provided by Symbian Each platform has a different look and feel • Designed to support the characteristics of the handsets which use it 24 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS Introduction UI and Engine Separation Broadly speaking the Licensee builds on the UI Licensee UI Framework • Provided by Symbian OS App UI • We will touch on some of UI programming in the examples UI Framework & Views • But the focus of this course is on core Symbian idioms and concepts Application Engine Engine Support Base 25 Copyright © 2001-2007 Symbian Software Ltd. Fundamentals of Symbian OS !"#$%&" Introduction!"#$%&'()*&+%#,'-.%&)/'&'0","&-)1!*/2 *+,-%&"-./0-10232(45-6,738/,-97':-!-243/(08',;-7-4,#-</(#;,/-7==>2'732(4-3(-3+,-$%&*+,'-./01*2*324+056*(7*8041(,2-*+,7(4)25+(,*)2,290)0,5*7.,'5+(,1#*:;010*<=>* =>73?(/)$-@3-8;,;-<,;3A(?A</,,0-(=,4-;(8/',-'()=(4,43;-?(/-,B',>>,43-#,<-'(43,43-288-+'25+(,1*'2,*?0*.10/*21*152,/@2-(,0*7025.401*2,/*'2,*2-1(*?0*021+-6* ExamplesCD*EFG-'()=>274',-740-=,/?(/)74',-740-'()=>,),43;-3+,;,-#23+-244(H732(4;-24- of UI Platforms’ Look and16,';4(,+A0/*"+5;*>+'4(1(75*B.5-((C*2,/*(5;04*)2D(4*<E@?210/*1(75"240#*$80'+7+'* Feel 8;7<2>23I-3(-=/(H20,-74-,4J(I7<>,-@43,/4,3-</(#;24K-,B=,288-+'25+(,1*+,'-./0*7(4*0F2)8-0G*8;(,0?((CG*'2-0,/24/2,4',-?(/-8;,/;$-*+,-</(#;,/- G*,(5082/G*'-('CG*'2-'.-25(4G* ?(/-%&"-7>;(-;8==(/3;-)(<2>,-@43,/4,3-;37407/0;5-;8'+-7;5(@/(G*.,+5*'(,304504-LEF5-MD*EF-E9-G*3(+'0*40'(4/04*2,/*7+-0*)2,2904740-N%%$ # Nokia S60 Sony Ericsson UIQ @4-700232(4-3(-=/(H2024K-7-;2)2>7/-8;,/-,B=,/2,4',-3(-9N-</(#;,/;5-3+,-4,#-</(#;,/-$%&*2-1(*'(,52+,1*2*'2-0,/24*288-+'25+(,*7(4*C008+,9*542'C*(7*288(+,5)0,51G* !"#$%%$%&'()*+(,%&-.*/0(??,/;-70H74',0-47H2K732(4-740-O(()24K-(=32(4;$-F('732(4-(4-3+,-=7K,-'74-<,-)005+,91G*?+45;/261G*2,,+304124+01G*2,/*(5;04*030,51#*:;0*.104*'2,*2//G*)(/+76* %&'+,-..)/0,+1*213313+3)#45)63+5748,+#70974+6+:6/710;+)<+37<'+74K,0-740-)(H,0-,7;2>I$-
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages60 Page
-
File Size-