Windows 8桌面应用程序在Javascript中? [英] Windows 8 Desktop Application in Javascript?
问题描述
我知道我可以使用HTML5 / Javascript编写MetroWindows 8应用程序。
但是我可以使用HTML5 / Javascript编写Windows 8桌面应用程序吗?
我看过.hta - 但看起来它不太可能让我从支持那些的设备访问(例如)触摸/加速度计等事情。
我看了几个看似围绕Metro应用程序包装的选项,这些选项允许它们显示在桌面上的窗口中。 />
我希望能够做的是编写一个HTML5 / Javascript应用程序并在桌面上运行它(可能将其打包成一些描述的文件)就像它是一个应用程序。
我开始认为这是不可能的......
I know I can write a "Metro" Windows 8 app using HTML5 / Javascript.
But can I write a Windows 8 Desktop Application using HTML5 / Javascript?
I have looked at .hta - but that looks like it is unlikely to give me access to (for example) touch / accelerometer etc. from a device that supports those things.
I have looked at a few options that seem to be wrappers around "Metro" apps that allow them to be shown in a window on the desktop.
What I would like to be able to do is write an HTML5 / Javascript application and "just run it" on the desktop (perhaps packaging it into a file of some description) as if it were an application.
I am beginning to think it isn't possible...
推荐答案
我听说过 Chromium Embedded Framework [ ^ ]。并查看 CEF创建的应用程序列表 [ ^ ]
替代方案:从HTML5制作Windows exe的框架 [ ^ ]
就此主题为我写一篇文章。我也会稍后尝试CEF。
BTW我在你生日之前打开了这个页面,但我忘了先回复你。小>
编辑
在这个主题上找到更多有用的链接/主题,请查看
HTML5桌面包装/框架 [ ^ ]
将HTML5应用程序作为桌面应用程序分发的解决方案? [ ^ ]
是否有生产就绪的跨操作系统桌面HTML5运行时? [ ^ ]
I heard about Chromium Embedded Framework[^]. And check the list of applications created by CEF[^]
Alternatives : 5 Frameworks to make windows exe from HTML5[^]
Write an article for me on this topic. I'm also gonna try CEF later.
BTW I have opened this page before your birthday but I forgot to reply you earlier.
EDIT
Found few more useful links/threads on this topic, check it out
HTML5 Desktop Wrapper/Framework[^]
Solutions for distributing HTML5 applications as desktop applications?[^]
Is there a production-ready cross-OS desktop HTML5 runtime?[^]
这篇关于Windows 8桌面应用程序在Javascript中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!