Hi jopeman
...how to create a SIS file containing Flash Lite content...
The benefits of installing using a SIS file rather than just sending the SWF
by bluetooth, IR, email, etc. are:
1) You can install multiple files all at once.
2) The user can easily uninstall all of the content.
3) You could assign a version number to your content.
4) You can select a non-default location for your content -- the content would
not be visible from the Flash Lite file browser, but would still be available
using loadMovie.
5) You can also install txt files for use with loadVariables.
There are a couple of things you need before you can create a SIS file.
1) A Symbian UID. All installable packages require a unique identifier. For
testing, you can use a UID in the range 0x0100000 to 0x0FFFFFF, but you should
not deploy anything with a UID in this range as it may conflict with other
packages.
Here's how you can request your own UIDs to use as you please:
Please email uid@symbiandevnet.com
<mailto:uid@symbiandevnet.com?subject=UID%20Request&body=Please%20send%20me%20%5
B%5D%20UIDs.> with the subject 'UID Request'.
Also ensure that you submit the following information:
* Your name or program name (whichever you prefer)
* Your Email address
* How many UIDs you require. You will be assigned a range of ten
UIDs. If you require more then please give your reason for
requiring more.
Failure to send any of the required information will cause delay to the
process.
2) The Makesis utility. This comes as part of any of the Symbian SDKs.
You can get a SDK for free from:
* Nokia (
http://www.forum.nokia.com)
* Sony Ericsson (
http://developer.sonyericsson.com/)
* Symbian (
http://www.symbian.com/developer/sdks.asp)
Or, if you don't want the whole SDK, but have a C++ development environment,
you can also download the source code for Makesis from Symbian:
http://www.symbian.com/developer/downloads/tools.html#makesis Once you have a UID and makesis, you need to create a PKG file.
The documentation on the PKG file format will be in the SDK documentation, or
you can read about it here:
http://www.symbian.com/developer/techlib/v70docs/SDL_v7.0/doc_source/ToolsAndUti
lities/Installing-ref/PackageFileFormatReference.guide.html
Here's an example of the file's contents. Comments have a semicolon ';' in
front of them.
; UID - replace the 0x0100000 with your own UID.
; You can also change "Flash Lite Content" to whatever you like.
#{"Flash Lite Content"},(0x0100000),1,0,0,TYPE=SISOPTION
; You should chose one of the following compatible product ID lines or the
installer will say that the package may not be compatible with your device.
Series60 is for all of the Nokia phones and the Siemens SX1. UIQ2.0 is for The
P800 and P900.
;Supports Series 60 v 1.0 or later
;To create a Series60 package, remove the ; from the following line.
;(0x101F795F), 0, 0, 0, {"Series60ProductID"}
;Supports UIQ 2.0
;TO create a UIQ package, remove the ; from the following line.
;(0x101F617B), 2, 0, 0, {"UIQ20ProductID"}
; content -- replace these files with your own
; the ! in the file path allows the user to select either phone memory or
memory card
; for the destination. You can change this to C to force installation on the
phone memory
; or E for the memory card on Series60 or D for the memory card on UIQ.
; Please note that UIQ has a different directory structure than Series60, so
the following
; path would not show up in the Flash Lite file browser on an UIQ device.
UIQ's path is:
; C:\documents\media files\document\ or D:\media files\document\ and is
limited to a
; single subdirectory.
"test1.swf" - "!:\documents\flash\dir1\test1.swf"
"test2.swf" - "!:\documents\flash\dir2\test2.swf"
"test3.swf" - "!:\documents\flash\dir2\test3.swf"
If you create your PKG file as content.pkg, then you should run the following:
makesis content.pkg
Your result will be a file named content.SIS, which is now ready to be
installed on your device.
Andrea