Menu

Webkit

2005-06-15
2013-03-07
  • James Setaro

    James Setaro - 2005-06-15

    Dmitry,

    I think the project is great!  I have been looking for something like this for a long time and I am happy to see the fine use of cocoa and the webkit through Java.

    I plan on investigating further and may use something like this to play flash in my java application, but I'm not too familiar with webkit out in the wild with different versions of webkit and flash.

    I saw this on apple's site to determine the webkit version installed:

    + (BOOL)isWebKitAvailable
    {
        static BOOL _webkitAvailable=NO;
        static BOOL _initialized=NO;
        if (_initialized)
            return _webkitAvailable;

        NSBundle* webKitBundle;

       webKitBundle = [NSBundle bundleWithPath:@"/System/Library/Frameworks/WebKit.framework"];

        if (webKitBundle) {
            _webkitAvailable = [webKitBundle load];
        }

        _initialized=YES;

        return _webkitAvailable;

    }

    But I am unsure as to what OS versions support webkit or how to install webkit if it is not present.    I downloaded the webkit source from http://webkit.opendarwin.org/ and plan on looking into it more. 

    Do you have any advice or know of any problems with the flash?

    Also,
    For whatever reason I had some problems getting the application to build correctly in the projects that you posted.  I ended up creating my own JNI application project, but it seems to work great.

    Thanks for the great work!

    James

     
    • Dmitry Markman

      Dmitry Markman - 2005-07-04

      Hi, James
      you can play flash via quicktime for java
      pro: you can communicate with flash movie
      con: it supports only flash5

      I'm not sure how you can communicate with the flash movie via webkit but it can play latest flash version

       
    • James Setaro

      James Setaro - 2005-07-05

      Quicktime seems to unstable to ensure that it will support a production level application.

      I still have to look into distributing webkit for older macs, but the samples that I have viewed using webkitjava have all looked great.  I know that Flash is distributed with Mac OS X, but I also wonder if there is an easy way to get the plugin version that is installed.

      I'm surprised more people aren't posting here yet, this project rocks.

      James  

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.