tezvyn:

Static vs. Dynamic BroadcastReceivers: Implications and Restrictions

Source: developer.android.comintermediate

This tests your knowledge of Android's background execution limits. A good answer defines static and dynamic registration, explains the restrictions since Android 7/8, and gives use cases. A red flag is ignoring the modern API limitations.

This question tests your understanding of Android's background execution limits and component lifecycles. A strong answer first defines static (manifest) vs. dynamic (context-bound) registration. Then, it crucially explains how most implicit broadcasts for static receivers were blocked in Android 7/8 to save resources. Finally, it outlines correct use cases for each. A major red flag is suggesting static receivers for common events without mentioning these modern restrictions.

Read the original → developer.android.com

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Static vs. Dynamic BroadcastReceivers: Implications and Restrictions · Tezvyn