You Are Here:

Community: Developer Discussion Boards

#1 Old Application does not open when using py2sis tool - 2006-11-04, 08:08

Join Date: Jun 2006
Posts: 16
daniel.saldanha
Offline
Registered User
Hi,

I have installed the sdk PythonForSeries60_1_2_for_2ndEd_SDK so that i create applications for nokia 6600. I want to create a stand alone application. I followed the instructions as in the site

http://www.mobilenin.com/pys60/info_...pplication.htm

ie "Here is how you make a simple standalone app - a *.SIS file - out of your python script:"

After i installed the sis on the phone and clicked the application icon, the screen just blinked without opening the application.

So i followed the instructions as in "How to make a *.SIS file that includes the python interpreter, so you can distribute your app to people who do not have the python interpreter installed previously on their Nokia Series 60 device:"

When i installed the sis an additional icon (python interpreter) is present in addition to the application icon. This time the application functioned properly.

Is there a way where in i can have only the application icon on the phone as in the former case ?

Thank you,
Daniel
Reply With Quote

#2 Old Re: Application does not open when using py2sis tool - 2006-11-06, 08:50

Join Date: May 2006
Posts: 622
Location: Oulu, Finland
lfd
Offline
Super Contributor
Which phone are you using?

If you have a 3rd edition phone, the tutorial will be only partly correct since the image format is changed and you need to self-sign your application

LFD


Devices:
Nokia E61 3rd Edition - pys60 1.4.0

Tips and modules:
http://www.lfdm.net/thesis
Reply With Quote

#3 Old Re: Application does not open when using py2sis tool - 2006-11-06, 09:15

Join Date: Jun 2006
Posts: 16
daniel.saldanha
Offline
Registered User
Hi LFD,

Thank you for the reply. I am using nokia 6600. I basically want only my application (stand alone) to appear in the phone menu and not the python icon which also gets installed (as per my last post).

I guess nokia 6600 does not have the python interpreter installed by default. Is there a way by which the phone's application menu will show only my application icon without the accompanying python icon ?

Thank you,
Daniel
Reply With Quote

#4 Old Re: Application does not open when using py2sis tool - 2006-11-06, 13:01

Join Date: May 2006
Posts: 622
Location: Oulu, Finland
lfd
Offline
Super Contributor
Python is not installed by default in the device; you have to do it yourself.

Now the tutorial you are using was for an older version of PyS60. If you want to install the complete environment on your phone in you application package, you'll have 2 .sis to include: Python for S60 and the python script shell.

The standalone application, if I got if right, is just a shortcut to run your Python script with the interpreter, so it has to be by installed.

You icon problem now: when you create you standalone application without images, you might get something like a puzzle icon. If you want to have an icon for your application, you need to define 2 icons as described in the tutorial; one for the application menu and the second for your application itself.

I hope this helps

LFD


Devices:
Nokia E61 3rd Edition - pys60 1.4.0

Tips and modules:
http://www.lfdm.net/thesis
Reply With Quote

#5 Old Re: Application does not open when using py2sis tool - 2006-11-06, 14:17

Join Date: Jun 2006
Posts: 16
daniel.saldanha
Offline
Registered User
Hi LFD,

