搭建S60手机端Python软件运行,开发,发布平台

第一步:搭建手机运行平台

要在S60手机上运行PY开发的软件,首先就要搭建手机PY运行环境.诺基亚手机本身不支持Python,所以要安装Python插件.
PS:一定要安装在C盘!我一开始装E,结果出现了很严重的问题!不过,最近网上发现有E盘版的啦,你可以自己试验一下,哈哈
PythonScriptShell_1_4_5_3rdEd.SIS
PythonForS60_1_4_5_3rdEd.sis
上面两个是运行Python必须的组件,是官方的.
PY插件1.5.2汉化版.sis
这个虽然不是官方的,但是也要安装,因为后面用到的很多工具都依赖于这个组建
这些插件在网上都可以很容易找到,大家可以搜索到最新版的来安装.
好了,这3个软件安装好,你就可以运行Python程序了,论坛上那些基于Python的程序你也都可以安装了.

 

第二步:搭建手机上的开发平台

这里就一个软件,官方名叫做 Ped,汉化名是脚本编辑.它是一个在手机上直接用PY编程的IDE开发环境,非常强大和好用.只可惜受手机键盘和屏目的限制,长时间编程的话,还是在电脑上编辑爽一点.


第三步:下载PythonS60 API参考文档及示例

做PYS60的手机开发,当然离不了相关的API文档.另外,学习编程最好的方法就是研究源代码!下面这个是API文档和100个超级简单的例程,它们会让你受益匪浅的:http://files.cnblogs.com/luckeryin/pys60.rar

 

第四步:编译和打包

程序写好了,如果想发布出去和大家一起分享的话,就应该编译和打包成可以安装的Sis文件,关于这部分的内容请参考本人的一博文:Py代码打包成SIS安装包文件的方法.

 

第五步:给软件签名


S60第三版的程序要求签名后才能安装使用,这一点给程序开发者带来了不少烦恼,还好,我们已有了解决的办法,请有才本人的博文:S60第三版手机软件发布签名问题解决之道

 

最后,到此,一个完整PYS60软件开发完成.如果说还有什么不太明白的地方,请给我留言.

 

<完>

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
塞班60 PYTHON API The Python for S60 Platform (Python for S60) simplifies application development and provides a scripting solution for the Symbian C++ APIs. This document is for Python for S60 release 1.3.13 that is based on Python 2.2.2. The documentation for Python for S60 includes three documents: • Getting Started with Python for S60 Platform [5] contains information on how to install Python for S60 and how to write your first program. • This document contains API and other reference material. • Programming with Python for S60 Platform [6] contains code examples and programming patterns for S60 devices that can be used as a basis for programs. Python for S60 as installed on a S60 device consists of: • Python execution environment, which is visible in the application menu of the device and has been written in Python on top of Python for S60 Platform (see S60 SDK documentation [4]) • Python interpreter DLL • Standard and proprietary Python library modules • S60 UI application framework adaptation component (a DLL) that connects the scripting domain components to the S60 UI • Python Installer program for installing Python files on the device, which consists of: – Recognizer plug-in – Symbian application written in Python The Python for S60 developer discussion board [9] on the Forum Nokia Web site is a useful resource for finding out information on specific topics concerning Python for S60. You are welcome to give feedback or ask questions about Python for S60 through this discussion board. 1.1 Scope This document includes the information required by developers to create applications that use Python for S60, and some advice on extending the platform. 1.2 Audience This guide is intended for developers looking to create programs that use the native features and resources of the S60 phones. The reader should be familiar with the Python

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值