ExamGecko
Home Home / Huawei / H14-231_V1.0

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

Question list
Search
Search

List of questions

Search

Related questions











When a developer specifies a music playback service through an intent when closing a remote service, the developer can realize the ability to disable music playback on remote devices.

A.
Disconnect remote FA (Feature Ability).
A.
Disconnect remote FA (Feature Ability).
Answers
B.
Disabling Remote PA (Particle Ability)
B.
Disabling Remote PA (Particle Ability)
Answers
C.
Connect to remote PA (Particle Ability)
C.
Connect to remote PA (Particle Ability)
Answers
D.
FA (Feature Ability) is a cross-line device migration
D.
FA (Feature Ability) is a cross-line device migration
Answers
Suggested answer: B

If a developer wants to develop a Data Ability for the storage and management of application data, which of the following can help the developer realize the function of inserting multiple pieces of data into the database at one time?

A.
query (Uri uriString[ ]columns, DataAbilityPredicates predicates)
A.
query (Uri uriString[ ]columns, DataAbilityPredicates predicates)
Answers
B.
delete(Uri uriDataAbilityPredicates predicates)
B.
delete(Uri uriDataAbilityPredicates predicates)
Answers
C.
batchlnsert (Uri uri, ValuesBucket[]values)
C.
batchlnsert (Uri uri, ValuesBucket[]values)
Answers
D.
insert (Uri uri, ValuesBucket value)
D.
insert (Uri uri, ValuesBucket value)
Answers
Suggested answer: C

When a developer develops a HarmomyOS application, if a Text component is used as the title bar of the page, and its width is set to match_parent and its height is set to 50vp, how can the text content in the Text be centered when setting its properties in the layout file?

A.
ohos:thorizontal_center=true'
A.
ohos:thorizontal_center=true'
Answers
B.
ohos:center_inparent='true'
B.
ohos:center_inparent='true'
Answers
C.
ohos:layout_alignment=center
C.
ohos:layout_alignment=center
Answers
D.
ohos:text_alignment=center
D.
ohos:text_alignment=center
Answers
Suggested answer: D

After a developer completes the development of a Harmony OS application, it needs to be published to AppGallery

A.
Apply for the release of certificates and profile files create an AGC project create a HarmonyOS app generate a key and certificate request file compile and build the app and put it on the app marketplace
A.
Apply for the release of certificates and profile files create an AGC project create a HarmonyOS app generate a key and certificate request file compile and build the app and put it on the app marketplace
Answers
B.
Generate a key and certificate request file create an AGC project create a HarmonyOS app apply for a certificate and profile file compile and build the app, put it on the Marketplace
B.
Generate a key and certificate request file create an AGC project create a HarmonyOS app apply for a certificate and profile file compile and build the app, put it on the Marketplace
Answers
C.
Apply for the release of certificates and profile files compile and build apps create AGC projects create HarmonyOS apps generate keys and certificate request files and put them on the app marketplace
C.
Apply for the release of certificates and profile files compile and build apps create AGC projects create HarmonyOS apps generate keys and certificate request files and put them on the app marketplace
Answers
D.
Generate a key and certificate request file create an AGC project create a HarmonyOS app compile and build an app apply for a certificate and Profi1e file, and list it on the Marketplace
D.
Generate a key and certificate request file create an AGC project create a HarmonyOS app compile and build an app apply for a certificate and Profi1e file, and list it on the Marketplace
Answers
Suggested answer: B

The user migrates the video on the mobile phone to the smart screen for playback, and after the mobile phone saves the data, the smart screen calls back which of the following methods is used to recover the data?

A.
onSaveData ()
A.
onSaveData ()
Answers
B.
onStartContinuation ()
B.
onStartContinuation ()
Answers
C.
onRestoreData ()
C.
onRestoreData ()
Answers
D.
onCompleteContinuation ()
D.
onCompleteContinuation ()
Answers
Suggested answer: C

If a developer wants to develop a file background download function, there needs to be a Page Ability to provide UI pages, and a Service Ability to provide the background file download function. Which of the following can call Service Ability in Page Ability?

A.
onConneCtenxt()
A.
onConneCtenxt()
Answers
B.
connectPageAbility(intent.connection)
B.
connectPageAbility(intent.connection)
Answers
C.
connectAbility(intent.connection);
C.
connectAbility(intent.connection);
Answers
D.
connectServiceAbility(intent,connection);
D.
connectServiceAbility(intent,connection);
Answers
Suggested answer: C

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)
A.
A(INACTIVE)B(INITIAL)B(ACTIVE)A(BACKGROUND)
Answers
B.
B(INITIAL)B(ACTIVE)A(INITIAL)A(BACKGROUND)
B.
B(INITIAL)B(ACTIVE)A(INITIAL)A(BACKGROUND)
Answers
C.
A(INACTIVE)A(BACKGROUND)B(INITIAL) B(ACTIVE)
C.
A(INACTIVE)A(BACKGROUND)B(INITIAL) B(ACTIVE)
Answers
D.
A(INACTIVE)B(INITIAL)A(BACKGROUIND) B(ACTIVE)
D.
A(INACTIVE)B(INITIAL)A(BACKGROUIND) B(ACTIVE)
Answers
Suggested answer: A

In order to ensure better responsiveness of the application, developers need to use the task distributor to design the priority of the task.

A.
DEFAULT
A.
DEFAULT
Answers
B.
MIDDLE
B.
MIDDLE
Answers
C.
HIGH
C.
HIGH
Answers
D.
LOW
D.
LOW
Answers
Suggested answer: B

When a developer adds a Harmony OS app on the AppGallery web page, which platform does the developer need to choose to add the app?

A.
quick application
A.
quick application
Answers
B.
Android
B.
Android
Answers
C.
Web
C.
Web
Answers
D.
HarmonyOS app
D.
HarmonyOS app
Answers
Suggested answer: D

The permission scope of Harmony OS refers to which applications can apply for a permission, which of the following fields does not belong to the permission open scope?

A.
privileged
A.
privileged
Answers
B.
signature
B.
signature
Answers
C.
restricted
C.
restricted
Answers
D.
deivced
D.
deivced
Answers
Suggested answer: D
Total 705 questions
Go to page: of 71