I want to use dynamically registered BroadcastReceiver that has a reference to an Activity so it can modify its UI. I am using Context.registerReceiver() method but. The Intent filters used in registerReceiver(BroadcastReceiver, IntentFilter) and in application manifests are not guaranteed to be exclusive. Android BroadcastReceiver - Tutorial. Lars Vogel (c). You can also register and unregister a receiver at runtime via the Context.registerReceiver(). registerReceiver(BroadcastReceiver,intentFilter); 一般：在onStart中注册，onStop中取消unregisterReceiver 指定广播目标Action ：Intent. 版权声明：本文为博主原创文章，未经博主允许不得转载。 前面我们介绍了Android系统的广播机制，从本质来说，它是. 动态注册registerReceiver:主要就是将广播接收器receiver封装到LoadedApk的InnerReceiver（继承IIntentReceiver接口的binder对象）及广播类型. register receiver in a service. // Registers the receiver so that your service will listen for // broadcasts this.registerReceiver(this. 动态注册registerReceiver:主要就是将广播接收器receiver封装到LoadedApk的InnerReceiver（继承IIntentReceiver接口的binder对象）及广播类型. registerReceiver(BroadcastReceiver receiver, IntentFilter filter). This Context is the same as what the named application gets when it is launched. Register a BroadcastReceiver to be run in the main activity thread. The receiver will be called with any broadcast Intent that matches filter, in the main.