Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

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

Page: 8 / 14
Total 695 questions

If the user displays the navigation information on the mobile phone and the smart watch at the same time, if the smart watch is out of power, causing the navigation information to terminate the display, which callback method will the navigation application on the mobile phone receive the termination notification?

A.

onCompleteContinuation

B.

onRestoreData

C.

onRemoteTerminated

D.

onSaveData

When a developer receives a new product demand and asks users to remake old documents such as paper letters into electronic versions, the application can improve the remake effect of the old documents and make the work more correct. What kind of AI-enabled capabilities can be leveraged by HarmonyOSto achieve this?

A.

Text image is super-resolved

B.

Image super-resolution

C.

Document detection correction

D.

General character recognition

The logs queried by a developer are as follows. HiLog.warn(LABEL, "Failed to visit %(private) s,reason:%(public}d.",url, exrno); What kind of level does the log belong to?

A.

WARN

B.

FalseCode()

C.

INFO

D.

DEBUG

In the JS (JavaScript) UI framework, which layer is connected to the system platform platform by abstracting the platform layer and providing an abstract interface?

A.

Application Layer

B.

Front-end frame layer

C.

Engine Layer

D.

Platform adaptation layer

HarmonyOSsupports developers to customize permissions in the "reqPermissions" field to access permission-protected objects

A.

config.json

B.

ability_main.xml

C.

MainAbilityS1ice.java

D.

string.json

The HarmonyOS video module supports the development of video services and the opening of the ecosystem, allowing developers to easily play, operate, and develop new functions of video media through the open interfaces. Video playback includes playback controls, playback settings, and playback queries, such as start/stop playback, playback speed settings, and whether to loop playback. When developing a video playback feature, which of the following steps is correct?

A.

Create a Player instance→construct a data source object and set the media source→call method prepare(),→call method play(), call method stop(→→call method release()

B.

Create a Player instance → call the prepare() → play() →construct the data source object and set the media source→call the stop()→release().

C.

Construct a data source object and set the media source→create a Player instance→call method play(),→call method prepare(),→call method stop(→call method release()

D.

Call the prepare() method→create a Plawer instance→construct a data source object and set the media source→call method→create a Player instance, Play()→call method stop()→call method release()

In HarmonyOS, which of the following scenarios is the application responsible for instantiation?

A.

Start an AbilitySlice by navigating

B.

reads a novel through a web page and accidentally clicks on an advertisement, which jumps directly to the app store to request the download of a certain game

C.

Jump to another page via a hyperlink

D.

An app page has messages, contacts, settings, etc., and switch between them

A developer wants to implement a registration and login function, and there are two pages, namely registration page A and login page B. When jumping from registration page A to login page B, which of the following is correct about the lifecycle of the two pages?

A.

A(INACTIVE)→B(INITIAL)→B(ACTIVE)→A(BACKGROUND)

B.

B(INITIAL)→B(ACTIVE)→A(INITIAL)→A(BACKGROUND)

C.

A(INACTIVE)→A(BACKGROUND)→B(INITIAL)→B(ACTIVE)

D.

A(INACTIVE)→B(INITIAL)→A(BACKGROUIND)→B(ACTIVE)

In HarmonyOS, which of the following scenarios is the application responsible for instantiation?

A.

Jump to another page through a hyperlink

B.

reads a novel through a web page and accidentally clicks on an advertisement, which jumps directly to the app store to request the download of a certain game

C.

An app page has messages, contacts, settings, etc., and you can switch between them

D.

Start an AbilitySlice by navigating

In a HarmonyOS application, which of thefollowing and the ComponentContainer object are actually composed of the interface elements that the user sees?

A.

DirectionLayout

B.

DependentLayout

C.

Component

D.

TableLayout

What is the "1" in HarmonyOS's "1+8+N" strategy?

A.

mobile phone

B.

Tablet

C.

Watch

D.

Smart screen

HarmonyOSprovides developers with different abilities according to different application scenarios, for example, if a developer plans to develop a background music playback function, which of the following is correct about the configuration of the ability in config.json?

A.

“type: “service

B.

“type: “page

C.

“type: “ability

D.

“type: “data

A user migrates video from a mobile phone to a smart screen for playback and uses the distributed task scheduling capability of HarmonyOS. Which of the following belongs to the process of opening the smart screen playback software when the mobile phone is migrated in this scenario?

A.

Remote connection

B.

Global query

C.

Remote start

D.

Remote migration

A HarmonyOSuser downloads and installs a new app that has declared some non-sensitive permissions in the config.json file, and the app may involve some sensitive permissions during operation. Which of the following is correct in this scenario?

A.

For sensitive permissions that may be involved in the operation of the application, the authorization method is system authorization (system_grant)

B.

For the non-sensitive permissions declared by the application in the config.json file, the application will be dynamically applied for during use

C.

Non-sensitive permissions declared by the app in the config.json file are automatically granted when the user installs the app

D.

For the non-sensitive permissions declared by the app in the config.json file, the authorization method is user authorization (user_grant).

In the HarmonyOS system architecture, which of the following can shield the differences between multiple cores and provide basic kernel capabilities for the upper layer?

A.

Ability

B.

KAL (Kernel Abstract Layer)

C.

UI

D.

HDF (Hardware Driver Foundation)