Android/App개발2012. 8. 14. 08:59


JellyBean(4.1) WebKit은 ICS대비 변경 없음

ICS(4.0) Webkit

  • WebKit updated to version 534.30
  • Support for Indic fonts (Devanagari, Bengali, and Tamil, including the complex character support needed for combining glyphs) in WebView and the built-in Browser
  • Support for Ethiopic, Georgian, and Armenian fonts in WebView and the built-in Browser
  • Support for WebDriver makes it easier for you to test apps that use WebView

HoneyComb(3.1) WebKit
  • File scheme cookies
    • The CookieManager now supports cookies that use the file: URI scheme. You can usesetAcceptFileSchemeCookies() to enable/disable support for file scheme cookies, before constructing an instance of WebView or CookieManager. In a CookieManager instance, you can check whether file scheme cookies is enabled by calling allowFileSchemeCookies().
  • Notification of login request
    • To support the browser autologin features introduced in Android 3.0, the new methodonReceivedLoginRequest() notifies the host application that an autologin request for the user was processed.
  • Removed classes and interfaces
    • Several classes and interfaces were removed from the public API, after previously being in deprecated state. See theAPI Differences Report for more information.


HoneyComb(3.0) Webkit
  • New WebViewFragment class to create a fragment composed of a WebView.
  • New WebSettings methods:
    • setDisplayZoomControls() allows you to hide the on-screen zoom controls while still allowing the user to zoom with finger gestures (setBuiltInZoomControls() must be set true).
    • New WebSettings method, setEnableSmoothTransition(), allows you to enable smooth transitions when panning and zooming. When enabled, WebView will choose a solution to maximize the performance (for example, the WebView's content may not update during the transition).
  • New WebView methods:
    • onPause() callback, to pause any processing associated with the WebView when it becomes hidden. This is useful to reduce unnecessary CPU or network traffic when the WebView is not in the foreground.
    • onResume() callback, to resume processing associated with the WebView, which was paused during onPause().
    • saveWebArchive() allows you to save the current view as a web archive on the device.
    • showFindDialog() initiates a text search in the current view.
안드로이드 버전별 WebKit버전
3.0 - AppleWebKit/534.13
2.3 - AppleWebKit/533.1
2.2 - AppleWebKit/533.1
2.1 - AppleWebKit/530.17

Posted by 삼스