You Are Here:

Community: Developer Discussion Boards

#1 Old delete please - 2006-06-16, 12:54

Join Date: Nov 2004
Posts: 105
rexwal
Offline
Regular Contributor
Cheers simo for such a great extension!
I'm just wondering how do you create a .sis file in such a way that you include the appswitch library and the appswitch library still runs.

The way im doing it is with a directory called deploy so I run
py2sis deploy --uid=0x0FFFFFFF --appname=test

and I keep my python script called default.py
but this way doesnt seem to do anything when I run the selected application, however when I just do a py2sis default.py ..etc.. it works?

Thanks,
rexwal (:
Last edited by rexwal : 2006-06-16 at 14:11.
Reply With Quote

#2 Old Re: Appswitch - 2006-06-16, 15:45

Join Date: Aug 2004
Posts: 290
simo.salminen
Offline
Regular Contributor
Hi,

Copy the extension .pyd to the deploy folder, then it is included in the .sis file and installed on the device.

Note that this installs the .pyd to application folder. This is not exactly "by the book", because pyds should be installed to \system\libs. However, it does not really matter.
Reply With Quote

#3 Old Re: Appswitch - 2006-06-16, 15:48

Join Date: Nov 2004
Posts: 105
rexwal
Offline
Regular Contributor
I put both the .pyd's in the deploy folder and did a py2sis deploy --uid=0x0FFFFFFF --appname=test
with my python script called default.py in the deploy folder, however it wasnt working :l, what did work is when I made a py2sis default.py .. etc.. after I installed the libraries.. but ideally i'd like to have an easy to deploy application!
Reply With Quote

#4 Old Re: Appswitch - 2006-06-17, 02:04

Join Date: Aug 2004
Posts: 290
simo.salminen
Offline
Regular Contributor
Hmm, it should work. Oh well, read this: http://www.mobilenin.com/pys60/info_...pplication.htm and section "B. Modify the mobiLen.pkg file". Add this line to the .pkg:

"your.pyd" -"!:\system\libs\your.pyd"

Then run the makesis as instructed.
Reply With Quote

#5 Old Re: Appswitch - 2006-06-19, 11:54

Join Date: Nov 2004
Posts: 105
rexwal
Offline
Regular Contributor
Wow -- cheers simo worked perfectly , just wondering how hard it was to write the appswitch extension? Like to get it to use further symbian functionality such as launching applications given a UID :l, or can python do this already?
Reply With Quote

#6 Old Re: Appswitch - 2006-06-19, 14:32

Join Date: Aug 2004
Posts: 290
simo.salminen
Offline
Regular Contributor
Well it depends how well you know Symbian c++. If you don't Symbian, and especially if you don't know C++, things are quite hard. I don't think pys60 can do this already.
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

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