Free H14-231_V1.0 Exam Braindumps
HCIP-HarmonyOS Application Developer V1.0 Questions 361–365 (page: 74)

Updated On: 10-Feb-2026

If a developer uses custom components when developing a HarmonyOS application, what are the correct descriptions of custom components below?

  1. Add tag elements such as styleable and item to values/attrs.xml
  2. In the constructor with the AttrSet parameter of the custom component, use attrSet.getAttr("XxX").get().getStringValue() to get the property
  3. Add xmlns:app="http://schemas.huawei.com/apk/ res/ohos" to the layout.xml of the component definition
  4. In the constructor of the custom component, call array.getlntegor(ResourceManager.styleab1e.***,100) to get the property

Answer(s): A,B,C,D



A developer called the getDefaultHost(Context context) interface of BluetoothHost to obtain a Bl1uetoothHost instance for managing local Bluetooth operations. The developer uses the following development steps to implement Bluetooth pairing:

1Turn on Bluetooth.

2Scan Bluetooth.

3. Initiate pairing.

Which of the following statements about steps 1, 2, and 3 is true?

  1. calls startBtDiscovery() to complete step 2
  2. The order in which steps 2 and 3 are implemented can be reversed
  3. calls the enableBt() interface to complete step 1
  4. calls startPair() to complete step 3

Answer(s): A,C,D



Which of the following descriptions is wrong when it comes to the simultaneous development of JS (JavaScript) and Java languages in HarmonyOS application development?

  1. Use Java to develop the UI of the application
  2. JS FA calls Java PA
  3. Use JS to develop the logic of the application
  4. Java FA (Feature Ability) calls JS PA (Particle Ability).

Answer(s): A,C,D



A PageA contains Ability SliceA1 and AbilitySliceA2, which is displayed as AbilitySliceA1 by default.
What are the following steps if you want to navigate directly to PageA's AbilitySliceA2 in PageB on the current device?

  1. Add a route for AbilitySliceA2 via addActionRoute() in PageA
  2. Register the action corresponding to PageA in the configuration file
  3. Set the action in the Intent of the PageB navigation
  4. Set Deviceld to empty in the Intent of the PageB navigation

Answer(s): A,B,C



Regarding Hongmeng's atomic service, the following statement is correct

  1. Atomic service is displayed as a card in the Services Hub that can be added to the desktop
  2. When an atomic service is managed and distributed by the Marketplace, its size cannot exceed 10 MB
  3. Atomic service is an installation-free application with an independent entrance
  4. Atomic services correspond to one HAP package and are used to complete one specific convenience service

Answer(s): A,C



Viewing page 74 of 141
Viewing questions 366 - 370 out of 699 questions


Post your Comments and Discuss Huawei H14-231_V1.0 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!