中文widgets
hamishwillee
(Talk | contribs) m (Hamishwillee - Tidy wikitext and add Symbian Web Runtime category) |
|||
| (6 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| − | 中文widgets开发指南 | + | [[Category:Lang-Chinese]][[Category:Glossary]][[Category:Symbian Web Runtime]] |
| + | {{ArticleMetaData | ||
| + | |sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] --> | ||
| + | |installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> | ||
| + | |devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') --> | ||
| + | |sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) --> | ||
| + | |platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later --> | ||
| + | |devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) --> | ||
| + | |dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 --> | ||
| + | |signing=<!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer --> | ||
| + | |capabilities=<!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. --> | ||
| + | |keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase --> | ||
| + | |id= <!-- Article Id (Knowledge base articles only) --> | ||
| + | |language=Lang-Chinese | ||
| + | |translated-by= <!-- [[User: XXXXX]] --> | ||
| + | |translated-from-title=<!-- Title only --> | ||
| + | |translated-from-id= <!-- Id of translated revision --> | ||
| + | |review-by=<!-- After re-review: [[User:username]] --> | ||
| + | |review-timestamp=<!-- After re-review: YYYYMMDD --> | ||
| + | |update-by=<!-- After significant update: [[User:username]]--> | ||
| + | |update-timestamp=<!-- After significant update: YYYYMMDD --> | ||
| + | |creationdate=20071017 | ||
| + | |author=[[User:Mawei1981]] | ||
| + | }}中文widgets开发指南 | ||
| − | + | # 安装S60 3rd FP2 SDK,目前只有这版SDK支持Web Runtime Engine,因为据说目前还没有哪款手机支持。 | |
| − | + | # 想好自己要开发的东西 | |
| − | + | # 目录结构:同一目录下,Your_App_Name.html,Your_App_Name.js, Your_App_Name.css,Info.plist,icon.png | |
| − | + | # Info.plist有个模版,nokia官方提供了一个editplus的模版文件,如果你使用editplus,可以把它设定一下。 | |
| − | + | # 开发你的html,js,css。注意都用utf-8,并且都遵循w3c的XHTML规范,不要写出乱七八糟的html来,可以用firefox来调试,有很多extension可以安装。 | |
| − | Your_App_Name.css,Info.plist,icon.png | + | # 定义你的Info.plist. |
| − | + | # 将这个目录打成zip包,rar包我没试过,按照zip压缩算法打包,打完包后手工将后缀名改成wgz.比如your_app_name.zip-->your_app_name.wgz这个样子,这个写个插件是很容易的, | |
| − | + | # : eclipse上肯定会有人写,(没想到还是我来写了Eclipse的) 我预备写个idea的plugin来用,技术也不复杂,nokia也真是,盘符问题都这么多年了也没 | |
| − | + | #: 解决,这回又来个手工改后缀。 | |
| − | + | # 将刚才的wgz文件拷贝到\Symbian\9.3\S60_3rd_FP2_Beta\epoc32\winscw\c\Data\Others | |
| − | + | # 打开模拟器,到文件管理中找到刚才这个wgz文件,然后点击,系统提示你安装,你就安装吧,现在你可以到系统的installation中去使用你这个widget了 | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Latest revision as of 05:07, 23 November 2011
文章信息
- 安装S60 3rd FP2 SDK,目前只有这版SDK支持Web Runtime Engine,因为据说目前还没有哪款手机支持。
- 想好自己要开发的东西
- 目录结构:同一目录下,Your_App_Name.html,Your_App_Name.js, Your_App_Name.css,Info.plist,icon.png
- Info.plist有个模版,nokia官方提供了一个editplus的模版文件,如果你使用editplus,可以把它设定一下。
- 开发你的html,js,css。注意都用utf-8,并且都遵循w3c的XHTML规范,不要写出乱七八糟的html来,可以用firefox来调试,有很多extension可以安装。
- 定义你的Info.plist.
- 将这个目录打成zip包,rar包我没试过,按照zip压缩算法打包,打完包后手工将后缀名改成wgz.比如your_app_name.zip-->your_app_name.wgz这个样子,这个写个插件是很容易的,
- : eclipse上肯定会有人写,(没想到还是我来写了Eclipse的) 我预备写个idea的plugin来用,技术也不复杂,nokia也真是,盘符问题都这么多年了也没
- 解决,这回又来个手工改后缀。
- 将刚才的wgz文件拷贝到\Symbian\9.3\S60_3rd_FP2_Beta\epoc32\winscw\c\Data\Others
- 打开模拟器,到文件管理中找到刚才这个wgz文件,然后点击,系统提示你安装,你就安装吧,现在你可以到系统的installation中去使用你这个widget了

