New Platform Security Tweaks Nokia's Python for S60 Application Development : Page 2
Find out how the new platform security features affect Python for S60, what your development options will be, and how to perform native extending.
by Deng Haiqin
May 2, 2008
Page 2 of 3
Creating a Standalone App in S60 3rd Edition
Before you get started, remember that the installed SDK should compile the basic "helloworld" sample program.
Install a working version of the S60 3rd Edition C++ SDK (tested with Windows only).
Install a working version of Python, tested with Python 2.4.4.
Download the Standard Python for S60 source distribution. It includes the py2sis (tested with pys60-1_3_15_src) tool that can be used to create standalone applications from your Python scripts. The packaged Python applications are no different from native applications to a devices user. Click here to obtain pys60-1_3_15.
Unpack the Python for S60 source distribution in C:\Symbian\9.1\S60_3rd_MR\.
Map the directoty to the V drive. Py2SIS also currently requires that the SDK configuration is subst'ed. The following path the maps to the drive:
C:\>subst V: C:\Symbian\9.1\S60_3rd_MR
Invoke the following code (ball.py is the script you are packaging):
yourcert.cer and yourkey.key are the certificate and key used for signing the application. After issuing the above command, an output file ball.sisx (normally, the signed .sis file has the extension name .sisx although it does not really matter) is generated in the current directory, and it has been signed with your own certificate. ball.sisx is actually an installable file for the target devices. You can use a Bluetooth/Infra-red/Memory card to deploy it onto a real device.