Changes

Jump to: navigation, search

Android Broadcast Intents and Broadcast Receivers

No change in size, 16:15, 4 July 2014
Creating the Example Application
Click Finish to create the new project.
Once the new project has been created, locate and load the activity_send_broadcastfragment_send_broadcast.xml layout file and either in the Graphical Layout tool or XML editor replace the TextView object with a Button view. Move the button to the center of the display and change the text so that it reads “Send Broadcast”. Right-click on the button in the Graphical Layout tool and select the Other Properties -> All by Name -> onClick… menu option and enter the method name broadcastIntent into the resulting dialog.
== Creating and Sending the Broadcast Intent ==

Navigation menu