HarmonyOS supports entity recognition, which can highlight relevant entity information and set up quick operation entrances. For example, the phone number in this message will be highlighted, and the user can dial it directly.
Answer : A
There is a button on the main interface of a HarmonyOS application, and the display text on the button is "Start Download", after clicking this button, a sub-thread is created to perform time-consuming download operations. After the download is over, you can change the button in the subthread to "Download End".
Answer : B
HarmonyOS application packages are released in the form of application packs, which are composed of one or more HAPs (HarmonyOS Ability Packages) and pack.info describing each HAP attribute.
Answer : A
If a developer wants to be able to get the return result when the user returns from the navigation target AbilitySlice, they should use presentForResult() to implement the navigation. When the user returns from the navigation target AbilitySlice, the system will call onResult() to receive and process the returned result.
Answer : A
A Page Ability (hereinafter referred to as a "Page") may consist of one or more AbilitySlice, which refers to the sum of a single page of an application and its control logic.
Answer : A
The Service Ability created by a developer does not have a user interface. Can be launched by other apps. When the user switches to another application, the Service will be killed in the background.
Answer : B
If a developer wants to develop a file background download function, there needs to be a Page Ability to provide U pages, and a Service Ability to provide the background file download function. If you want to perform some operations after connecting to the Service Ability in the Page Ability, you need to implement the onAbilityConnectDone() method in the Page Ability.
Answer : A