Link Details

Link 1052539 thumbnail
User 1141327 avatar

By hmkcode
via hmkcode.com
Published: Oct 21 2013 / 05:57

Android system initiates many system-wide broadcast announcements such as screen turned off and battery is low broadcasts. Also, apps can initiate custom “defined by developers” broadcast. A broadcast is a way to send a message within an application or another application. A BroadcastReceiver is a component that listens and responds to the initiated broadcasts. In this post, we will see how to send custom broadcast and how to declare a broadcast receiver programmatically and using Manifest file to listen to this broadcast.
  • 9
  • 0
  • 326
  • 510

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)



    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax