Broadcast receiving app:

MainActivity.javaExampleBroadcastReceiver.javaAndroidManifest.xml

Broadcast sending app (BroadcastSender):

ExampleBroadcastReceiver2.javaAndroidManifest.xmlactivity_main.xmlMainActivity.java