| Reply | « Previous Thread | Next Thread » |
|
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.
|
|
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. |
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
|
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! ![]() |
|
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. |
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
|
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? |
|
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.
|
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |