A.5. Running Python for S60 Code under Platform Security

There are many different ways to run your PyS60 code in a device that uses Platform Security and you will typically use several different ways during the lifetime of your program. The procedures needed are different for development time and deployment time: they depend on the set of capabilities needed and the type of the intended final audience.

A.5.1. Development

When developing your program, the typical procedure is to install the appropriate version of the PyS60 runtime package and the PyS60 interpreter to your device and test your program using that. The version of the PyS60 runtime needed depends on the capabilities you need:

  • If your program requires only user-grantable capabilities, then this part is easy: you can just install and use the default version of the PyS60 runtime and script shell.

  • If you need any devcert capabilities, then you will need to obtain a developer certificate for each device with which you want to test your code. Download the script shell package marked as 'unsigned-freedevcert', sign it with your devcert and install it.

  • If you need manufacturer-approved capabilities, then you will need to obtain a manufacturer-approved devcert and recompile the PyS60 script shell (interpreter) to have these capabilities. The Python for S60 development team can provide advice in these cases.

A.5.2. Deployment

You can distribute your PyS60 programs in two main forms: as plain Python scripts or packaged into SIS ...

Get Mobile Python: Rapid Prototyping of Applications on the Mobile Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.