Packaging and signing the stub application

Packaging and signing are described extensively in section Packaging and signing a Flash Lite application. If this is a new area to you, please read that before continuing.

To collect all the files created in the building process into one SIS package, you need to create a Symbian Package (PKG) description file in your project's sis directory. A Package (PKG) file is a text file containing instructions that are required by the SIS file creation utilities.

In this use case, the following example PKG file is used:

; standard SIS file header
#{"StubExample"},(0x01234657),1,0,0

;Supported S60 platforms
[0x102752AE], 1, 0, 0, {"S60ProductID"}

;Localized Vendor Name
%{"MyVendor"}

;Unique Vendor Name
:"MyVendor Ltd"

; Files to copy
"[SDKPath]\epoc32\release\gcce\urel\stub.exe"-"!:\sys\bin\stub.exe"
"[SDKPath]\epoc32\data\z\private\10003a3f\import\apps\stub_reg.rsc"-"!:\private\10003a3f\import\apps\stub_reg.rsc"
"[SDKPath]\epoc32\data\z\resource\apps\stub_loc.Rsc"-"!:\resource\apps\stub_loc.Rsc"
"[SDKPath]\epoc32\data\z\resource\apps\stub.Rsc"-"!:\resource\apps\stub.Rsc"
"c:\Symbian\9.3\S60_3rd_FP2_Beta\epoc32\data\z\resource\apps\StubExample.mif" - "!:\resource\apps\StubExample.mif"
"C:\examples\stub\sis\stub.swf" - "!:\private\01234657\stub.swf"

The things you need to edit are the following

For the rest of the signing process, refer to instructions about packaging and signing in section Packaging and signing a Flash Lite application.

You can now deploy your stub application on your mobile device.

Figure 31: A finished stub application