You Are Here:

Community: Wiki

This page was last modified on 16 March 2009, at 04:59.

Py2sis for S60 2nd edition phones

From Forum Nokia Wiki



ID ... Creation date July 17, 2008
Platform S60 2nd Edition Tested on devices  
Category Python Subcategory Tools


Keywords (APIs, classes, methods, functions): py2sis

Introduction

After writing a successful application in Python, if one needs to convert that PY script into a sis file, then this article will guide one to successfully make a sis file on Windows platform, but this technique is only for Nokia S60 2nd Edition phones.

Requirements

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 opened.
  • Select Advanced tab. Click on Environment Variables button. Another dialog box "Environment Variables" is opened.
  • 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 to 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 the path 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 (0xE0000000...0xEFFFFFFF).
  • --appname is the name of your application.

Additional information

  • Link were py2sis was discussed on the

discussion boards

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia