Free Huawei H14-231_V1.0 Exam Questions (page: 33)

If a UI is no longer visible to the user, but you don't want to destroy it, which method will the system call to release the corresponding resources?

  1. onBackground
  2. onPause
  3. onForeground
  4. onInactive

Answer(s): A



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 invoke Service Ability in Page Ability?

  1. connectPageAbility(intent,connection)
  2. connectAbility(intent, connection)
  3. onConnect
  4. connectServiceAbility(intent, connection)

Answer(s): B



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

  1. continueAbility ()
  2. continueAbilityReversibly ()
  3. startAbilityForResult ()
  4. startAbility ()

Answer(s): B



In distributed task scheduling, if a developer needs to coordinate access from multiple devices, what field in config.json does a developer need to apply for permission?

  1. deviceld
  2. reqPermissions
  3. Intent
  4. name

Answer(s): B



Viewing page 33 of 176



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

H14-231_V1.0 Exam Discussions & Posts