Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

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.


advertisement
Creating a Standalone App in S60 3rd Edition
Before you get started, remember that the installed SDK should compile the basic "helloworld" sample program.
  1. Install a working version of the S60 3rd Edition C++ SDK (tested with Windows only).
  2. Install a working version of Python, tested with Python 2.4.4.
  3. 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.
  4. Unpack the Python for S60 source distribution in C:\Symbian\9.1\S60_3rd_MR\.
  5. 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

  6. Invoke the following code (ball.py is the script you are packaging):

    V:\pys60-1_3_15_src\src\py2sis>C:\Python24\python py2sis.py ball.py --uid=0x01234567 --sdk30 --caps="NetworkServices LocalServices ReadUserData WriteUserData" –leavetemp

  7. Sign the created packages using SignSIS. Here's an example invocation:


    V:\pys60-1_3_15_src\src\py2sis> signsis ball.sis ball.sisx yourcert.cer yourkey.key password

    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.



Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date