adobe air:如何嵌入air运行时或简单地分发air应用程序?
我的问题很简单:我想创建一个用于桌面(Windows)的 adobe AIR 应用程序。
如果用户没有安装 AIR 运行时怎么办?最新版本的 AIR 现在是否带有嵌入式 AIR 运行时,因此即使没有安装 AIR 运行时也可以使用?
如果没有,分发 AIR 应用程序并确保没有 Air 运行时的人能够运行它的最简单方法是什么?
问候
My question is quite simple: I want to create an adobe AIR application for desktop (windows).
What if an user does not have AIR runtime installed ? Does newest version of AIR come now with EMBEDDED AIR runtime, so it works even for people that do not have AIR runtime installed ?
if not, what would be the simplest way to distribut my AIR application and make sure people that do not have air runtime will be able to run it ?
regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我最近不得不这样做,想确切地知道你刚才问的是什么。
http://www.adobe.com/devnet/air/articles/badge_for_air.html
这就是您需要知道的并将回答您的问题。
然后您需要做的就是将 .air 文件部署到某个服务器上,并将 javascript 代码指向它。
HTH
安东尼
I've had to do this just recently and wanted to know exactly what you just asked.
http://www.adobe.com/devnet/air/articles/badge_for_air.html
That is what you need to know and will answer your question.
All you need to do then is deploy your .air file onto a server somewhere and point the javascript code to it.
HTH
Anthoni
随着 AIR 3.0 SDK 的发布,您现在可以使用 Captive Run Time
这将允许用户在未安装运行时的情况下安装和运行您的 Air 应用程序。
但也有一些缺点。对于移动应用程序(以及类似的桌面应用程序),包括强制运行时可能会使包大小增加大约 10MB。此外,对于桌面应用程序,您必须本地打包应用程序(即
.exe
或.dmg
),但如果用户在第一次安装时没有安装运行时无论如何,他们都无法运行.air
文件。With the Release of the AIR 3.0 SDK you are now able to distribute Air with your application using the Captive Run Time
This will allow a user to install and run your Air application without having the runtime already installed.
There are some downsides however. For mobile applications (and desktop alike) including the captive runtime can increase the package size by around 10MB. Also, for desktop applications, you will have to package the application natively (ie
.exe
or.dmg
) but if the user doesn't have the runtime installed in the first place they can't run the.air
file anyway.