嵌入式网络浏览器
我正在寻找Linux嵌入式Web浏览器,或者最好只是一个渲染对象(它不会用于实际浏览,仅用于显示基于Web的GUI)。 要求是:
- 用 C/C++ 编写(占用空间小)
- 支持动态 HTML
- 支持 Java 脚本
- 对库的最小依赖(尽管我知道它不能完全独立)
- 对 X11 不依赖(即使用直接框架 qui 库)
所以到目前为止我只找到了嵌入式Konqueror。欢迎任何建议,商业解决方案可以,但开源更好。
找到了另一个选项QT WebKit,它被选中并满足了我的所有要求。
另一个更新:在我的主板上成功安装并测试了带有 WebKit 的嵌入式 QT 发行版。帧缓冲区的配置是无缝的,触摸屏校准需要一些时间,但最终一切都按预期工作。
我正在进入 java 脚本的奇妙世界:) 我处理更好的内核驱动程序。
另一个更新:我找到了另一个我将来可能会考虑的商业解决方案。 此处提供的嵌入式浏览器。我没有与他们合作,但这是推荐的,因此为了公共记录,我也将其放在这里。
I'm looking for Linux embedded web browser, or preferably just a rendering object (it will not be used for actual browsing, just for displaying web based gui).
The requirements are:
- Written in C/C++ (small footprint)
- Support Dynamic HTML
- Support Java script
- Minimum dependencies on the libraries (although i understand that it can not be completely standalone)
- No Dependency on X11 (i.e working with direct frame qui libraries)
So far i only found Embedded Konqueror. Any suggestions are welcomed, commercial solutions are OK, but open source is preferable.
Found another option QT WebKit which is selected and answers all my requirements.
Another update: Successfully installed and tested embedded QT distribution with WebKit on my board. The configuration of frame buffer was seamless, touch screen calibration took some time, but on the bottom line everything working as expected.
And I'm entering wonderful world of java script :) I handle much better kernel drivers.
Another update: I found another commercial solution that i might consider in the future.
embedded browser from access company here. I did not worked with them, but it was recommend so for public record i put it here as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您可以尝试 Chromium 嵌入式框架(CEF)。它具有 C 和 C++ 接口,并可绑定其他几种语言(Python、.NET、Java)。
https://code.google.com/p/chromiumembedded/
如果您想使用尽可能多的Javascript,你可以尝试node-webKit(在后台使用CEF)。在node-webkit中,您可以直接从DOM使用nodeJS(服务器端javascript)库。
https://github.com/rogerwang/node-webkit
You may try out the Chromium Embedded Framework(CEF). It has C and C++ interface with bindings for several other languages (Python, .NET, Java).
https://code.google.com/p/chromiumembedded/
If you would like to use as much Javascript as possible, you can try node-webKit (Uses CEF under the hood). Within node-webkit you use nodeJS(serverside javascript) libraries directly from the DOM.
https://github.com/rogerwang/node-webkit
您可以尝试使用 DirectFB 版本的 GTK+ 构建 WebKit。
另一种选择是 DirectFB 上的 Firefox 但它似乎尚未准备好。
You may try to build WebKit with DirectFB version of GTK+.
Another alternative is Firefox on DirectFB but it seems not ready yet.
它没有满足您的所有要求,但您是否考虑过 Prism: http://prism.mozillalabs.com/< /a>
it doesn't hit all of your requirements, but have you considered Prism: http://prism.mozillalabs.com/
也许你可以用 Xulrunner 做你想做的事?
您当然可以让它启动一个带有网页的窗口,然后该窗口可以使用 Javascript 执行“操作”。
Perhaps you can do what you want with Xulrunner ?
You can certainly make it start up a window with a web page which can then do "stuff" using Javascript.
既然您没有说它需要免费,Opera for Linux Devices 就很漂亮正是您正在寻找的东西。
Since you didn't say it needs to be free, Opera for Linux Devices is pretty much exactly what you're looking for.