探讨:PlayBook上面可以用Adobe AIR的mxml开发GUI界面?

PlayBook MXML与QNX UI开发
本文探讨了在BlackBerry PlayBook上利用Adobe AIR的MXML进行GUI开发的方法,包括如何使用QNX UI组件增强应用界面。此外,还介绍了使用ActionScript 3编码的替代方案,并提供了一些资源链接。

首先,从BlackBerry论坛中的帖子中,可以看到,PlayBook上面应该是支持用Adobe AIR的mxml开发GUI界面。

in MXML the foundation of it looks a lot like HTML but it also incorporates actionscript 3 scripts. Your main application file will be in an .mxml format. There are some playbook specific classes you will not be able to access due to incompatibilty reasons. but there are work around if you look around the forums.

The other alternative is using just actionscript 3 code and structure. Here you dont use any MXML coding and you simply use OOP style coding to get what you want. here you will run into some missing classes such as the MX packages.

There are more differences but those are the basic ones. and according to the last webinar from yesterday, both format of coding are acceptable for the offer. hope that helps and good luck!

http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/BB-playbook-offer-MXML-vs-Air/m-p/673935

from following video, Flash Builder 4.5 + SDK does support mxml GUI dev .

http://devblog.blackberry.com/2011/01/blackberry-tablet-os-sdk-video/

其次,Adobe高人搞了个开源的东东,可以在mxml里面使用PlayBook的QNX UI代码。

Using MXML with QNX UI Components for the PlayBook

http://renaun.com/blog/2010/12/using-mxml-with-qnx-ui-components-for-the-playbook/

代码下载在github上

https://github.com/renaun/FlexMXMLAndQNXUIComponents

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值