×
Namespaces

Variants
Actions

Archived:PySymbian Application Packaging & Distribution

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.


Article Metadata
Article
Created: hamishwillee (07 Jan 2011)
Last edited: hamishwillee (31 May 2013)

Archived.pngAquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.

All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.

Article Metadata
Article
Created: hamishwillee (07 Jan 2011)
Last edited: hamishwillee (31 May 2013)
Trails.png Getting Started with Python
 > Download & Install > Archived:PySymbian Hello World > Archived:PySymbian Application Packaging & Distribution

Python standalone applications are packaged in a native-format (SIS) installation file that is signed with a tamper-proof digital certificate. These applications are just like native C++ applications; following installation they can be immediately run by selecting their icon in the phone user interface.

This article provides an overview of how to create and sign a "stand alone" Python application.

Contents

Packaging

The Application Packager is used to create and sign standalone Python applications; all you need to do is specify the script or script folder to be packaged, and the packager does all the rest of the work using sensible default settings. Prior to distribution you can override the default settings and customise the installation as you wish - for example to use an application-specific icon.

Note.pngNote: The Application Packager is itself a Python application. You should have already installed Python on your computer from here as part of setting up the SDK & Tools. Highly recommended the version for x86 processors, even on Windows 64-bit.

The Application packager is launched by selecting the icon in your Python for S60 directory: \PythonForS60\ensymble_gui.py or by selecting the Windows Start menu option: Start | PythonForS60 2.0.0 | PySymbian Application Packager.

The packager initially opens in a minimal view (Figure 1) shown below. Simply specify either a single file or a folder that you want to package as an application, and whether you want the package to be created if the packager can't find a dependency. Then press Create to make the SIS file. The packager will then give you the option to install the application or to open the folder in which it is located. If you have PC Suite running you can then install the file directly.

If you were to use the Helloworld.py script we created in PySymbian Hello World, a Helloworld_v1_0_0.sis installation file would be created in the same directory as the script file. The file is created with a version number of 1.0.0, a UID in the development range, and will be self-signed.

This is suitable for testing, but if you wanted to distribute the file you would need to make some changes. These would be made by selecting the "More" button and editing the fields displayed (see Figure 2). There are detailed instructions on how to use the application packager in Python on Symbian.

Note.pngNote: SIS files created with the application packager do not include the Python runtime. When the installed application is launched, Symbian platform devices (including S60 3rd Edition FP2 devices, and later) will automatically detect if the needed version of Python is present on the device, and offer the user the option to download the missing dependencies. On S60 3rd Edition, FP1 (and older) devices the user will need to separately download and install the Python runtime SIS file.

Signing

  1. REDIRECT Archived:PySymbian Application Signing

Distribution

Python applications can be distributed using the same channels as native applications - this includes through your own website, or through an app store like Handango, Nokia's Ovi store, or a network operator.

Summary

This article demonstrated how to package and sign a basic helloworld application during development, and explained the next steps required to Symbian Sign and distribute the application.


That's it, the end of the Getting Started with Python trail. For next steps we suggest you read the excellent wiki book Python on Symbian.


Archived.pngAquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.

All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.

Article Metadata
Article
Created: hamishwillee (07 Jan 2011)
Last edited: hamishwillee (31 May 2013)
Trails.png Getting Started with Python
 > Download & Install > Archived:PySymbian Hello World > Archived:PySymbian Application Packaging & Distribution

Licence icon cc-by-sa 3.0-88x31.png© 2010 Symbian Foundation Limited. This document is licensed under the Creative Commons Attribution-Share Alike 2.0 license. See http://creativecommons.org/licenses/by-sa/2.0/legalcode for the full terms of the license.
Note that this content was originally hosted on the Symbian Foundation developer wiki.

This page was last modified on 31 May 2013, at 04:05.
60 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×