Different way of send broadcast to other applications

  • We could send broadcast to other applications in 3 ways
  1. sendOrderedBroadcast(Intent, String) method sends broadcasts to one receiver at a time.
  2. sendBroadcast(Intent) method sends broadcasts to all receivers in an undefined order.
  3. LocalBroadcastManager.sendBroadcast method sends broadcasts to receivers that are in the same app as the sender.

Comments

Popular posts from this blog

Kotlin Some important unsorted interview questions and answers

Build Bigger Android Apps, Faster: Why Git LFS Is a Game-Changer for Large Assets

Material Design Components based Android interview questions and answers