1 / 16

Symbian Programming Basics

Symbian Programming Basics. Application Framework. Abbreviations. UIKON UI and control framework are common to Symbian Platforms. Standard user interface components Application's starting services Event handling services CEik*. Abbreviations. CKON

jewel
Download Presentation

Symbian Programming Basics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Symbian Programming Basics Application Framework

  2. Abbreviations • UIKON • UI and control framework are common to Symbian Platforms. • Standard user interface components • Application's starting services • Event handling services • CEik*

  3. Abbreviations • CKON • The user interface library of the Series 80 • AVKON • The user interface library of the Series 60 family • CAkn* • CONE (Control Environment) • Provides a framework for • creating user interface controls • Applications to handle user interface events • CCoe*

  4. User commands / interaction Symbian OS Application Framework

  5. User commands / interaction Series 60 Application Structure

  6. Application class • Inherited from CEikApplication  • Starts the application • Defines the application's properties. • Creates the Document class

  7. Document class • Creates the AppUi object in CreateAppUiL function • Store the applications persistent state. • Creates the Engine/ Model object (in basic architecture) • The base class for document class is CAknDocument

  8. AppUI-class • Inherited from CEikAppUi  • Handling application-wide events • Menu commands • Opening/closing files • etc. • Creates application's views

  9. AppView (Container) • Displays data on the screen • Collect data from the user • There can be several different views • View is derived from CCoeControl (or CAknView, if the application using the View Architecture

  10. Engine/Model • Contains applications functionality • Takes care of the data handling

  11. Starting up of the application

  12. Model-View-Controller • MVC is a common design pattern used in UI applications on the Series 60. • The application is split into three separate components • Each component in the application has a specific role.

  13. Model-View-Controller

  14. Model-View-Controller • Model • Encapsulates the application state • Exposes the application functionality • Notifies the View of Changes • View • Renders the Model • Receives updates from the Model • Sends user input to the Controller • Controller • Defines application behavior • Maps user actions to Model updates • Selects Views for response

  15. References • Series 60 2nd Edition SDK Help • Developer Platform 2.0 for Series 60: Designing C++ Applications • Developer Platform 2.0 for Series 60: Introduction to Designing C++ Applications

  16. Exercise • Create a new Series 60 application with Application Wizard. Application wizard is a tool for generating skeleton applications for Symbian OS. • For more information read SDK Help >>Developer Guides >> Application Wizard Guide. • Familiarize yourself with Symbian Application Framework and answer the following questions. • What is the base class of the AppUi class? • Which function in Document class, creates the instance of the AppUi class? • Which function in AppUi class, handles menu commands? • Which class acts as the controller between the model and the view • What is the role of the Container class in MVC architecture?

More Related