Skip to content Skip to sidebar Skip to footer

Broadcast Receiver On App Closed (or In The Background)

I create a simple alarms app and I have two broadcast receivers registered in AndroidManifest.xml (One for receiving alarms and other for rescheduling them on device boot). After s

Solution 1:

You should apply default category

<categoryandroid:name="android.intent.category.DEFAULT" />

Android assign this category to each intent if category isn't specified.

Post a Comment for "Broadcast Receiver On App Closed (or In The Background)"