简体   繁体   English

有没有办法在只有JS / HTML的AIR应用程序中使用Webkit浏览器?

[英]Is there a way to have a Webkit browser within an AIR app with JS/HTML only?

I want to build an AIR app and embed a webkit browser while not using flex/flash, just Javascript and HTML. 我想构建一个AIR应用程序并嵌入webkit浏览器,而不使用flex / flash,只需要Javascript和HTML。 Is it possible? 可能吗? If so, how? 如果是这样,怎么样? If not, why not? 如果没有,为什么不呢?

AFAIK AIR includes a webkit instance, so you can definitely make html-based AIR apps, here's Adobe's instructions for doing it in Dreamweaver: AFAIK AIR包含一个webkit实例,因此您绝对可以创建基于html的AIR应用程序,这是Adobe在Dreamweaver中执行此操作的说明:

http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7f7f.html http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7f7f.html

and here's how to do it with the SDK: 以下是使用SDK的方法:

http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7ecc.html http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7ecc.html

Yes, it's possible. 是的,这是可能的。 There's no need to embed WebKit, as it's baked into Adobe AIR. 没有必要嵌入WebKit,因为它已经融入了Adobe AIR。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM