Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Android AND-803 Exam - Topic 4 Question 98 Discussion

Posted by Verda on Mar 06, 2026 at 10:16 PM

When you configure your app to receive adds from Ad mediation, you should add the following code:

android:value="@integer/google_play_services_version"/>

Which of the following files you should add this code to?

Suggested Answer: B

Get Premium AND-803 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
26 comments · newest first
JO
Joanna 1 month ago
Definitely not in permission.class either. It's not about permissions.
AR
Argelia 1 month ago
No way, it can't be in activity_main.xml. That's for layout only.
GA
Gayla 2 months ago
Agreed, Manifest.xml makes the most sense. It configures app settings.
LE
Lettie 2 months ago
I think it should go in Manifest.xml. That's where metadata usually lives.
FR
France 2 months ago
I’m confused. Why not activity_main.xml? Isn’t that for layout?
DE
Delisa 2 months ago
I feel like it could be in MainActivity.java too, but Manifest is more appropriate.
RO
Rocco 2 months ago
Agreed! Manifest.xml makes sense for configuration.
KA
Kasandra 2 months ago
I think it should go in Manifest.xml. That's where metadata usually lives.
MA
Matilda 3 months ago
Definitely not permission.class. That’s for permissions, not metadata.
HE
Helene 3 months ago
I’m not sure, but activity_main.xml seems wrong. It’s for layout, not config.
ST
Staci 3 months ago
Agreed! Manifest.xml makes sense for configuration.
HE
Henriette 3 months ago
I think it should go in the Manifest.xml. That's where metadata usually lives.
DE
Desirae 3 months ago
Wait, are you sure? I thought it was something else!
OD
Odette 4 months ago
Yeah, Manifest.xml makes the most sense.
RA
Raylene 5 months ago
No way, it's not in activity_main.xml!
LU
Luisa 5 months ago
I thought it goes in MainActivity.java?
EL
Ellsworth 5 months ago
Definitely in the Manifest.xml file.
HA
Haydee 6 months ago
Yeah, Manifest.xml is the right place for that code!
AI
Ailene 6 months ago
Wait, is it really not in permission.class? That seems odd.
DE
Deeanna 6 months ago
100% sure it's not in activity_main.xml.
CH
Chana 6 months ago
I thought it was supposed to be in MainActivity.java?
JO
Joesph 6 months ago
Definitely goes in the Manifest.xml!
TA
Tawna 6 months ago
I definitely recall that the manifest is where you declare app components and permissions, so B seems like the best choice.
KA
Kandis 7 months ago
It feels like it could be in MainActivity.java or MainActivity.kt, but that doesn't seem right for metadata.
FA
Fairy 7 months ago
I'm not entirely sure, but I remember something about metadata being added to the manifest in a similar practice question.
LI
Linn 7 months ago
I think the code should go in the Manifest.xml file since it deals with app configuration.
0/2000 characters

Save Cancel