~/talk

MQTT in Android

Talkat Android Summit 2020 · 2020-10-08..10-09· [android]
slides:none on file

Demo shows a working Android client that uses AWS IoT Core as the MQTT broker, authenticates via Cognito, and uses the AWS IoT SDK to connect, subscribe and publish. It demonstrates QoS 0 and 1 only (no QoS 2 on AWS), explains reconnection defaults (auto‑reconnect, exponential backoff starting 4s, max 10 attempts), reports a 128KB payload limit and a practical topic limit (~50), and publishes/receives messages successfully in the app.

AI-written summary · about

  1. 0:00Introduction
  2. 0:16What is MQTT?
  3. 0:52MQTT vs HTTP
  4. 1:46Debugging challenges
  5. 2:41Subscribe mechanism
  6. 3:15Publishing and brokers
  7. 3:55Publishing example
  8. 4:30Quality of Service levels
  9. 5:14QoS 0: Fire and forget
  10. 5:46QoS 1: At least once
  11. 6:49QoS 2: Exactly once
  12. 7:45AWS IoT Core overview
  13. 8:44MQTT manager setup
  14. 9:45Connection parameters
  15. 10:48Authentication methods
  16. 11:55Connection status callbacks
  17. 13:18Default configuration settings
  18. 14:35Understanding clean sessions
  19. 15:35Subscribing and topics
  20. 17:00Unsubscribing from topics
  21. 17:14Publishing messages
  22. 17:59AWS Shadow states
  23. 19:25Payload limitations and logic
  24. 21:59State versioning
  25. 23:42AWS IoT Core policies
  26. 26:07Code demo setup
  27. 29:31Implementing app buttons
  28. 30:47Live testing and logs
  29. 32:30Policy restriction demo
  30. 33:54Topic restriction demo
  31. 36:10Resources and references
  32. 37:00Q&A session
  33. 43:14Conclusion
~/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.