~/talk

Build effective OEM-level apps on Android Things

Talkat Google I/O 2018 · 2018-05-08..05-10· [android, embedded-and-hardware]
slides:none on file

Android Things is a managed variant of Android that grants permissions via the Android Things Console, not runtime dialogs, and often runs on ~512 MB devices so per-process heap is small (check ActivityManager.getMemoryClass). Best practices: split firmware into multiple APKs to avoid one-process heap limits, run the primary UI as the HOME activity that auto-restarts on boot, and connect background functionality with bindService from Application to protect it from the low-memory killer. Avoid BOOT_COMPLETED, START_STICKY and startService; use adb -g or Gradle installDebug to grant permissions and deploy modules.

AI-written summary · about

  1. 0:00Introduction to Android Things
  2. 2:10Architecture Differences
  3. 3:05Handling UI and Permissions
  4. 5:20Development Best Practices
  5. 6:45Activity Lifecycle Management
  6. 9:07Memory Constraints and Tips
  7. 11:26Multi-Process Architecture
  8. 14:09Background Processes
  9. 16:37Bound Services for Stability
  10. 21:04Implementing Bound Services
  11. 23:05Android Studio and Tooling
  12. 25:49Review 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.