WEBAPP

来源:互联网 发布:数学模型和算法 编辑:程序博客网 时间:2024/04/27 15:56

WEBAPP是一种趋势,将长期存在,特别是需要本地硬件交互的场合,因为WEB做展示容易,但是不好控制硬件,说有需要APP(本地代码)的结合



http://www.genuitec.com/about/labs-webkit-for-swt/WebKit%20For%20SWT%20Developer%20Guide.html



WebKit for SWT (Win32 only) Developer Guide

1. Introduction

WebKit for SWT is an open-source embeddable Java(tm) WebKit browser component developed by Genuitec and contributed to the Eclipse Blinki Mobile DevKit project. WebKit for SWT can be used in the development of a wide range of Java SWT standalone and RCP applications that require integration of rich internet content, and services.

The WebKit browser engine is one of the hottest most interesting browser technologies. It can be found on both the desktop and smartphones. For example, implementations of WebKit serve as the rendering engine behind Google's Chrome browser and Android mobile web browser, Apple's Safari and iPhone Mobile Safari browsers, Nokia's smartphones and the list grows daily. Much of the positive community vibe around WebKit is due to its early support of HTML5 features such as offline data storage, video and audio elements, CSS3 animation, and a new generation of rip'n fast high performance JavaScript engines such as Google's V8 and WebKit's SquirrelFish.

WebKit for SWT provides the following browser integration and management services:

  • Settings
  • Navigation
  • Rendering
  • Event Management
  • DOM and JavaScript Execution
  • Plugin Management (planned)

WebKit for SWT is a spin-off of the the new MobiOne Mobile Web IDE and contributed to Eclipse to serve as one of the core technologies in the OSS mobile web initiative, Eclipse Blinki Mobile Web DevKit. We have worked to keep the programming model consistent with SWT conventions and minimize configuration requirements. For example WebKit for SWT requires loading of its own native DLLs. We have eliminated the traditionally tedious and error prone setup of these DLLs for your WebKit for SWT application's proper operation, e.g., no need to setup PATH or java.library.path. 

Following are 2 screenshots of Flash websites displayed in the example SWTWebKitBrowser Java app. This Chrome-like example browser application was developed using WebKit for SWT and demonstrates some of the key API usage. See the Example Resources section below for more detail about this and other WebKit for SWT programming resources. 


原创粉丝点击