Chapter 10Native UI Applications

  • UI application architecture
  • The building blocks of a great UI
  • The application life cycle
  • Creating form-based applications
  • Handling events

This chapter explains the basic building blocks of native UI applications, including frames, forms, events, and the application life cycle. The key namespaces and classes are introduced and you’ll learn about the anatomy of a form-based application, before you dive into the code and create your own application using the New Project Wizard. You’ll then build up the application to handle UI events and support more advanced features like hardware keys and gestures.

By the end of the chapter, you will have the broad foundation necessary to start building your own native UI applications.

UI FRAMEWORK ARCHITECTURE

A Tizen native UI application is built using the Tizen native application framework and UI framework. The native application framework is implemented by the classes and methods in the Tizen::App namespace. This namespace contains the Tizen::App::App class, the base class for all Tizen native applications, which contains methods for accessing basic application information such as name, ID, and version, as well as pure virtual functions for initialisation and termination. The Tizen::App::UiApp class, which inherits from Tizen::App::App is the base class for all native UI applications. The native UI framework provides the Tizen::Ui namespaces that contain UI controls.

Native UI ...

Get Professional Tizen Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.