Free Huawei H14-231_V1.0 Exam Braindumps (page: 28)

Before developing the NFC function, a HarmonyOS developer must first confirm whether the device supports the NFC function and whether the NFC is turned on.

  1. NFC basic query
  2. Access to the security element
  3. card emulation
  4. NFC message notification

Answer(s): A



When a developer is developing a HarmonyOS application, if he needs to annotate information for a certain resource file of different types of elements in the Element directory to facilitate the understanding and use of the resource, which of the following methods can be added (XXX represents the comment text)?

  1. "comment": "xxX"
  2. #XXX
  3. xXxX

Answer(s): A



If a HarmonyOS developer has developed multiple applications and ensured that the data between different applications cannot be accessed through the triplet of account, application, and database, which of the following services can the developer use to achieve this function?

  1. Distributed file services
  2. Distributed data services
  3. Data search services
  4. Data storage management

Answer(s): B



When the developer jumps to a new page through the button button, the following code is created. If you don't add "" Button button = (Button) findComponentByld(ResourceTable.ld_button) ;" What happens to this line of code?

Public void onStart(Intent intent){

super.onStart(intent);

super.setUlContent

(ResourceTable.Layout_ability_main);

Button button =

(Button)findComponentByld(ResourceTable.ld_button);

button.setClickedListener(listener -> present(new

SecondAbilitySlice(),new Intent()));

}

  1. When you click the button again, the ability crashes
  2. button button does not show up on the layout
  3. Clicking the button does not respond
  4. Click the button button to jump to a new page

Answer(s): B



Viewing page 28 of 176
Viewing questions 109 - 112 out of 699 questions



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

H14-231_V1.0 Exam Discussions & Posts