Categories: S60 | Python | Tools
This page was last modified 02:59, 27 July 2008.
Py2sis for S60 2nd edition phones
From Forum Nokia Wiki
Contents |
Introduction
After writing a successful application in Python, if one needs to convert that py script into a standalone sis file, then this article will guide one to successfully make a sis file from a py script on Windows platform, but this technique is only for Nokia S60 2nd edition phones.
Requirements
- First download ActivePerl from ActiveState
- Download latest Java runtime environment.
- Download any SDK for S60 2nd edition from Forum Nokia.
- Download correct version of Python SDK from Sourceforge
Then install the above mentioned requirements in stepwise manner.
Setting the environment Variable
This is one of the most important steps and most of the mistakes occur here so carefully observe the steps.
- Right click on My computer Icon, Select Properties "System Properties" Dialog Box is open.
- Select Advanced Tab from System Properties Dialog Box. Click on Environment Variables Button.Another Dialog Box "Environment Variables" is open.
- Select Path from "System Variables".Click on Edit Button Another Dialog Box "Edit System
Variables" is open.
- In variable value text box put cursor at the end of text box string.
- There add this path C:\Nokia\Tools\Python_for_Series_60\py2sis
py2sis
- After installing the SDK for S60 2nd edition a Symbian directory will be created your local disk. Similarly after installing the Python SDK a directory named Nokia will be created.
- Now open the local drive where your S60 SDK is installed and go the following path:
C:\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\tools
search for a file named uidcrc.exe and copy it your py2sis directory. After this copy your python script to the same py2sis directory.
- Open the command prompt and enter inside the py2sis whose path is given below:
c:\Nokia\Tools\Python_for_series60\py2sis
- Now your command prompt should show c:\Nokia\Tools\Python_for_series60\py2sis>.
- After this enter the py2sis command like this
C:\Nokia\Tools\Python_for_Series_60\py2sis> py2sis ball.py myfirst.sis --uid=0x07876543 --appname=firstapplication
Where
- ball.py is your python script.
- myfirst.sis is name of your sis file which will be created.
- --uid=0x01234567 is the Symbian UID can be within the test range.
- --appname is the name of your application.
I hope after all these your sis file will be there in the py2sis directory. Here is the Link were py2sis was discussed in the discussion boards
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| S60 | saifulhq | General Symbian C++ | 3 | 2006-12-15 20:02 |
| S60 / J2ME hybrid app | abp_dk | General Symbian C++ | 3 | 2008-07-11 14:58 |
| SIS file corrupt - Why? | nokiandriver | Carbide.c++ and CodeWarrior Tools | 2 | 2007-10-30 19:50 |
| SIP settings for 2nd edition devices | Abhishek_karmakar | VoIP | 0 | 2008-09-29 11:23 |
| Auto Start Up | manjunath | General Symbian C++ | 7 | 2007-05-23 11:22 |
