android: are non-manifest broadcast receivers exported?
<p>if i register a broadcast receiver say in my activity like this,</p>

<pre><code>@Override
protected void onResume() {
    super.onResume();

    myReceiver = new BroadcastReceiver() { ... };
    IntentFilter filter = new IntentFilter("com.example.MY_ACTION");
    registerReceiver(myReceiver, filter);
}
</code></pre>

<p>is this receiver exported? if another app broadcasts <code>com.example.MY_ACTION</code>, will it be received by <code>myReceiver</code>?</p>

<p>if it is, i assume i need to use the form of <code>registerReceiver()</code> that accepts a string permission, and then define that permission in my manifest, giving it a high protection level (such as signature). is that correct? is there a simpler way?</p>

<p>thanks.</p>
