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 # 49

When a developer is developing a smart home application, the Switch component will be used to represent the switch of some devices, and ON should be displayed on the ON status component, and 0FF should be displayed on the closed state component. You can use the following code to meet your needs:

Switch btnSwitch=

(Switch)findComponentByld(ResourceTable.

ld_btn_switch);

btnSwitch.setStateOffText("ON");

btnSwitch.setStateOnText("OFF");

A.

True

B.

False

Full Access
Question # 50

To publish an app, a HarmonyOS developer needs to use a certificate request file (Cerificate Signing Request) to apply for a digital certificate from AppGallery Connect.

A.

Name of the organization

B.

Common name

C.

Public key

D.

Organizational unit

Full Access
Question # 51

Which of the following decorators can be used to manage the state of variables in custom components?

A.

@Component

B.

@Entry

C.

@State

D.

@Link

Full Access
Question # 52

Which of the following functions does the HarmonyOS network management module provide?

A.

Data connection management

B.

Data network management

C.

Traffic statistics

D.

Create a local socket

Full Access
Question # 53

How do I define the permissionscorrectly when a developer needs to customize the permissions for a third-party application forHarmony OS?

A.

module: {

reqPermissions: [{

name:com.myability.permission.MYPERMISSION,grantMode:system_grant,

availableScope: [signatures]

}

}

B.

module: {

defPermissions: [{

name:name:com.myability.permission.lNTERNET,

grantMode:user grant,

availableScope: [signatures]

}

}

module: {

defPermissions: [{

C.

name:name:com.myability.permission.INTERNET,

grantMode:system_grant,

availableScope: [signatures]

}

}

module: {

defPermissions: [{

D.

name:name:com.myability.permission.MYPERMISSION,

grantMode:system_grant,

availableScope: [signatures]

}

}

Full Access
Question # 54

Which of the following is the callback behavior of the Page Ability lifecycle that can destroy the page?

A.

Page is no longer visible to the user, and the system will call onBackground() to notify the developer to release the corresponding resources

B.

triggers onStop() to notify the user to release system resources

C.

takes the Page out of focus and calls onInactive().

D.

Trigger onDestroy() to release system resources

Full Access
Question # 55

When developing a HarmonyOSapplication, what methods do I need to call when migrating the FA (Feature Ability) on device A to device B?

A.

continueAbility ()

B.

continueAbilityReversibly ()

C.

startAbilityForResult ()

D.

startAbility ()

Full Access
Question # 56

Which of the following belongs to the application layer in the HarmonyOS system architecture?

A.

UI framework

B.

AI subsystem

C.

Phone

D.

kernel

Full Access
Go to page: