New Year Special Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

H14-231_V1.0 Exam Dumps - HCIP-HarmonyOS Application Developer V1.0

Go to page:
Question # 57

Which of the following belongs to the lifecycle of starting a Service Ability?

A.

onStart()→onComrand()→onBackground()→onStop()

B.

onStart()→onCommand()—onForeground()→onBackground()→onStop()

C.

onStart()→onCommand()→onStop()

D.

onStart()→onCommand()→onBackground()→onDisconnect()→onStop()

Full Access
Question # 58

When a developer clicks the exit button of an application to release Page Ability resources, which callback method in the Page Ability lifecycle will be triggered?

A.

onStop()

B.

onlnactive()

C.

onForeground()

D.

onBackground()

Full Access
Question # 59

If a developer wants to achieve the effect of page swiping in an application, which of the following components does the developer need to select?

A.

PageSlider

B.

ToastDialog

C.

webView

D.

ProgressBar

Full Access
Question # 60

In the Page Ability lifecycle of HarmonyOS, when the system creates a Page instance for the first time, which of the following callback methods will be triggered first?

A.

onStart()

B.

onActive()

C.

onInactive()

D.

onStop()

Full Access
Question # 61

In the process of coding, software development engineers need to detect whether the Butfer data is read and whether an exception occurs, which of the following methods can be called?

A.

Errorbuatfer()

B.

Bucferlistencr()

C.

lCodecListener()

D.

ErrorCode()

Full Access
Question # 62

When a developer is developing a game application, in order to display the download progress of game resources, it is necessary to use a circular progress bar, which of the following components can help the developer complete this function?

A.

RoundProgressBar

B.

PageSlider

C.

ToastDialog

D.

ProgressBar

Full Access
Question # 63

WhenthePage of Harmony OS executes the onForeground() callback, which of the following states will the Page return to first?

A.

INITIAL

B.

INACTIVE

C.

ACTIVE

D.

BACKGROUND

Full Access
Question # 64

After a developer sets :ohos:layout_ alignment="horizontal _center" in the Text component, he writes: text.setTranslationX(600) in the code, where is the Text displayed in the parent layout?

A.

level is centered

B.

is horizontally centered and shifted to the right by 600

C.

The parent layout is moved 600 to the top left and right

D.

is horizontally centered and shifted 600 to the left

Full Access
Go to page: