~/talk

Android and the WebView

Talkat droidCon Berlin 2019 · 2019-07-01..07-03· [web-platform, android, security]
slides:none on file

Recommends using Chrome Custom Tabs (AndroidX Browser) for remote HTTPS links, with service warm up to preload pages; enables setWebContentsDebuggingEnabled for Chrome inspector; avoids exposing a local HTTP server and instead serves files via WebViewClientCompat using the reserved domain androidplatform.net and returning WebResourceResponse; uses message-based bridging with createWebMessageChannel rather than addJavascriptInterface; shows an EPUB reader built from local iframes, injected CSS (column layout) and native controls for navigation.

AI-written summary · about

  1. 0:00Introduction to WebView
  2. 5:26When not to use WebView
  3. 7:32Correct uses for WebView
  4. 10:46Debugging WebView content
  5. 16:25WebViewClient essentials
  6. 23:24Bridging JavaScript and Android
  7. 29:00EPUB rendering with WebView
  8. 36:42Do's and don'ts for WebView
  9. 38:06Q&A and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.