ExamGecko
Home / Huawei / H14-231_V1.0 / List of questions
Ask Question

Huawei H14-231_V1.0 Practice Test - Questions Answers, Page 34

List of questions

Question 331

Report Export Collapse

The library file is the third-party code that the application depends, which are the correct ways to use the following library files?

Create a new module with the source code of the library file as a whole, and the entry directly references the classes in the library file
Create a new module with the source code of the library file as a whole, and the entry directly references the classes in the library file
Put the library files in the libs directory in the form of jar, so, etc., and then reference the dependencies {Implementation project(:mylibrary)} through the build.gradle under the project If the required library files exist in the maven repository, you can configure the project's build.gradle as follows to use Repositories {.}
Put the library files in the libs directory in the form of jar, so, etc., and then reference the dependencies {Implementation project(:mylibrary)} through the build.gradle under the project If the required library files exist in the maven repository, you can configure the project's build.gradle as follows to use Repositories {.}
Maven{ Url 'XXX' // Add a Maven repository address, which can be a local Maven address or a remote Maven address }
Maven{ Url 'XXX' // Add a Maven repository address, which can be a local Maven address or a remote Maven address }
Put the library file in the libs directory in the form of jar.so, and then refer to the dependencies (Implementationproject(: mylibrary)) through the build.gradle of the application module.
Put the library file in the libs directory in the form of jar.so, and then refer to the dependencies (Implementationproject(: mylibrary)) through the build.gradle of the application module.
Suggested answer: B, C, D
asked 18/09/2024
Amy Sukkar
46 questions

Question 332

Report Export Collapse

In HarmonyOS, there are some applications that can call out universal cards, which can bring you the experience of using ().

Swipe up icon, information directly
Swipe up icon, information directly
Multiple sizes, choose at will
Multiple sizes, choose at will
Add desktops and combine them freely
Add desktops and combine them freely
None of the above is true
None of the above is true
Suggested answer: A, B, C
asked 18/09/2024
Emanuel Sifuentes
47 questions

Question 333

Report Export Collapse

Which of the following development languages can a developer use when developing a HarmonyOS smart screen application?

JavaScript
JavaScript
Python
Python
Andriod
Andriod
Java
Java
Suggested answer: A, D
asked 18/09/2024
Adish Narayan
40 questions

Question 334

Report Export Collapse

HarmonyOS Capabilities are divided into two types: Feature Ability and Particle Ability.

Service Ability
Service Ability
Data Ability
Data Ability
Page Ability
Page Ability
Ability Slice
Ability Slice
Suggested answer: A, B
asked 18/09/2024
Bradley Coetzee
35 questions

Question 335

Report Export Collapse

When a developer is developing a smart home application, the Switch component will be used to represent the switch of some devices, and ON should be displayed on the ON status component and OFF should be displayed on the closed state component, what are the following options that can meet the requirements?

Switch btnSwitch=(Switch)findComponentByld(Resource Table.ld_btn_switch); btnSwitch.setStateOffText(OFF); btnSwitch.setStateONText(ON);
Switch btnSwitch=(Switch)findComponentByld(Resource Table.ld_btn_switch); btnSwitch.setStateOffText(OFF); btnSwitch.setStateONText(ON);
<Switch... ... Ohos:text_state_off='ON' Ohos:text_state_on='OFF'>
<Switch... ... Ohos:text_state_off='ON' Ohos:text_state_on='OFF'>
Switch btnSwitch= (Switch)findComponentByld(ResourceTable.ld_btn_switch); btnSwitch.setStateOffText(ON); btnSwitch.setStateONText(OFF);
Switch btnSwitch= (Switch)findComponentByld(ResourceTable.ld_btn_switch); btnSwitch.setStateOffText(ON); btnSwitch.setStateONText(OFF);
<Switch.... Ohos:text_state_off='OFF' Ohos:text_state_on='ON'> </Switch>
<Switch.... Ohos:text_state_off='OFF' Ohos:text_state_on='ON'> </Switch>
Suggested answer: A, D
asked 18/09/2024
Grant Taylor
63 questions

Question 336

Report Export Collapse

When a developer develops a news software, he will use the marquee of the Text component to realize the automatic scrolling of information, and before setting the marquee effect, he needs to set some preconditions for the Text component.

ohos:multiple_lines=false
ohos:multiple_lines=false
ohos:max_text_line=1
ohos:max_text_line=1
ohos:multiple_lines=true
ohos:multiple_lines=true
ohos:max_text_line=2
ohos:max_text_line=2
Suggested answer: A, B
asked 18/09/2024
Raed Alshehri
50 questions

Question 337

Report Export Collapse

If a HarmonyOS application developer wants to achieve the following effects, which of the following combinations can achieve the effect?

Huawei H14-231_V1.0 image Question 337 36940 09182024193000000000

Huawei H14-231_V1.0 image Question 337 36940 09182024193000000000

Huawei H14-231_V1.0 image Question 337 36940 09182024193000000000

Huawei H14-231_V1.0 image Question 337 36940 09182024193000000000

Huawei H14-231_V1.0 image Question 337 36940 09182024193000000000

Huawei H14-231_V1.0 image Question 337 36940 09182024193000000000

Option A
Option A
Option B
Option B
Option C
Option C
Option D
Option D
Suggested answer: A, C, D
asked 18/09/2024
Emmanuel Aminu
49 questions

Question 338

Report Export Collapse

Which of the following positioning capabilities does the location service subsystem of HarmonyOS provide?

WLAN location
WLAN location
GPS
GPS
Beidou
Beidou
Base Station
Base Station
Suggested answer: A, B, C, D
asked 18/09/2024
Mark Hughes
35 questions

Question 339

Report Export Collapse

Ability and InternalAbility are two different ways to call PA (ParticleAbility) by FA (FeatureAbility).

Ability has an independent life cycle
Ability has an independent life cycle
The class inherited by B Ability is ohos.aafwk.ability.Ability
The class inherited by B Ability is ohos.aafwk.ability.Ability
Ability does not need to be registered with the FA
Ability does not need to be registered with the FA
internalAbility can be called by other FAs
internalAbility can be called by other FAs
Suggested answer: A, B, C
asked 18/09/2024
Diogo Vitor
42 questions

Question 340

Report Export Collapse

Which of the following items are involved in migrating Page from device A to device B?

The system calls back the onStartContinuation( ) method of all AbilitySlice instances on the Page on device A and all AbilitySlice instances in its AbilitySlice stack
The system calls back the onStartContinuation( ) method of all AbilitySlice instances on the Page on device A and all AbilitySlice instances in its AbilitySlice stack
requests migration from the Page on Device A
requests migration from the Page on Device A
The system calls back the onCompleteContinuation( ) method of all AbilitySlice instances on the Page on Device A and all AbilitySlice instances in its AbilitySlice stack
The system calls back the onCompleteContinuation( ) method of all AbilitySlice instances on the Page on Device A and all AbilitySlice instances in its AbilitySlice stack
If the migration can be done immediately, the system calls back the onSaveData( ) method of all AbilitySlice instances on the Page on device B and all AbilitySlice instances in its AbilitySlice stack
If the migration can be done immediately, the system calls back the onSaveData( ) method of all AbilitySlice instances on the Page on device B and all AbilitySlice instances in its AbilitySlice stack
Suggested answer: B, C
asked 18/09/2024
Opeyemi Oguntodu
41 questions
Total 705 questions
Go to page: of 71