IntentFilter

2
More

Android BroadcastReceiver

  • 2015-02-05

Untuk bagian broadcast: Intent intent = new Intent(); intent.setAction(receiver); intent.putExtra(“pagi”,”Selamat pagi.”); sendBroadcast(intent); Untuk bagian receiver: // Buat receiver. BroadcastReceiver bReceiver = new BroadcastReceiver() {     @Override...