TintBrowser icon indicating copy to clipboard operation
TintBrowser copied to clipboard

Old webview for Kitkat.

Open equeim opened this issue 11 years ago • 2 comments

Is it possible to build browser with integrated webview for android 4.4 (kitkat now uses chromium webview which is a lot slower and doesn't support text reflow)

equeim avatar Jan 25 '14 20:01 equeim

I'm not sure this is even possible... Or it is ? I may have a look, but i doubt it.

Anasthase avatar Jan 28 '14 19:01 Anasthase

@Anasthase It's not yet possible but have been requested in the Android bugtracker. However, as 4.4 is already released and the switch to Chromium WebView was a heavy change, getting the legacy WebView will only be possible in next versions. (And anyway, it's unlikely Google rolls back their changes even if it's highly requested) A workaround would be to bundle a compiled WebKit library and its wrapping Java code, it has advantages but more disadvantages:

  • :+1: Full control over the WebView (i.e. direct DOM & script interaction, middle/right click management)
  • :+1: Up-to-date WebKit (yay, CSS3D and WebGL!)
  • :-1: Heavy codebase to copy
  • :-1: WebKit's .so weighs like 15 Mb
  • :-1: It must be compiled for ARM, ARM64, MIPS, x86 and x86-64 to support all devices, this would split Tint into multiple APKs (one for each arch)

ElementW avatar Jan 29 '14 19:01 ElementW