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

List of questions
Question 211

A developer needs to use the current data network for socket data transmission, and the development process involves the following steps:
1 Send data with sockets.
2 Bind the network with NetHandle.bindSocket().
3 Call NetManager.getDefaultNet() to get the default data network.
4 Call NetManager.getInstance(Context9) to get the instance object of network management.
When the developer combed through the development steps, the above steps were sorted according to the order in which the features were completed in the code. Which of the following is the correct order?
Question 212

When an Intent is used to initiate a request, if both BundleName and AbilityName are specified, which of the following codes is used to directly start the application?
Question 213

A developer has developed a news browsing application, and the news list page is displayed by default when the application is opened, which of the following methods does the developer use to achieve this function?
Question 214

If the user migrates the video on the machine to the smart screen for playback, which of the following callback methods can save the video playback data on the mobile phone?
Question 215

Which of the following subsystems in Harmony OS can achieve data isolation between applications?
Question 216

Which of the following does not belong to the application framework layer in the Harmony OS system architecture?
Question 217

HarmonyOS defines different open scopes and authorization methods to protect data according to the sensitivity of the data involved in the interface
Question 218

Which of the following is an event method that can obtain the offset of the List slide
Question 219

Which of the following modules needs to be imported to initiate a network data request?
Question 220

There are two Text components in the Row component, if you use justifyContent alignment, which of the following properties can achieve left and right alignment?
Question