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

Page 26 of 176

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?

  1. ohos:thorizontal_center=true"
  2. ohos:center_inparent="true"
  3. ohos:layout_alignment=center
  4. ohos:text_alignment=center

Answer(s): D



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

  1. 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
  2. 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
  3. 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
  4. 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

Answer(s): 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?

  1. onSaveData ()
  2. onStartContinuation ()
  3. onRestoreData ()
  4. onCompleteContinuation ()

Answer(s): 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?

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

Answer(s): C






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

H14-231_V1.0 Exam Discussions & Posts