How can I embed a WebView (Embedded Web browser) inside a Delphi MacOS application?
It does not appear the webkit headers are included in XE2.
Have you tried the TWebBrowser control? This control works in the iOS environment and you can simply set it's URL or use the Navigate function.
Have you looked at Chromium Embedded Framework? It might be kinda heavyweight if you just want a view with some HTML, but they have bindings for Delphi. You get access to an up to date chrome webkit/blink browser with V8.
Related
The new Microsoft Edge browser has built-in support for Adobe Flash. The updated WebView control in the Windows 10 SDK utilizes Microsoft Edge as its engine.
I am trying to figure out how to enable the WebView control to render Adobe Flash content from a website in a Universal Windows App (either a Hosted Web App or a Packaged Web App).
Any ideas or pointers would be much appreciated.
Thanks.
WebView doesn't use Edge as the engine but uses IE11. Quote from the docs - "WebView always uses Internet Explorer 11 in document mode".
It also doesn't support any plugins or such, which would include Flash.
Full run of caveats from the control doc:
It does not support any ActiveX controls or plugins like Microsoft
Silverlight or Portable Document Format (PDF) files. Additionally,
WebView does not support some HTML5 features including AppCache,
IndexedDB, programmatic access to the Clipboard, and geolocation.
More "tidbit" reading up at https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.webview.aspx .
Enjoy. Hope this helps. Healy in Tampa.
On Universal application, the webview is using edge now but it does not change anything regarding plugins.
Here is what it says from the MSDN :
In apps compiled for Windows 10, WebView uses the Microsoft Edge
rendering engine to display HTML content. In apps compiled for Windows
8 or Windows 8.1, WebView uses Internet Explorer 11 in document mode.
It does not support any ActiveX controls or plugins like Microsoft
Silverlight or Portable Document Format (PDF) files.
I am using XCode IDE for developing a web browser desktop app. The app is very simple and it uses UiWebView user control to display a web page content.
I am running into some issues with web page with specific version of web kit rendering engine that UiWebView user control uses. The UiWebView user controls load different web kit on different Mac OS (not sure how it was loaded).
The question I am having are:
How do I specify the web kit rendering engine for the UiWebView user control? Can I overwrite the default web kit engine?
If it is possible to use the my own UiWebView user control based on the version of web kit I choose.
Thank you in advance!
derek
In Windows, is there a native way to display PDF files and simple websites?
On Mac, both tasks are very simple:
[[PDFView ...] setDocument:[PDFDocument ...]];
[[[WebView ...] mainFrame] loadRequest:[NSURLRequest ...]];
Is there anything comparable on Windows? From which version?
There is nothing native in Windows for embedding a PDF document in an application. You would have to host a third-party ActiveX/COM container, such as from Adobe Acrobat, to handle that.
For a webpage, you can host Internet Explorer's WebBrowser control in your app. Some third-party browsers, like Mozilla and FireFox, also support hosting in apps.
Or, you could use the ShellExecute() function to open a given document/url in its default external application instead of hosting it inside of your own app.
I was wondering if there is a way that I can embed webkit or ie8 in control in vb6. Vb6 because I want the application to run independent of any framework. And the app has to be standalone.
The application should work even if
the client don't have ie8
installed(I i should use some dll or
something i guess)
The application
should be standalone.
Any suggestions would be really helpful... All I want to make is a chromeless full screen browser with good javascript and css support, so that I can warp my html and run in it.
Embedding Webkit in a Visual Basic Application
http://vb.wikia.com/wiki/Embedding_WebKit
I've seen an XUL-based application recently that supposedly works on the desktop. Isn't XUL the Firefox language? I thought it wouldn't work on anything other that Firefox and certainly wouldn't work as a desktop application.
Can someone who knows more about XUL confirm its compatibility with other browsers (IE, Chrome, etc.) and if it runs as a desktop application, its compatibility with operating systems (Windows, Mac, Linux)
check out http://en.wikipedia.org/wiki/XULRunner. it was created to run xul applications like firefox. songbird is also based in XUL. for more detail see this SO question.
to actually answer the real question, yes, desktop apps can be built in xul, as firefox is. the wiki page i linked to even points to a video game being built using it. at its core its just another application framework.
XUL is a descriptive language for UI used in Firefox but also used in other mozilla apps, like Thunderbird for example
There is a projet named Xul Runner which allow using XUL for desktop apps (see Pencil for example).
AFAIK, all Mozilla apps are compatible with Windows, Mac, Linux and other system for some.
XUL is a user interface language. It was created originally for mozilla/firefox, but is also used by thunderbird.
The Gecko layout engine is what renders XUL and any application that uses this engine can be built with it. See XUL Runner.
The layout engine has been written with cross platform concerns, so it runs on Windows, Linux and Macs.
XUL only works on xulrunner, and Firefox is built on top of xulrunner. Other applications are built on xulrunner (e.g. Thunderbird). You can also build applications on top of xulrunner.