View Single Post
  #1 (permalink)  
Old 02-25-2008, 01:15 PM
jinxy2129 jinxy2129 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 2
Reputation: 10
jinxy2129 is on a distinguished road
Default Symbian S60 3rd edition problem programming in python

Hello! I would really appreciate your help. So i want to create a stanalone application from a python file. Here is the process: i have the .py file , name shield.py and the.mbm file for the icon, named shield.mbm and the aif file named Shield.aif. The content of the .rss file from which i created the .aif is:

"
// Shield.rss
#include <aiftool.rh>

RESOURCE AIF_DATA
{
caption_list=
{
// You need to change in the next 2 lines mobiLen to the name of your own app
CAPTION { code=ELangEnglish; caption="Shield"; },
CAPTION { code=ELangFrench; caption="Shield";} // to work round an AIFTOOL bug, you need to have at least
// one language mentioned here
};

// You need to replace the following app uid with your own applications UID.
app_uid=0xA0001234;

// Put here the number of icons (not including the masks)
num_icons=2;
}

"

The UID is random and it does not mean anything.

Than i makesis and create the .pkg file

Here is Shield.pkg file content:
"
;
; Standalone Python for S60 app
;
;Languages
&EN
;
;
#{"Shield"},(0xA0001234),1,0,0
;
;Supports Series 60 v 2.0
;
(0x101F7961), 0, 0, 0, {"Series60ProductID"}
;
;Vendor
%{"MyVendor"}
:"Jinx"
; Files to install:

"default.py" -"!:\system\apps\Shield\default.py"
"Shield.app" -"!:\system\apps\Shield\Shield.app"
"Shield.rsc" -"!:\system\apps\Shield\Shield.rsc"
"Shield.aif" -"!:\system\apps\Shield\Shield.aif"

"

than i makesis, sign the sis file, install it on the phone, it accepts my certificate, it installs and the installer blocks when the bar is at about 50% and it says unable to install. What should i do? 10x!
Reply With Quote
Sponsored Links