01 2011 档案
palm基础----8 国际化
摘要:strings.json 中数据是以 key = value 的格式存储的,类似于java中的.properties文件在 resources 目录下创建 ${languageCode} - ${countryCode}Mojo.Locale.strings变量中存放了与当前 系统(国家-语言)有关的strings.json的信息,是一个JSON变量。也可以这样获取 该JSON 变量,这样就可以取任意的 *.json文件名了。Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighli 阅读全文
posted @ 2011-01-19 23:36 TroyZ 阅读(191) 评论(0) 推荐(0) 编辑
palm基础----7 获取系统信息
摘要:1. 获取系统的版本等信息Mojo.Environment.DeviceInfo2. 获取系统支持的语言种类代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->newMojo.Service.Request("palm://com.palm.systemservice",{method:'getPreferenceValues',parameters:{"key":"local 阅读全文
posted @ 2011-01-19 23:26 TroyZ 阅读(217) 评论(0) 推荐(0) 编辑


点击右上角即可分享
微信分享提示