Broadcast Receiver Is Not Working In Lollipop After Application Closed From Task Manager
Solution 1:
Please see the following,
Android Broadcast receiver not executed on application close
I also think that you might want to read up on how to set the priority. Please read the following,
AndroidManifestIntentFilter_priority
int AndroidManifestIntentFilter_priority Specify the relative importance or ability in handling a particular Intent. For receivers, this controls the order in which they are executed to receive a broadcast (note that for asynchronous broadcasts, this order is ignored). For activities, this provides information about how good an activity is handling an Intent; when multiple activities match an intent and have different priorities, only those with the higher priority value will be considered a match.
Only use if you really need to impose some specific order in which the broadcasts are received, or want to forcibly place an activity to always be preferred over others. The value is a single integer, with higher numbers considered to be better.
Must be an integer value, such as "100".
This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.
This corresponds to the global attribute resource symbol priority.
Constant Value: 2 (0x00000002)
Post a Comment for "Broadcast Receiver Is Not Working In Lollipop After Application Closed From Task Manager"