Created
May 27, 2016 18:08
-
-
Save cutiko/291837be707b53de1c2be8916d807784 to your computer and use it in GitHub Desktop.
Simple Android Broadcast
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent broadcast = new Intent(); | |
broadcast.setAction("YourBroadcastKey"); | |
broadcast.putExtra("extraKey", value); | |
sendBroadcast(broadcast); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment