我写了一个BroadcastIntent intent = new Intent("jblend.mms.intent.action.SEND_REQUEST",
Uri.parse("content://com.jblend.android.mmsprovider/mms/5"));
sendBroadcast(intent);这种带Uri的Broadcast应该怎么接收
只要能收到Broadcast就行

解决方案 »

  1.   

    使用当前BroadcastReceiver调用onReceive方法试试
    mBroadcastReceiver.onReceive(context, intent);
      

  2.   

    broadcastonreceiver中的onrecevice,对broadcast来说应该不考虑intent里面的都西吧,
      

  3.   

    怎么不考虑,intent里面传递动作
      

  4.   

    配置文件像下面这样配置试试<intent-filter>
    <action android:name="android.intent.action.STORE_REQUEST"></action>
    <category android:name="android.intent.category.DEFAULT"></category>
    <data android:scheme="http"></data>
    </intent-filter>
      

  5.   

    注册了就是收不到啊,不带URI就可以收