Re: [webkit-dev] How to use webkit ?
First of all : thank you David and Brent :) I'm a little confused by your requirements (perhaps this is just a language issue?) Sorry... I speak english as a spanish cow... ;) I am under Windows but the application I have to develop is for Mac OS and iPhone. The iPhone SDK is current under NDA, so details can't be discussed. However, I think it is safe to say that (even if it was possible) to take an iPhone application and plunk it down on a Mac OS desktop to run it, you would probably not end up with a good user interaction. Even if what I develop is a web application ? You need a Mac to do iPhone development. So this is clear : I can't begin to develop now... -- View this message in context: http://www.nabble.com/How-to-use-webkit---tp18385585p18525598.html Sent from the Webkit mailing list archive at Nabble.com. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
Hi, Trying to develop for a platform that you don't have access to is asking for trouble. Even if you somehow managed to develop for it, there is no way you could do your quality assurance. If your boss wants you to develop for the iPhone and MacOS X, then I would recommend getting the necessary hardware. Are you able to share with us what your project is meant to do? Does the program need to be a client side application, or could you implement this a web site? If you need to create a client side application I would suggest doing is looking at each platform and seeing what is already offered. At that point look at what hooks are necessary to make use of WebKit there. Since Java is not available for the iPhone, you will probably find yourself writing two applications: one for the iPhone and one for the Mac. If you still want to use Java, then you could target the desktop platforms, and then develop for the iPhone separately. Andre On 18-Jul-08, at 05:31 , Nemix wrote: First of all : thank you David and Brent :) I'm a little confused by your requirements (perhaps this is just a language issue?) Sorry... I speak english as a spanish cow... ;) I am under Windows but the application I have to develop is for Mac OS and iPhone. The iPhone SDK is current under NDA, so details can't be discussed. However, I think it is safe to say that (even if it was possible) to take an iPhone application and plunk it down on a Mac OS desktop to run it, you would probably not end up with a good user interaction. Even if what I develop is a web application ? You need a Mac to do iPhone development. So this is clear : I can't begin to develop now... -- View this message in context: http://www.nabble.com/How-to-use-webkit---tp18385585p18525598.html Sent from the Webkit mailing list archive at Nabble.com. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
Hi Andre, Thank you for your post ! Trying to develop for a platform that you don't have access to is asking for trouble. Even if you somehow managed to develop for it, there is no way you could do your quality assurance. If your boss wants you to develop for the iPhone and MacOS X, then I would recommend getting the necessary hardware. Yes, I understand... That's a problem for me too ;) I tried to say it to him... I will try again monday ^^ Does the program need to be a client side application, or could you implement this a web site? The first requirement was to develop a client side application with or without internet connexion. But when he said I want that the application runs on mobile systems too ... it's not the same thing. A super-man-developer [ ;) ] advised me to develop a web application. I tried to find differents solutions to do that ^^ That's why I take a look at webkit solution again (before, I tried to understand GWT and its possibilities). That's one of the solutions which interests my boss. -- View this message in context: http://www.nabble.com/How-to-use-webkit---tp18385585p18531588.html Sent from the Webkit mailing list archive at Nabble.com. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
Hi, On Thu, Jul 17, 2008 at 12:57 PM, Nemix [EMAIL PROTECTED] wrote: Hmm I haven't Mac OS, I have Windows and can't develop on Mac at the moment (... and maybe never for this project ...). And XCode seems not to be available for Windows. I'm a little confused by your requirements (perhaps this is just a language issue?) I thought you had originally said you were targeting Mac OS X and the iPhone for your software. If so, I'm confused why you are wishing to do the development on Windows. So, let's assume I misunderstood, and you wish to develop something to run on Windows, OS X, and the iPhone. In this case, your best bet (as of today) is probably to investigate the Qt tool chain. I believe this is somewhat expensive (~ $3,500 per seat IIRC), but certainly a good deal if you wish to deploy simultaneously on multiple platforms. WebKit is not currently available for use on Windows with an Objective-C interface. No one (to my knowledge) has built it using GNUstep or a similar Objective C infrastructure. As far as I know, Apple itself builds Safari on Windows using C++ and COM calls to interact with WebKit. You might look into the Cocotron project, which supposedly provides a way to build applications on Mac OS X and deploy them on Windows, but I don't think it's a polished distribution ready for end-user development. If I develop my application for iPhone thanks to documents, tools and videos on this page : http://developer.apple.com/iphone/ Will my web application run for Mac OS at 100% ? I am not sure about the answer... so I prefer to ask a confirmation ;) The iPhone SDK is current under NDA, so details can't be discussed. However, I think it is safe to say that (even if it was possible) to take an iPhone application and plunk it down on a Mac OS desktop to run it, you would probably not end up with a good user interaction. Consider that the iPhone doesn't seem to provide a means to cut/paste between applications, storage seems to be sandboxed so applications can't see each other's data, etc. Most users expect to be able to pass data to and from programs on the desktop. Having a Cocoa application is probably a good first step to getting something running on the iPhone, but I don't think it's realistic to hope to build one binary and run it in both places. -Brent ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
Hi Nemix, You need a Mac to do iPhone development. Go ask your boss for a nice MacBook Pro laptop or a Mac Pro tower. Don't skimp on RAM, either. :) http://store.apple.com/ Dave On Thu, 7/17/08, Nemix [EMAIL PROTECTED] wrote: Hi ^^ After a discussion with my boss, I have to study a little more webkit solution. So I looked for webkit solution again since yesterday. Dave, you said : I'm not sure how well Eclipse supports Objective-C. I'd recommend using Xcode, which is the free IDE available for Mac OS X. Hmm I haven't Mac OS, I have Windows and can't develop on Mac at the moment (... and maybe never for this project ...). And XCode seems not to be available for Windows. So I search for something to develop with webkit and Objective-C on Windows. I have had a look on Apple website as Brent said. But they talk about XCode and nothing else (I haven't seen something else but maybe have I forgotten something ^^). I have seen : It is also possible to write Objective-C Cocoa programs in a simple text editor and build it manually with GCC or GNUstep's makefile scripts. http://en.wikipedia.org/wiki/Cocoa_(software) Does it work in my case ? I prefer to develop on a software... Do you know an other solution ? If I develop my application for iPhone thanks to documents, tools and videos on this page : http://developer.apple.com/iphone/ Will my web application run for Mac OS at 100% ? I am not sure about the answer... so I prefer to ask a confirmation ;) Thank you very much ! ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
As David pointed out, the EULA does seem to prevent external use of the WebKit and support DLL's (such as the Windows CoreGraphics implementation). This restriction is what caused by to re-enable the Cairo support so I could use it on a project. As far as the iPhone, however, I believe there is an equivalent web interface element of some kind that allows rendering of HTML; several of the applications you can download are clearly making use of this type of functionality for their display. So, without having detailed knowledge of the iPhone platform, I *think* it provides an HTML rendering widget that is effectively the same as WebKit. There may be some restrictions that makes sense on a mobile platform (perhaps limiting the damage or battery use JavaScript code could perform, for example). Best regards, -Brent ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
After more readings on this subject, I have some others questions. I can use JavaFX as JNI, right ? (only if it works with iphone, I havn't this information... if someone know ^^) Can I use AWT ? If I choose a web browser based on the WebKit (as OWG or Qt), I place it into a Container and use javascript functions to do what I want ? Or it isn't what I have to do ? I thought I can use eclipse to develop my application (as I do usually), and I would like to use it to develop this application. I'm sorry for all of this questions but I'm a newcomer in the world of embedded applications. -- View this message in context: http://www.nabble.com/How-to-use-webkit---tp18385585p18400728.html Sent from the Webkit mailing list archive at Nabble.com. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
On Fri, 7/11/08, Nemix [EMAIL PROTECTED] wrote: After more readings on this subject, I have some others questions. I can use JavaFX as JNI, right ? (only if it works with iphone, I havn't this information... if someone know ^^) Can I use AWT ? Java is not available on iPhone OS. You can't use any Java-related technology. If I choose a web browser based on the WebKit (as OWG or Qt), I place it into a Container and use javascript functions to do what I want ? Or it isn't what I have to do ? That's possible to do in Objective-C (Cocoa Touch) on iPhone OS using a UIWebDocumentView. I thought I can use eclipse to develop my application (as I do usually), and I would like to use it to develop this application. I'm not sure how well Eclipse supports Objective-C. I'd recommend using Xcode, which is the free IDE available for Mac OS X. http://www.apple.com/xcode http://developer.apple.com/tools/xcode/ Dave ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] How to use webkit ?
Hi, I would like to try webkit cause I really need it for a project. I have to develop in Java. But I haven't any idea on how can I start with webkit ?. An IDE is needed (eclispe, ...) ? How can I do ? I'm a very newcomer... Can somebody help me to start please ? I have downloaded the Windows version of the webkit. I would like for example to embed it in a container to display the website I want. What files have I to look and modify (or create...) ? Have I got to use Java or Javascript (I have seen a lot of .js files in the windows package) or something else ? Thanks ! -- View this message in context: http://www.nabble.com/How-to-use-webkit---tp18385585p18385585.html Sent from the Webkit mailing list archive at Nabble.com. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
Hi Nemix, In order to use WebKit with Java, you will have to provide a JNI (Java Native Interface) layer that lets Java talk to WebKit. You'll also have to provide a way for WebKit to draw within a Java application. (This is also a gross oversimplification of what may be required.) Fortunately Sun may have already done most of the work for you, although I'm not sure JWebPane is ready yet: https://lists.webkit.org/pipermail/webkit-dev/2008-June/004055.html Dave On Thu, 7/10/08, Nemix [EMAIL PROTECTED] wrote: Hi, I would like to try webkit cause I really need it for a project. I have to develop in Java. But I haven't any idea on how can I start with webkit ?. An IDE is needed (eclispe, ...) ? How can I do ? I'm a very newcomer... Can somebody help me to start please ? I have downloaded the Windows version of the webkit. I would like for example to embed it in a container to display the website I want. What files have I to look and modify (or create...) ? Have I got to use Java or Javascript (I have seen a lot of .js files in the windows package) or something else ? Thanks ! ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
First of all : thank you :) On the link you give, there is an other link : http://weblogs.java.net/blog/ixmal/archive/2008/05/introducing_jwe.html On this link, it is said : The WebKit architecture consists of two considerable parts. The first one is cross-platform, it is responsible for parsing documents, generating DOM, supporting JavaScript. Another part, platform-dependent, so called port, is intended for communicating with network, rendering graphic content on the screen and other devices, event handling, and other features. JWebPane is a Java port, in which all cross-platform calls are implemented in Java. Does it mean that I have to develop two applications ? One for embedded systems and one other for Mac OS ? Or is it like for a classical J2SE application with different .jar (one for each OS) ? JavaFX that you suggest seems to offer a lot of functionnality. It is very interesting ! Do you know other possibility to compare or is it one of the best to choose ? Thanks again ! -- View this message in context: http://www.nabble.com/How-to-use-webkit---tp18385585p18391180.html Sent from the Webkit mailing list archive at Nabble.com. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
Hi, On Thu, Jul 10, 2008 at 9:09 AM, Nemix [EMAIL PROTECTED] wrote: I would like to try webkit cause I really need it for a project. I have to develop in Java. But I haven't any idea on how can I start with webkit ?. I think your question is far to vague for anyone to help you. It's not clear on what platform you are interested in using WebKit, or even what your goal is. Since you mention Java, you should probably look into Google's Android project, which is using WebKit within a Java context. Building on their work might be the most efficient approach, as they have already set up the necessary infrastructure to call into WebKit from Java and so forth. Good luck, -Brent ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
On Thu, 2008-07-10 at 13:26 -0700, Nemix wrote: supporting JavaScript. Another part, platform-dependent, so called port, is intended for communicating with network, rendering graphic content on the screen and other devices, event handling, and other features. JWebPane is a Java port, in which all cross-platform calls are implemented in Java. Does it mean that I have to develop two applications ? One for embedded systems and one other for Mac OS ? No, unless you want to write the application for Mac OS using the Objective C port which is native for Mac OS. Each 'port' comes with everything you need. When the text says 'platform-dependent' there, it is telling you that there is a 'port' which is specific for Java, as opposed to the one which is specific for C/GTK+ - both will run in multiple OS/Hardware combinations, though. So yeah, you'll have a .jar for each OS/Hardware combination, but your code should be able to remain the same. See you, -- Gustavo Noronha Silva [EMAIL PROTECTED] GNOME contributor: http://www.gnome.org/ ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to use webkit ?
I don't think Android is the answer either. Most of the webkit port is very dependent on the Android OS and is not portable to other java frameworks. I think Brent is right when he said your question is very broad. If you are looking to write a java app that runs on multiple systems, JWebPane is probably what you want. But keep in mind that it probably uses Java graphics which IIRC will be slower than drawing in native code. If you have a particular OS you are developing for, you need to port the network and graphics layers if they haven't been ported to that OS already. Then you need to use JNI to call into the native webkit apis from java and implement the various clients to call back up into java. For example, you could use WebCore/platform/graphics/win if your app runs on Windows and create a WebKit/java directory for the java interface. I would start by looking at the various ports already done. Start with WebCore/platform/* and WebKit/*. The Windows and Mac ports are pretty good starting points for figuring out what you need to implement for your system. Hope this helps, Patrick On Jul 10, 2008, at 4:55 PM, Brent Fulgham wrote: Hi, On Thu, Jul 10, 2008 at 9:09 AM, Nemix [EMAIL PROTECTED] wrote: I would like to try webkit cause I really need it for a project. I have to develop in Java. But I haven't any idea on how can I start with webkit ?. I think your question is far to vague for anyone to help you. It's not clear on what platform you are interested in using WebKit, or even what your goal is. Since you mention Java, you should probably look into Google's Android project, which is using WebKit within a Java context. Building on their work might be the most efficient approach, as they have already set up the necessary infrastructure to call into WebKit from Java and so forth. Good luck, -Brent ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev