1.74k likes | 2.09k Vues
Symbian OS Programming. Tampere Polytechnic University of Applied Sciences Tony Torp (tony.torp@t amk .fi) www.tamk.fi/~torton The course is supported by the project "The assurance of information technology education quality
E N D
Symbian OS Programming Tampere Polytechnic University of Applied Sciences Tony Torp (tony.torp@tamk.fi) www.tamk.fi/~torton The course is supported by the project "The assurance of information technology education quality in the University of Tartu and Tartu Vocational Education Centre". www.mobedu.org
Intro to Symbian OS www.mobedu.org
History • 1980 Psion Ltd. (founded by David Potter) • The main purpose was to innovate and create electronical PDA devices (Personal Digital Assistant) • 1984: first PDA Psion Organizer • 1986 Psion Organizer II • 64kB RAM & ROM • 8 bit CPU • Connection with PC • Programming: Assembler & OPL (Organizer programming language) www.mobedu.org
Psion Organizer II Source: en.wikipedia.org www.mobedu.org
...history • 1991 Psion Series 3 • 16 bit SIBO-devices (sixteen-bit-organizer) • The kernel was named EPOC (from word epoch) www.mobedu.org
Psion Series 3 OPL contained an editor and compiler for 3rd party SW developers • > possibility to create effective 3rd party applications • > thousands of applications available by different vendors • 1996 Psion Software Ltd. • the main goal was to make EPOC the leading WID operating system of the world (Wireless Information Device) • the goal was also to licenciate EPOC to many hardware vendors www.mobedu.org
...history • 1997 Psion Series 5 • 32 BIT EPOC –operating system • 1998 Symbian OS founded www.mobedu.org
The simultaneous history of mobile networks • In the 70’s and 80’s the amount of mobile phone users were small • There were many networks of different standards around the world (e.g. NMT (Nordic Mobile Telephony) in the Nordic Countries) • Kickoff for GSM planning in the early 80’s • July 1991: the world’s first GSM call held in Radiolinja (Elisa) network in Finland • Now: over 1 Billion GSM subscribers in almost 200 countries around the world (and still growing) www.mobedu.org
... and developement of mobile phones • The first phones were made just for making reliable calls (which was a a real challenge) • Competition created needs for new services • 1996: SMS (short message services) supported in new models • Different ringing tones, increasing amount of user memory etc... • 1996-2000: many new features (e.g. games, tones, calendar, clock, alarm clock, small applications...) • Because of new applications and services the mobile phones started to look more and more a PDA device www.mobedu.org
The fusion of mobile phones and PDAs... • 1997: The first version of new EPOC operating system • Psion Software was named Symbian Ltd. ’The main goal to licenciate the operating system for as many hardware vendors as possible’ • Symbian Ltd. is owned by Nokia (~48% share), Ericsson, Motorola, Psion (the original PDA company) and some others. • Summer 2001: The first Symbian GSM –based PDA by Nokia, Nokia Communicator 9200 www.mobedu.org
November 2001: the first Symbian OS based smartphone were published. Sales started on summer 2002. • Now there are several Symbian OS based smartphones by many vendors (refer www.symbian.com ) • Nokia models can be seen at www.nokia.com/phones www.mobedu.org
Symbian OS • Symbian OS is a global industry standard for mobile phones systems and build especially for mobile devices • Forum established in 1998 and owned by leading mobile phone manufacturers • Symbian offers a de-facto standard operation system for wireless devices www.mobedu.org
Symbian Consortium • Ericsson (15.6%) • Nokia (47.9%) • Panasonic (10.5%) • Samsung (4.5%) • Siemens (8.4%) • Sony Ericsson (13.1%) www.mobedu.org
Symbian Licenses www.mobedu.org
Symbian Limited • Gartner predicts that a billion cell phones will ship in 2009 (July 19, 2005) • Gartner forecasts that by the end of 2006 smartphone sales will reach 87m with Symbian OS owning 83% of the market share at 72 million • Sales of smartphones will represent about one-fifth (or 200 million) of all mobile handset sales by 2008 www.mobedu.org
Worldwide total smart mobile device market - Market shares 2004, 2005 www.mobedu.org
Worldwide market shares Q2 2006 www.mobedu.org
Different Mobile Phone Series • Series 20 • Series 30 • Series 40 • Series 60 • Series 80 • Series 90 • Largest number of shipped terminals for Series 60 www.mobedu.org
Mobile phones with the following services SMS Monochrome Display 84 x 48 Pixel Series 20 www.mobedu.org
Mobile phones with the following services SMS, EMS, MMS, J2ME, XHTML Monochrome and color Display 96 x 65 Pixel Series 30 www.mobedu.org
Series 40 S40 3rd Edition S40 2nd Edition S40 1st Edition www.mobedu.org
Mobile phones with the following services SMS, EMS, MMS, J2ME, XHTML Display 96 x 65/68 Pixel 128 x 128 Pixel Series 40 v1 www.mobedu.org
Mobile phones with the following services SMS, EMS, MMS, J2ME, XHTML Unique cover design Display 128 x 128 Pixel 128 x 160 Pixel 208 x 208 Pixel Series 40 v2 www.mobedu.org
Mobile phones with the following services SMS, EMS, MMS, J2ME, XHTML Display 240 x 320 Pixel Series 40 v3 www.mobedu.org
Mobile phones with the following services First 3G phones 6650 7600 Display 128 x 160 Series 45 www.mobedu.org
Mobile phones with the following services SMS, EMS, MMS, J2ME, XHTML Operating System Symbian Display 176 x 208 Pixel Series 60 1st Edition www.mobedu.org
Mobile phones with the following services As before with UI metrics and unique icons etc Operating System Symbian Display 176 x 208 Pixel (Standard) 208 x 176 Pixel [Landscape] 240 x 320 Pixel (Quarter QVGA) 320 x 240 Pixel [Landscape] 352 x 416 Pixel (Double) 416 x 352 Pixel [Landscape] Feature Pack 1: HTML Browser-Extensions EDGE support Feature Pack 2: Support for WCDMA (UMTS) Feature Pack 3: Scalable UI Larger resolutions (240 x 320 und 352 x 415 Pixel) Series 60 2nd Edition www.mobedu.org
As before for the 2nd edition Series 60 3rd Edition www.mobedu.org
Series 60 Evolution FP1 FPX Some migration needed Binary break S60 Future Edition FP1 FPX S60 3rd Edition FP1 FP2 FP3 S60 2nd Edition S60 1st Edition S60 1st edition S60 2nd edition S60 3rd edition S60 Future www.mobedu.org
Mobile phones with the following services SMS, EMS, MMS, Personal Java, XHTML, PIM Operating System Symbian Display 462x200 Pixel (92x) 640x200 Pixel (93x/95x) External Display Series 30/40 Series 80 www.mobedu.org
Mobile phones with the following services SMS, EMS, MMS, J2ME, XHTML Operating System Symbian Display 640 x 320 Pixel Touchscreen Series 90 www.mobedu.org
Intermediate Discussion • Large number of series for the mobile phones • Largest number of shipped mobile phones for Series 40 and 60. • Evolution of Series 80 and Series 90 are not the future in terms of wide spread application. • To cover the highest number of phones, JAVA should be the target platform • May be soon the Series 60 • Focus on Series 60 www.mobedu.org
Series 60 Evolution • Series 60 1st Ed (V09-V1.2), Symbian OS v6.1 • Nokia 7650 (development name Calypso) • Nokia 3600 • Nokia 3620 (GSM 850/1900 successor of the 3650) • Nokia 3650 • Nokia 3660 (GSM 900/1800/1900 successor of the 3650) • Nokia N-Gage and N-Gage QD • Samsung SGH-D700 • Sendo X • Sendo X2 • Siemens SX1 www.mobedu.org
Series 60 Evolution • Series 60 2nd Ed (V2.0), Symbian OS v7.0s • Nokia 6600 (development name Calimero) • Samsung SGH-D710 • Series 60 2nd Ed, FP 1 (V2.1), Symbian OS v7.0s • Nokia 3230 (development name Blitz) • Nokia 6260 (development name Lightning) • Nokia 6620 (development name Calvin) • Nokia 6670 (development name Lara) • Nokia 7610 (development name Catalina) www.mobedu.org
Series 60 Evolution • Series 60 2nd Ed, FP2 (V2.6), Symbian OS v8.0a • Nokia 6630 (development name Charlie) • Nokia 6680 (development name Milla (from "Milla Magia", the Finnish name for Magica De Spell)) • Nokia 6681 (development name Cho) • Nokia 6682 (development name Ginny) • Series 60 2nd Ed, FP 3 (V2.8), Symbian OS v8.1a • Nokia N70 (development name Rolf) • Nokia N90 (development name Gromit) www.mobedu.org
Nokia 6682 • Operating System: • Symbian OS v8.0a • Developer Platform: • S60 2nd Edition • Feature Pack 2 • Network Data Support: • CSD • EGPRS • GPRS • PC Connectivity: • Bluetooth • USB www.mobedu.org
N90 • Operating System: • Symbian OS v8.1a • Developer Platform: • S60 2nd Edition • Feature Pack 3 • Network Data Support: • CSD • EGPRS • GPRS • HSCSD • WCDMA • PC Connectivity: • Bluetooth • USB www.mobedu.org
Series 60 Evolution • S60 3rd Edition (V3.0) Symbian OS v9.1 • Nokia 3250 (development name Thunder) • Nokia E60 (development name Mars) • Nokia E61 (development name Smailer) • Nokia E70 (development name Zeus) • Nokia N71 (development name Isetta) • Nokia N80 (development name Miro) • Nokia N91 (development name Nemo) • Nokia N92 (development name Magnum) www.mobedu.org
N71 • Operating System: • Symbian OS v9.1 • Developer Platform: • S60 3rd Edition • Network Data Support: • CSD • EGPRS • GPRS • HSCSD • WCDMA • PC Connectivity: • Bluetooth • Infrared • USB www.mobedu.org
Edition and FP 1st Ed 2nd Ed 2nd Ed FP1 2nd Ed FP2 2nd Ed FP3 3rd Ed Symbian OS OS v6.1 OS v7.0s OS v7.0s OS v8.0a OS v8.1a OS v9.1 Mapping Series 60 and Symbian OS www.mobedu.org
How to program on the Series 60? • What are the supported languages? • What are the tools? www.mobedu.org
Tools and SDKs www.mobedu.org
IDEs for Symbian C++ development www.mobedu.org
Tools to be installed • SDK, Software Development Kit, is chosen according to compiler: • Microsoft Visual Studio Net • Borland C++ Builder or Borland X • Metrowerks Code Warrior • Carbide Express from March 2006 • Carbide Developer and Pro from Sept 2006 • Other SW to be installed: • ActivePerl 5.1.8 or newer http://www.activestate.com/ • Java runtime environment 1.3.1 or newer www.sun.com • Read the installation instructions carefully! www.mobedu.org
www.forum.nokia.com www.mobedu.org
Downloading the SDK www.mobedu.org
Carbide C++ Demo • Objectives of the demo: • Create a basic S60 application using Carbide.c++ and the S60 Application Wizard • Get to know is the S60 application architecture (application framework) • Get to know the basic ideas of vector craphics in Symbian • Get introduced to Symbian C++ www.mobedu.org
S60 Application Framework www.mobedu.org
User commands / interaction Series 60 Application Structure www.mobedu.org
1. Application (e.g. class CExampleApp) • Application class is inherited from CEikApplication • When starting an application, the OS does the following procedures: • Starts the application by creating an instance object of this class • Calls the CreateDocumentL method of the created object www.mobedu.org