(1) IntentFilter filter = new IntentFilter(ACTION_A); activity.registerReceiver(mReceiver, filter); filter.addAction(ACTION_B);
(2) IntentFilter filter = new IntentFilter(ACTION_A); filter.addAction(ACTION_B); activity.registerReceiver(mReceiver, filter); Do (1) and (2) have the same effect? Is ACTION_B really registered in (1)? I only find an abstract interface for registerReceiver in Android Source Code. So I do not know the detailed register strategy. Thanks for your help. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

