~/talk

Real-Time Communication in Android

Talkat droidcon Berlin 2024 · 2024-07-03..07-05· [android, web-platform]
links:none on file
slides:none on file

Shows a Kotlin Multiplatform Android app talking to a ketor backend using HTTP, SSE and WebSockets, with a Compose UI offering three buttons for REST, SSE and WebSocket. Demo sends the server time every second over SSE (unidirectional) and uses coroutines, shared flow and an atomic integer to broadcast bidirectional WebSocket messages between two web clients and the Android client. Implements server SSE plugin (ketor 3.0 beta) and works: REST returns a hello, SSE streams ticks, WebSocket sends and receives live updates.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Real-time protocols overview
  3. 2:12HTTP vs SSE vs WebSocket
  4. 3:59Implementation and setup
  5. 5:46Server SSE and WebSocket setup
  6. 8:08Client real-time practices
  7. 10:16UI with Compose Multiplatform
  8. 11:17Live demo SSE and WebSocket
  9. 13:30Summary
~/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.