Thank you for the reply. There is no problem in getting my application icon instead of the usual puzzle icon. I have my own icon for my application. I was referring to "How to make a *.SIS file that includes the python interpreter, so you can distribute your app to people who do not have the python interpreter installed previously on their Nokia Series 60 device:" in the link in my previous post. When i followed the instructions here, in addition to my application icon on the menu , i get the python icon (python interpreter). Actually i wanted to avoid having the python icon in the menu. Unfortunately, this is not possible since the phone does not have python interpreter pre installed :-(

Thank you,
Daniel
Reply With Quote

#6 Old Re: Application does not open when using py2sis tool - 2006-11-07, 13:19

Join Date: May 2006
Posts: 622
Location: Oulu, Finland
lfd
Offline
Super Contributor
Have you tried to install only PythonForS60_1_3_12?

If you don't install PythonScriptShell_1_3_12 you won't see the Python launcher from the application menu. And the snake disappear

Still check that you can run your standalone application without it and check if no libraries are missing

LFD


Devices:
Nokia E61 3rd Edition - pys60 1.4.0

Tips and modules:
http://www.lfdm.net/thesis
Reply With Quote

#7 Old Re: Application does not open when using py2sis tool - 2006-11-07, 13:51

Join Date: Jun 2006
Posts: 16
daniel.saldanha
Offline
Registered User
Hi LFD,

Do you have the python icon on your phone in addition to your application icon ? If no then, pls let me know what procedure you followed to get python on the phone without showing the python icon in the phone menu. According to the link in the last post and the Programming_with_Python.pdf (page 37) the python icon appears to come in the menu !! The 1_3_12 is not having some documentation also.

I am asking this because, when applications are being deployed to devices, the accompanying python icon should not appear with our application icon.

Thank you,
Daniel
Reply With Quote

#8 Old Re: Application does not open when using py2sis tool - 2006-11-08, 08:23

Join Date: May 2006
Posts: 622
Location: Oulu, Finland
lfd
Offline
Super Contributor
Well, let's try this:
  1. You remove all python installations on your phone
  2. Then you go to the page project and download the latest PythonForS60 you do not install PythonScriptShell (which give you the Snake icon)
  3. Install PythonForS60 or chip it in the installation package of your application
  4. Install your standalone application a try it


Devices:
Nokia E61 3rd Edition - pys60 1.4.0

Tips and modules:
http://www.lfdm.net/thesis
Reply With Quote

#9 Old Re: Application does not open when using py2sis tool - 2006-11-08, 12:07

Join Date: Jun 2006
Posts: 16
daniel.saldanha
Offline
Registered User
Hi LFD,

Thank you for the solution. It worked and i got rid of the python icon on the phone menu. I downloaded the sis PythonForS60_1_3_12_2ndEd from http://sourceforge.net/project/showf...roup_id=154155 and packaged it with my sis file. After installation my standalone application worked.

Creating the sis file was a long process. As per http://www.mobilenin.com/pys60/info_...pplication.htm , the only change was that PythonForS60_1_3_12_2ndEd.sis was packaged instead of PythonForSeries60.sis (earlier version).

I hope using the older py2sis with the 1.3.12 version to generate the sis file may not cause problem if the features of the 1.3.12 version are used.

Thank you,
Daniel
Reply With Quote

#10 Old Re: Application does not open when using py2sis tool - 2006-11-09, 15:23

Join Date: Oct 2006
Posts: 17
galaktico
Offline
Registered User
Hi,
I downloaded the file PythonForS60_1_3_12_SDK_2ndEdFP3.zip and I uzipped it in the C:\Symbian\8.1a\S60_2nd_FP3\Epoc32 folder. But I cannot find the py2sis file in there
Where can I get it?
Can I use the one from the previous release to make my standalone application?
I tried already, but when I install the sis on the phone, it simply doesn't open
Any idea?
Thanks

Phone N70
pys60 1.3.12
Reply With Quote

#11 Old Re: Application does not open when using py2sis tool - 2006-11-10, 06:32

Join Date: Jun 2006
Posts: 16
daniel.saldanha
Offline
Registered User
Hi,

You can go to the site http://www.mobilenin.com/pys60/info_...pplication.htm and refer "How to make a *.SIS file that includes the python interpreter, so you can distribute your app to people who do not have the python interpreter installed previously on their Nokia Series 60 device:". Replace the PythonForSeries60.SIS with PythonForS60_1_3_12_2ndEd.sis if u dont have python already on the phone. There is no py2sis tool with the 1_3_12 version.

Alternately, if u dont have python on the phone u can first install PythonForS60_1_3_12_2ndEd.sis and then your application.sis file as in "Here is how you make a simple standalone app - a *.SIS file - out of your python script:" in the above site.

(The sis i suggested above is for nokia 6600)

Daniel
Reply With Quote

#12 Old Re: Application does not open when using py2sis tool - 2006-11-10, 11:58

Join Date: May 2006
Posts: 622
Location: Oulu, Finland
lfd
Offline
Super Contributor
galaktico,

you'll get py2sis by downloading the PyS60 source, it's somewhere in a folder

LFD


Devices:
Nokia E61 3rd Edition - pys60 1.4.0

Tips and modules:
http://www.lfdm.net/thesis
Reply With Quote

#13 Old Re: Application does not open when using py2sis tool - 2006-11-10, 12:38

Join Date: Jun 2006
Posts: 16
daniel.saldanha
Offline
Registered User
Hi,

Yes, i found it in the src/py2sis folder of 1_3_12 version. I must have over looked it !!

Daniel
Reply With Quote

#14 Old Re: Application does not open when using py2sis tool - 2008-04-19, 00:02

Join Date: Apr 2008
Posts: 1
ncplus1
Offline
Registered User
I hope using the older py2sis with the 1.3.12 version to generate the sis file may not cause problem if the features of the 1.3.12 version are used.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
open a application naibmys General Symbian C++ 14 2009-05-09 14:03
Bluetooth Application Identifier Tool before Application is Installed on Series 60 asabagh General Symbian C++ 0 2004-10-31 14:13
Bluetooth Application Identifier Tool before Application is Installed on Series 60 asabagh Symbian Networking & Messaging 0 2004-10-31 14:12
Mobile Application Development Tool with Sync Server thiagu74 Symbian Tools & SDKs 0 2004-10-07 09:23
How to open a url (WAP)from an application engrsanjiv General Symbian C++ 0 2002-08-19 13:08

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