如何从浏览器启动 adobe air 应用程序 [英] How to launch an adobe air application from browser
问题描述
有没有办法从浏览器启动 Adobe Air 应用程序?我正在开发一个使用网络摄像头的应用程序,当用户进入我的网站时,我需要启动安装在用户计算机上的这个 adobe air 应用程序.有没有办法做到这一点?
Is there a way to launch an Adobe Air Application from the browser? I am developing an application that uses webcam, and when the user enter on my site, I need to start this adobe air application installed on the user computer. Is there a way to achieve this?
谢谢!
推荐答案
是的,这叫做浏览器调用.
Yes, it's called browser invocation.
这篇文章解释了如何去做吧.重点是您需要在 AIR 应用程序的描述符 xml 中将 allowBrowserInvocation
值设置为 true
并侦听调用事件.
This article explains how to do it. The main point is that you need to set the allowBrowserInvocation
value to true
in the AIR application's descriptor xml and listen for invocation events.
这个post 给出了一个更具体的例子,虽然它有点老了.
This post gives a more concrete example, though it is a tad old.
这篇关于如何从浏览器启动 adobe air 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!