Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



EmbApp: An embedded application

Found in examples\AppFramework\Apparc\EmbApp\.


Description

This example comprises an embedded application (embedded.dll) and the stub (embedded.exe). The stub is essentially an empty executable that launches the embedded application, which is wrapped up as an ECOM plug-in. Embedded.dll builds on the minimal UI application.

The application is defined in the registration file (embedded_reg.rss) as an embedded and/or a stand-alone application:

embeddability=KAppEmbeddable;

and KAppEmbeddable is defined in appinfo.rh.

[Top]


Launching an application

EikStart::RunApplication(KAppEmbeddableUid) launches the ECOM plugin using KAppEmbeddableUid.

[Top]


Class summary

[Top]


Build

The Symbian OS build process describes how to build an application. Using ECom plug-ins as a mechanism for delivering embeddable applications is discussed in How to port guide: apps to exes.

The EmbApp example builds a plugin called embedded.dll and an executable called embedded.exe in the standard location (\epoc32\release\winscw\<build_variant> for CodeWarrior). Either launch the executable itself, or launch the emulator and then select the embedded application from the Emulator's extras bar.