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
  • 367
  • 513

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.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java