How to send BATTERY_LOW broadcast? should I use sendbroadcast() or s endstickybroadcast? Why?

Answer: use sendStickyBroadCast(), because logically this broadcast has to be available fo
r future users.


Description: We have to use sendStickyBroadCast() because, logically if battery went down, then this information has to be available for applications which may run after some time in future.

No comments:

Post a Comment