ExamGecko
Home / Huawei / H14-231_V1.0 / List of questions
Ask Question

Huawei H14-231_V1.0 Practice Test - Questions Answers, Page 40

List of questions

Question 391

Report Export Collapse

When a HarmonyOS developer makes an FA call to PA, the callAbility interface returns the error 'Internal ability not register.', which of the following points needs to be checked correctly?

Become a Premium Member for full access
  Unlock Premium Member

Question 392

Report Export Collapse

A HarmonyOS developer created two serial task distributors, dispatchera and dispatcher_b, and also created a proprietary task dispatcher. Which of the following scenarios can cause deadlocks due to improper use of syncDispatch?

Become a Premium Member for full access
  Unlock Premium Member

Question 393

Report Export Collapse

Which of the following items is an asynchronous task dispatch method in HarmonyOS threads?

Become a Premium Member for full access
  Unlock Premium Member

Question 394

Report Export Collapse

When a developer designs a JavaScript login page, he needs to use Internal Ability to call Data Abiliity to verify the username and password, which of the following can be modified to complete the function?

const ABILITY_TYPE_EXTERNAL=0;

var action=0;

action.bundleName='com.huawei.loginservice'; action.abilityName='com.huawei.loginservice.LoginDataAbility';

action.messageCode=ACTION_MESSAGE_CODE_PLUS;

action.data=actionData;

action.abilityType=ABILITY_TYPE_EXTERNAL; action.syncOption=ACTION_SYNC;

var result=await

FeatureAbility.callAbility(action);

Become a Premium Member for full access
  Unlock Premium Member

Question 395

Report Export Collapse

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 OFF should be displayed on the closed state component, what are the following options that can meet the requirements?

Become a Premium Member for full access
  Unlock Premium Member

Question 396

Report Export Collapse

The developer is developing a ticket booking application, and uses the slide selector Picker to select the starting point of the ticket and writes the following code.

<Picker

ohos:id='$+id:test_picker'

ohos:selected_text_color='#FFFFFF'

ohos:value='55'

ohos:max_value='10'

ohos:selector_item_num='10'

ohos:bottom_line_element='#FFFFFF'

ohos:selected_text_size='16fp'/>

Become a Premium Member for full access
  Unlock Premium Member

Question 397

Report Export Collapse

A developer uses ListContainer to create a list component that can be swiped, in order to improve the user experience, it needs to display the rebound effect when swiping to the beginning and end of the list, which of the following options can meet this requirement?

Become a Premium Member for full access
  Unlock Premium Member

Question 398

Report Export Collapse

In the game scene, when playing games on the smart screen, you can use the mobile phone as a remote control handle, and with the help of the mobile phone's gravity sensor, acceleration sensor, and touch ability, it provides players with a more convenient and smooth gaming experience. What distributed capabilities are used to use the mobile phone as a remote control controller in this scenario?

Become a Premium Member for full access
  Unlock Premium Member

Question 399

Report Export Collapse

When a developer sets a background for a Text component, which of the following methods are correct?

Become a Premium Member for full access
  Unlock Premium Member

Question 400

Report Export Collapse

Which of the following prerequisites are required for developers to access the process of another device or call the methods of another device on one device to achieve multi-device collaboration?

Become a Premium Member for full access
  Unlock Premium Member
Total 705 questions
Go to page: of 71
Search