Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Huawei H14-231_V1.0 - HCIP-HarmonyOS Application Developer V1.0

Page: 14 / 14
Total 695 questions

The JS UI framework of HarmonyOSis a cross-device high-performance UI development framework that supports declarative programming and cross-device polymorphic UI. Which layer of the JS UI framework mainly completes front-end page parsing, and provides capabilities such as MVVM (Model-View-ViewModel) development mode, page routing mechanism, and custom components.

A.

Front-end frame layer

B.

Engine Layer

C.

Application Layer

D.

Adaptation layer

In the following scenarios, which ones use the voice broadcast function?

A.

Automatically read aloud e-books

B.

Regular weather broadcast

C.

Convert speech to text

D.

Navigation system real-time voice report on the road ahead

After developing a HarmonyOS application, the developerneeds to package the application into an app for publishing it to AppGallery. You can use DevEco Studio to generate a key, in what format is the key stored in the keystore file?

A.

p12

B.

.csr

C.

p7b

D.

.cer

What are the following advantages of the HarmonyOS forwarding architecture?

A.

Support remote service invocation and other capabilities, which can easily design business.

B.

Support different forms of devices, such as mobile phones, tablets, TVs, watches, etc.

C.

Unified flow management UI, supporting device discovery, selection, and task management.

D.

Support multiple applications to be forwarded at the same time.

A HarmamyOS developer created three task distributors, serialtask dispatcher_aand dispatcher_b, and a proprietary task dispatcher dispatcher_s. The developer is experiencing a deadlock while using syncDispatch, which of the following causes could cause this phenomenon?

A.

In the task assigned by the dispatcher_a, the task is dispatched by dispatcher_a again

B.

The thread pool is full

C.

In dispatcher_a assignment tasks, use dispatcher_b to dispatch assignments

D.

On a dedicated thread bound dispatcher_s, use dispatcher_s for syncDispatch

When a HarmonyOS developer makes an FA call to PA, the callAbility interface returns the error "Internal ability not register.", which of the following points needs to be checked correctly?

A.

Check whether the Ability entered on the JS side is 1

B.

Check whether the bundleName and abilityName entered on the JS side are the same as those entered in the AcelnternalAbility inheritance class constructor

C.

In the AceAbility inheritance class, the register method is executed for the AcelnternalAbility inheritance class

D.

Check whether the InternalAbility set on the JS side is 0

Which of the following methods can be used to deal with navigation within the same page?

A.

Present()

B.

PresentForResult()

C.

StartAbility()

D.

StartAbilityForResult()

Regarding the position setting of the Tabs component tab, the following is the wrong description

A.

When barPosition is set to Start (the default value) and the vertical attribute is false (the default value), the tab is located at the top of the container

B.

If barPosition is set to Start (the default value) and the vertical attribute is set to true, the tab is located on the left side of the container

C.

When barPosition is set to End and vertical is set to false (the default), the tab is located at the bottom of the container

D.

When barPosition is set to End and vertical is set to true, the tab is located at the bottom of the container

In order to control the access of a specific interface to the caller, an application confirms that the visitor has the required permissions through verifyCallingPermission. Which of the following descriptions is correct?

A.

If verifyCallingPermission returns a value of 0, the service is not provided

B.

If the caller does not have permission, the service will not be provided

C.

If verifyCallingPermission returns a value of -1. then the service will be provided

D.

If the caller's permission verification is passed, the service will be provided

Which field must the meta service package name end in?

A.

mservice

B.

Any field

C.

hap

D.

har

A developer creates MyAbility with FooAbilitySlice and BarAbilitySlice, and currently FooAbilitySlice is in the foreground and gets focused, and then navigates to BarAbilitySlice, what happens to the lifecycle state in this period?

A.

FooAbilitySlice changes from the INACTIVE state to the ACTIVE state

B.

BarAbilitySlice changes from the INITIAL state to the INACTIVE state first

C.

FooAbilitySlice changes from ACTIVE to INACTIVE

D.

FooAbilitySlice changes from INACTIVE to BACKGROUIND

When designing the application, the developer added a Text component and a Button component, and the development sample is shown below. What layout does the developer not have to choose to place the components?

A.

StackLayout

B.

DependentLayout

C.

DirectionalLayout

D.

TableLayout

When creating an application, which field in the config.json file must be the same as the application package name?

A.

package

B.

name

C.

bundleName

D.

page