daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Sep 22nd, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. showDetailsReceiver = new BroadcastReceiver() {        
  2.     @Override
  3.     public void onReceive(Context context, Intent intent) {
  4.  
  5.     }
  6. };
  7.  
  8. IntentFilter filter = new IntentFilter();
  9. filter.addAction("com.hej.MED_DIG");
  10.            
  11. registerReceiver(showDetailsReceiver, filter);
  12.  
  13. ////
  14.  
  15. Intent intent = new Intent();
  16. intent.setAction("com.hej.MED_DIG");
  17. getContext().sendBroadcast(intent);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top