刷新并关闭 PyS60 SIS
我为 S60 第二版 FP3 创建了一个 py 脚本,其中包含背景图像、数据库、声音文件,这些文件存储在 c 驱动器上的文件夹中。几个小时后,我成功地将其转换为 sis,并将其发送到我的手机上。
首先,我将sis安装在外部存储器上,但无法工作。我在网上读到它应该与 python 运行时位于同一驱动器上。所以我把它安装在手机内存上,但它只是闪烁然后关闭。
我用数据库制作了另一个 sis 并且它有效,所以我怀疑这可能是因为它无法在文件夹中找到背景图像和声音文件。我怎样才能知道这个问题的原因呢?另外,如何将背景图像和声音文件包含在sis中,以便在安装sis文件时自动安装它们?
I created a py script for S60 2nd Edition FP3 with a background image, database, sound files which are stored in a folder on c drive. After several hours, I have managed to convert it into sis which I sent to my mobile phone.
First, I installed the sis on the external memory and it failed to work. I read online that it should be on the same drive as python runtime. So I installed it on phone memory but it just flashes and then closes.
I made another sis with a database and it worked so I suspect it could be because it cant find the background image and sound files in the folder. How can I know the cause of this? Also, how can I include the background image and sound files with the sis so that they are automatically installed when installing the sis file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须指定脚本内媒体文件的确切位置。
我认为某些 SIS 加壳程序允许在 SIS 内添加文件。
You have to specify the exact location of the media files inside the script.
And I think that some SIS packers allow to add files inside SIS.