Which definition will prevent other apps from accessing your Activity class via an intent?

✅  The correct answer is:

  • xml
    <activity android:name=”.ExampleActivity” />

Question:

Which scanner type is capable of producing the highest resolution scans?

Solution:

  • xml
    <activity android:name=”.ExampleActivity” />
  • xml
    <activity android:name=”.ExampleActivity”>
    <intent-filter>
    <action android:name=”android.intent.action.SEND” />
    </intent-filter>
    </activity>
  • xml
    <activity android:name=”.ExampleActivity”>
    <intent-filter>
    <action android:name=”android.intent.action.MAIN” />
    <category android:name=”android.intent.category.LAUNCHER” />
    </intent-filter>
    </activity>
  • xml
    <activity android:name=”.ExampleActivity”>
    <intent-filter>
    <action android:name=”android.intent.action.VIEW” />
    </intent-filter>
    </activity>