马上注册,享用更多功能,让你轻松玩转DOSPY论坛-诺亚方舟号
您需要 登录 才可以下载或查看,没有账号?立即注册
x
闲来无聊,想尝试给N95做个应用玩
环境: Python 2.7 (2.5 也尝试了,也不行)
下面是powerShell 信息
----------------------------------
PS D:\sisOut\Python27> D:\sisOut\Python27\python.exe D:\sisOut\Python27\ensymble-0.29\ensymble.py py2sis --uid=0xA0FCC281 --appname="HelloApp" --shortcaption="Hello" --caption="Hello Application" --version=1.0.1 D:\sisOut\Python27\ensymble-0.29\hello.py D:\sisOut\helloNokia.sis -v
ensymble.py: warning: no certificate given, using insecure built-in one
Input file(s) hello.py
Output SIS file D:\sisOut\helloNokia.sis
UID 0xa0fcc281
Application name HelloApp
Version 1.0.1
Language(s) EN
Icon <default>
Short caption(s) Hello
Long caption(s) Hello Application
Install drive <any>
Extras directory <none>
Text file(s) <none>
Certificate <default>
Private key <default>
Capabilities 0x0 (NONE)
Vendor name(s) Ensymble
Autostart on boot No
Run after install No
Heap size in bytes 4096, 1048576
ensymble.py: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr
----------------------------------
hello.py 代码
import appuifw
import e32
def quit():
app_lock.signal()
appuifw.app.title = u"Hello App"
appuifw.app.body = appuifw.Text(u"Hello, Symbian!")
appuifw.app.exit_key_handler = quit
app_lock = e32.Ao_lock()
app_lock.wait()
活也找不到 D:\sisOut\helloNokia.sis 生成的文件
看起来也没影响打包的报错信息,和GPT对话几轮也没得到有用信息,望各位大神帮助
|
|