~/talk

Designing Long Lived XMPP(TCP) Connections on Android

Talkat droidconIN 2015 · 2015-12-12..12-13· [android]
links:none on file
slides:none on file

Explains how to maintain persistent XMPP over TCP connections on Android for chat or remote command apps while minimizing battery and network usage. Covers use of wakelocks and other Android APIs and techniques for designing a long-running, low-impact background service.

AI-written summary · about

  1. 0:00Intro
  2. 0:22Harshit Bangar
  3. 0:52What is XMPP?
  4. 2:31Open Protocol
  5. 3:56XMPP and Android
  6. 5:00Design XMPP applications
  7. 5:52Listening for connectivity changes
  8. 6:45Designing for 2g: Optimizations
  9. 8:52Designing for 2g networks: Stream Resumption
  10. 9:57Designing for 2g networks: TLS resumption
  11. 12:28Designing for 29: Compression (XEP-0138)
  12. 13:01Designing for 2g: Privacy List (XEP-0016)
  13. 14:06Summary
  14. 14:58Reference and code sample
~/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.