~/talk

Building for Android O

Talkat Google Developer Days Europe 2017 · 2017-09-05..09-06· [android]
github:shailen
slides:none on file

Android O stops apps from starting background services causing an IllegalStateException if attempted and instead forces use of JobScheduler or Firebase JobDispatcher and the support library JobIntentService as a replacement for IntentService. There is a short grace period of a few minutes and temporary whitelist windows for high priority FCM SMS and notification actions. Implicit manifest broadcasts are restricted while explicit broadcasts and dynamic registration remain allowed. Location in the background is throttled to a few times an hour unless using batching or a foreground service and developers must switch from PendingIntent.getService to getBroadcast or geofencing and opportunistic requests with fastestInterval set to capture frequent points.

AI-written summary · about

  1. 0:00Start
  2. 0:19Building for Android
  3. 3:44System Health
  4. 14:53User Visible
  5. 19:42Background Services
  6. 21:11JobScheduler
  7. 24:24Dynamic Registration
  8. 25:28Firebase Cloud Messaging
  9. 26:11JobintentService V4 Support Lib
  10. 26:49Wakeful BroadcastReceiver
  11. 27:07Help the OS help you!
  12. 28:07Foreground Services Would the user approve
  13. 29:28Do you need to do it?
  14. 33:56Location Limits
  15. 39:34Location Strategies Rethink strategies for pre-O acos
~/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.