ExamGecko
Home / Google / Associate Android Developer / List of questions
Ask Question

Google Associate Android Developer Practice Test - Questions Answers, Page 10

Add to Whishlist

List of questions

Question 91

Report Export Collapse

If you want get a debuggable APK that people can install without adb, in Android Studio you can:

Become a Premium Member for full access
  Unlock Premium Member

Question 92

Report Export Collapse

To build a debug APK, you can open a command line and navigate to the root of your project directory. To initiate a debug build, invoke the assembleDebug task:

gradlew assembleDebug

This creates an APK named [module_name]-debug.apk in

[project_name]/[module_name]/build/outputs/apk/

Select correct statements about generated file. (Choose all that apply.)

Become a Premium Member for full access
  Unlock Premium Member

Question 93

Report Export Collapse

Building your app from the command line, if you have a "demo" product flavor, then you can build the debug version with the command:

Become a Premium Member for full access
  Unlock Premium Member

Question 94

Report Export Collapse

If no any folder like res/anim-<qualifiers>, res/drawable-<qualifiers>, res/layout-<qualifiers>, res/raw-<qualifiers>, res/xml-<qualifiers> exist in the project. Which folders are required in the project anyway? (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 95

Report Export Collapse

Assume that an app includes a default set of graphics and two other sets of graphics, each optimized for a different device setup:

res/drawable/

Contains default graphics.

res/drawable-small-land-stylus/

Contains graphics optimized for use with a device that expects input from a stylus and has a QVGA low-density screen in landscape orientation.

res/drawable-ja/

Contains graphics optimized for use with Japanese.

What happens if the app runs on a device that is configured to use Japanese and, at the same time, the device happens to be one that expects input from a stylus and has a QVGA low-density screen in landscape orientation?

Become a Premium Member for full access
  Unlock Premium Member

Question 96

Report Export Collapse

Assume that you have the following situation:

The app code calls for R.string.text_a

Three relevant resource files are available:

- res/values/strings.xml, which includes text_a in the app's default language, in this case English.

- res/values-mcc404/strings.xml, which includes text_a in the app's default language, in this case English.

- res/values-hi/strings.xml, which includes text_a in Hindi.

The app is running on a device that has the following configuration:

- The SIM card is connected to a mobile network in India (MCC 404).

- The language is set to Hindi (hi).

Which is the correct statement below?

Become a Premium Member for full access
  Unlock Premium Member

Question 97

Report Export Collapse

What is the placeholder tag <xliff:g> used for?

Become a Premium Member for full access
  Unlock Premium Member

Question 98

Report Export Collapse

Choose the most correct statement.

Become a Premium Member for full access
  Unlock Premium Member

Question 99

Report Export Collapse

Select correct statements about Hardware Abstraction Layer (HAL). (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 100

Report Export Collapse

Custom views and directional controller clicks. On most devices, clicking a view using a directional controller sends (to the view currently in focus) a KeyEvent with:

Become a Premium Member for full access
  Unlock Premium Member
Total 128 questions
Go to page: of 13
Search

Related questions