- The message port
- Sending and receiving messages
- Web and native applications, working together
- Building a hybrid application package
The wrox.com code downloads for this chapter are found at www.wrox.com/go/professionaltizen on the Download Code tab. The code is in the Chapter 19 download, and after decompressing the downloaded Zip file you will have a
tizen-iac directory that contains the StatisticsServiceApp and StatisticsUI applications developed in this chapter.
In this chapter you’ll build two applications, a web application that provides a UI and a native service application that runs in the background and is delegated to perform some tasks. You’ll learn how to use Tizen’s inter-application communications features to enable these applications to work together, combining them into one hybrid application package.
Many client applications for Internet services need to run continuously, even when there is no interaction with users, and these operations are often implemented as a background service. This lends itself to the creation of a multi-process application, with one process providing the UI and the other the background service.
The multi-process architecture for an application is also helpful for web applications because the web application sometimes needs to delegate some tasks to native applications, either to access features not available ...