Packaging Webkit for webview

BlitzMax Forums/MaxGUI Module/Packaging Webkit for webview

Leon Brown(Posted 2012) [#1]
Is it possible to package the Webkit browser engine with Blitzmax apps? I'm not so interested in doing this for Mac, but don't really want to have the Internet Explorer engine running for Windows users - web developers will all know the nightmare that causes ;-).


skn3(Posted 2012) [#2]
You could look at wrapping a library out there:

http://code.google.com/p/chromiumembedded/

http://berkelium.org/

Last edited 2012


Leon Brown(Posted 2012) [#3]
Sounds like what I need. Any idea of how I would integrate this with a BlitzMax app? I've not used BlitzMax for a while, so excuse me if I'm asking things that are easy to do.


skn3(Posted 2012) [#4]
Depending on how the library is written you would probably need to write some glue code in cpp that blitzmax can speak to. Blitzmax will call the glue code, and the glue code should call the native library. That is a simplified explanation but you will need to have some knowledge of writing stuff in cpp.

Last edited 2012


skidracer(Posted 2012) [#5]
I would guess weeks worth of glue code will be required, you would be far better rethinking your IE prejudice, especially in terms of recent releases.


Leon Brown(Posted 2012) [#6]
Thanks. I will look into it. Not all of my target audience will have the latest version of IE installed, so it would mean testing for lots of compatibility with IE7 and IE8 - that can easily take a week or more, so writing some binding code would resolve the issue as well as allowing for HTML5 compatibility with all installations.