0 votes
140 views
in android by (0 points)
closed by
Which definition will prevent other apps from accessing your Activity class via an intent?

 A
    <activity android:name=".ExampleActivity" />
 B
    <activity android:name=".ExampleActivity">
        <intent-filter>
            <action android:name="android.intent.action.SEND" />
        </intent-filter>
    </activity>
 C
    <activity android:name=".ExampleActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
 D
    <activity android:name=".ExampleActivity">
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
        </intent-filter>
    </activity>
closed

1 Answer

0 votes
by (0 points)
 
Best answer
a

2.8k questions

2.8k answers

0 comments

76 users

Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...