{"id":600,"date":"2009-08-08T20:40:06","date_gmt":"2009-08-09T03:40:06","guid":{"rendered":"http:\/\/xiehang.com\/blog\/?p=600"},"modified":"2009-08-08T20:40:06","modified_gmt":"2009-08-09T03:40:06","slug":"python-for-symbian","status":"publish","type":"post","link":"https:\/\/xiehang.com\/blog\/2009\/08\/08\/python-for-symbian\/","title":{"rendered":"Python for Symbian"},"content":{"rendered":"
Now … Python time again, since it seems to be the easiest way to develope some leisure stuffs for my new E90.<\/p>\n
So here are things to be installed:<\/p>\n
Install pys60 to handset is pretty straight forward, except you may have to deal with certificate, etc. – check those Symbian forum please, I don’t think my solution is the best (allow to install any software and don’t check certificate at all).<\/p>\n
Now, install ActivePython on Windows box by following instruction, then create a directory for ensymble (let’s say C:\\Ensymble), unzip the openssl.zip to that directory (all 3 files in total), and then the ensymble_xxx.py – I changed the name to ensymble.py so that I need to type less whenever I want to use it. As the last step, put C:\\Ensymble to your environment variable PATH.<\/p>\n
After everything’s done, let’s try the first Python application for Symbian – pick an open source application from PyS60 Application Directory<\/a>, and build it. I was using Magic Video<\/a> as my first test, download the py file, put it somewhere and then run:<\/p>\n ensymble.py py2sis –uid=0x98765432 –appname=”MagicVideo” –caption=”Magic Video” –version=1.0.0 magicvideo.py magicvideo<\/p>\n you will get a .sis file in the current directory and that can be installed to handset.<\/p>\n Remember use uid >0x7fffffff, I didn’t pay attention to the warning message on the screen and this costed me almost half an hour to figure out why the application cannot be installed.<\/p>\n","protected":false},"excerpt":{"rendered":" Now … Python time again, since it seems to be the easiest way to develope some leisure stuffs for my new E90. So here are things to be installed: ActivePython for Windows, at this moment need to use 2.5.x ensymble for Windows, I’m using 0.28 (for Python 2.5) openssl for Windows, remember download openssl.zip pys60, […]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[112,27,120],"_links":{"self":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/600"}],"collection":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/comments?post=600"}],"version-history":[{"count":1,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/600\/revisions"}],"predecessor-version":[{"id":601,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/600\/revisions\/601"}],"wp:attachment":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/media?parent=600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/categories?post=600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/tags?post=600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}