BroadcastReceiver is not called after createChooser(context,intent,IntentSender) is executed
- 阅读更多 关于 BroadcastReceiver is not called after createChooser(context,intent,IntentSender) is executed
问题 I want to detect what app the user selects after I present him with a createChooser() dialog. So I have created my BroadcastReceiver subclass like this: import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class ShareBroadcastReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { Log.d("INFORMATION", "Received intent after selection: "+intent.getExtras().toString