Winter Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Huawei H14-231_V1.0 Questions Answers

Page: 2 / 52
Total 695 questions

HCIP-HarmonyOS Application Developer V1.0 Questions and Answers

Question 5

When developing HarmonyOS applications, if the client and server need to communicate across processes, you can use idl to define programming interfaces that are recognized by both.

Options:

A.

True

B.

False

Question 6

When developing an application, a developer uses the WLAN P2P function to realize point-to-point data transmission between devices. Function 2, Create and remove groups, Function 3, Initiate a connection to the peer device.Which of the above functions is correct in the following descriptions?

Options:

A.

To implement function 2, you need to use the createGroup() and removeGroup() interfaces, and you need to ohos.permission.GET_WIFI_INFO permissions

B.

In order to achieve the above functions, you need to initialize the P2P messenger through the init(), interface, and need to request ohos.permssion.GET_WIFI_INFO and ohos.premission.SET_WIFI_INFO permissions.

C.

In order to implement feature 3, connect() needs to be used, and ohos.permission.SET_WIFI_INFO permission needs to be requested

D.

To implement function 1, you need to use the discoverDevices() interface, and you need to request the ohos.permission.SET WIFI INFO permission

Question 7

Which of the following can set the rounded corner effect of the ShapeElement?

Options:

A.

Bin Java code set: int radius =

B.

AttrHelper.vp2px(8)

element.setCornerRadiiArray(new float[]

{radius,radius,radius,radius,radius,radius,radius,radius})

C.

Set in XML:

D.

is set in Java code:

element.setCornerRadius(AttrHelper.vp2px(8))

Question 8

When using EventHandler to implement thread interrogation communication, if EventRurner takes out the InnerEvent event, EventRunner will directly process the event on the new thread.

Options:

A.

True

B.

False

Page: 2 / 52
Total 695 questions