setData on intent prevents sendBroadcast from working?
<p>I have a BroadcastReceiver registered to listen for the following action..</p>

<pre><code>public static final String MY_ACTION = "com.blah.intent.action.DOSOMETHING";
</code></pre>

<p>And in my code I have</p>

<pre><code>Intent intent = new Intent(MY_ACTION);
sendBroadcast(intent);
</code></pre>

<p>If I use this the broadcast is sent and received fine, however if I add a Uri using setData
before sending the broadcast by adding these lines..</p>

<pre><code>Uri uri = Uri.parse("/sdacrd/myfile");
intent.setData(uri);
</code></pre>

<p>If I setData the broadcast doesn't get received.</p>

<p>Can anyone explain why setting data on the intent prevents broadcasts from working?</p>
