Skip to content

Instantly share code, notes, and snippets.

@javawolfpack
Created June 10, 2015 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save javawolfpack/44f7ba6f34eb64cd6300 to your computer and use it in GitHub Desktop.
Save javawolfpack/44f7ba6f34eb64cd6300 to your computer and use it in GitHub Desktop.
Intent Reciever
//DataReceiver is my Broadcast Reciever Class
intentReceiver = new DataReceiver();
filter = new IntentFilter();
//Add intents to recieve
filter.addAction(Intent.ACTION_CAMERA_BUTTON);
registerReceiver(intentReceiver, filter);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment