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:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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