Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><strong>android:exported</strong></p> <p><code>Whether or not the activity can be launched by components of other applications — "true" if it can be, and "false" if not. If "false", the activity can be launched only by components of the same application or applications with the same user ID.</code></p> <p><code>The default value depends on whether the activity contains intent filters. The absence of any filters means that the activity can be invoked only by specifying its exact class name. This implies that the activity is intended only for application-internal use (since others would not know the class name).</code></p> <p><code>So in this case, the default value is "false". On the other hand, the presence of at least one filter implies that the activity is intended for external use, so the default value is "true". This attribute is not the only way to limit an activity's exposure to other applications. You can also use a permission to limit the external entities that can invoke the activity (see the permission attribute).</code></p> <hr> <p>As you are using <code>intent-filter</code>whatever <code>activity</code> that satisfies your <code>intent-filter</code> can open up your <code>activity</code>.</p> <hr> <p><em><strong>To Fully restrict your activity to use by another application</em></strong></p> <p><strong>1.</strong><code>Don't include any intent-filter</code></p> <p><strong>2.</strong><code>Add android:exported="false" inside your &lt;activity&gt; tag</code> </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload