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

Google Exam Associate-Android-Developer Topic 3 Question 63 Discussion

Actual exam question for Google's Associate-Android-Developer exam
Question #: 63
Topic #: 3
[All Associate-Android-Developer Questions]

If you added to your build.gradle file a room.schemaLocation:

android {

defaultConfig {

javaCompileOptions {

annotationProcessorOptions {

arguments = ["room.schemaLocation": "$projectDir/schemas".toString

()]

}

}

}

}

Then, you build your app or module.

As a result you got a json file, with such path to it: app/schemas/your_app_package/db_package/DbClass/DB_VERSION.json What are the correct statements about this file? (Choose all that apply.)

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Rosenda
8 months ago
Ha! I bet the answer is going to be something like 'http://schemas.android.com/apk/res/custom' or something equally convoluted. Android development is all about making things as complex as possible.
upvoted 0 times
Kiera
7 months ago
C) http://schemas.android.com/[your package name]
upvoted 0 times
...
Kiera
8 months ago
No, it's not that complex. It's just a different namespace for custom attributes.
upvoted 0 times
...
Kiera
8 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
...
Bernadine
8 months ago
Hmm, I'm not sure. I'll go with C just to be different. Who needs to follow the rules, anyway?
upvoted 0 times
...
Annabelle
9 months ago
I'm pretty sure it's B. The custom attributes are part of your app, so they should belong to your package name.
upvoted 0 times
Roy
7 months ago
B) http://schemas.android.com/apk/[your package name]
upvoted 0 times
...
Janna
7 months ago
I think it's A. The custom attributes should be within the res folder of your package name.
upvoted 0 times
...
German
7 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
Alison
7 months ago
Yes, I agree with you. B is the correct namespace for custom attributes in Android.
upvoted 0 times
...
Tonette
7 months ago
B) http://schemas.android.com/apk/[your package name]
upvoted 0 times
...
Becky
8 months ago
Yes, I agree with B. The custom attributes should be in the apk folder of your package name.
upvoted 0 times
...
Candra
8 months ago
B) http://schemas.android.com/apk/[your package name]
upvoted 0 times
...
Margery
8 months ago
I think it's A. The custom attributes need to be linked to your package name in order to work properly.
upvoted 0 times
...
Marge
8 months ago
I think it's A. It makes sense that the custom attributes would be in the res folder of your package name.
upvoted 0 times
...
Johana
8 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
Brett
8 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
...
Mitzie
9 months ago
I'm not sure, but I think C) http://schemas.android.com/[your package name] could also be a possibility.
upvoted 0 times
...
Fletcher
9 months ago
I think the answer is A. The custom attributes belong to a different namespace, and it makes sense that it would be your package name.
upvoted 0 times
Katlyn
8 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
...
Bernardine
9 months ago
I agree with Francesco, A) makes sense because it specifies the correct namespace.
upvoted 0 times
...
Francesco
9 months ago
I think the answer is A) http://schemas.android.com/apk/res/[your package name].
upvoted 0 times
...

Save Cancel