3 Months Free Update
3 Months Free Update
3 Months Free Update
What are the following advantages of the HarmonyOS forwarding architecture?
Which of the following permissions is required to load network images with the Image component?
HarmonyOS provides two mechanisms for calling JavaPA (ParticleAbility) by JSFA(FeatureAbility), namely Ability and InternalAbility.
When a developer wants to make the vertical scrolling layout take effect when using the ScrollView control, how should the width of the control corresponding to the layout be set?
A developer is writing a piece of code to control the access rights of an Ability
Apps with the ohos.permission.CAMERA permission can access this ability. The relevant code completed by the developer in config.json is as follows:
"abilities": [
{
"name": ". MainAbility",
"description":
"Sstring:description_main_abi1ity",
"icon" : "$media:hiworld.png",
"label": "HiCamera",
"1aunchType": "standard",
"orientation": "portrait",
"visible": false,______________________________
} ]
Which of the following should the developer add to the horizontal line?
A user migrates video playback from his mobile phone to a smart screen and uses the distributed task scheduling capability of HarmonyOS. Which of the following is the process of connecting the video to the smart screen playback in this scenario?
When a developer is developing an application, he creates a Checkbox component and writes the following code, which of the following descriptions of the code segment is correct?
ohos:height="match_content" ohos:width="match_content" ohos:text="This is a checkbox" ohos:marked="false" ohostext_color_on=“#000000” ohos:text_color_off="#FFFFFF" ohos:text_size="#000000"/>
What kind of struct is used to decoratively indicate that the structure has the ability to be componentized?
When a programmer develops an online education application, the studentAnswer:ing interface has multiple choice questions and multiple choice questions, which of the following components is suitable for displaying multiple choice questions?
If a developer develops a HarmonyOS application and remotely launches a Page on phone B, which of the following permissions does not require the user to request authorization by sending a pop-up window at runtime?
After developing a HarmonyOS application, the developerneeds to package the application into an app for publishing it to AppGallery. You can use DevEco Studio to generate a key, in what format is the key stored in the keystore file?
Whichof the following does not belong to the application framework layer in the Harmony OS system architecture?
If a developer wants to use the device virtualization feature of HarmonyOS, which subsystem will he use?
Which of the following descriptions is wrong when it comes to the simultaneous development of JS (JavaScript) and Java languages in HarmonyOS application development?
If a developer wants to quote the resource files in the base directory and the qualifier directory, which of the following can be used to do so?
When creating a test user for a meta-service, you need to select the storage location of the user list
What files does an engineer need to use when he wants to debug a newly developed application on a real device?
What are the following development languages that a developer can use to develop a mobile app using HarmonyOS?
When adding user information, if the account uses a mobile phone number, which of the following input formats is correct?
Which of the following modules provides a full-duplex communication co-ordination?
The meta-service package consists of one or more HAP packages, and each HAP package shall not exceed ( ) to provide a second-to-open experience.
When using HarmonyOS distributed terminals, which of the following items can ensure that the system is safe and reliable?
What are the following aspects of resource utilization analysis that DevEco Studio Performance Analyzer can perform?
Which of the following gesture types does the HarmonyOS declarative development paradigm provide?
HarmonyOS is designed for 1+8+N full-scene experience, which of the following devices belongs to the "8" in 1+8+N?
Which of the following features of the HarmonyOS distributed database are correctly described?
Which of the following items are involved in migrating Page from device A to device B?
Regarding the ResponseCode returned by the request, which of the following descriptions is incorrect?
The distributed soft bus is the base for communication between various devices, which of the following does not belong to the bus hub of the distributed soft bus?
In the process of debugging Harmomyos applications, it is a common debugging method for developers to "check whether the change process of variables meets the expected results". To this end, DevEcoStudio provides a visualization of debug variables, which of the following forms can be presented?
HarmonyOSdefines different open scopes and authorization methods to protect data according to the sensitivity of the data involved in the interface
HarmonyOS adopts a multi-core design, which supports the selection of appropriate OS kernels for different resource-constrained devices, and the kernel abstraction layer provides basic kernel capabilities for the upper layer by shielding the differences between multiple cores, including which of the following?
. When developing a HarmonyOS application, use a component Text as the title of a page, if you want to make the title invisible and still occupy the space of the current page, the following operations are correct
An engineer wrote the following code, which items are correct about the description of the following code?
@Entity(tableName = "user", ignoredColumns = {"ignoredColumn1", "ignoredColumn2"} , indices = {@Index(value = {"firstName", "lastName"), name ="name_index", unique = true)})
When developing an application, a developer uses the WLANP2P function to realize point-to-point data transmission between devices. The functionality of the application is as follows: Function 1: Discover the peer device. Function 2: Create and remove groups. Function 3: Initiate a connection to the peer device. Which of the above features is correct in the following descriptions?
If a developer wants to use the distributed capabilities of HarmonyOS, which of the following options can the developer choose?
Which of the following options belong to the kernel layer in the HarmonyOS system architecture?
A HarmonyOSengineer needs to apply for a digital certificate to complete the release of the application, which of the following descriptions of digital certificates is wrong?
A developer is developing a flight booking application, and uses the sliding selector Picker to select the location of the ticket and writes the following code.
After the open beta version is released, how can I add additional test users?
Which of the following situations will not call back the onFinish function?
In order to control the access of a specific interface to the caller, an application confirms that the visitor has the required permissions through verifyCallingPermission. Which of the following descriptions is correct?
Regarding the service cards of HarmonyOS applications, the following belong to the card users
When an application calls a service, the service will check the permissions of the application, and the service cannot be used if there is no corresponding permission.
HarmonyOS's relational database and object relational mapping database are both based on SQLite.
In HarmonyOS's "1+8+N" strategy, smart microwave oven devices belong to "N" devices.
A Page Instance can contain a group of related pages, and each page is represented by an AbilitySlice instance.
Frame rate is the frequency (rate) at which a bitmap image appears continuously on a display in frames, measured in hertz (Hz).
In multiple distributed devices with the same HarmonyOS account, after logging in to an app, the app can synchronize the app account authentication information (account name, token or other) to other devices as needed.
When an Intent is used to initiate a request, if both BundleName and Abilitylame are specified, the application can be started directly according to the full name of the Ability (for example, "com.demcapp.FooAbility").
Operations such as the display and update of the UI interface are carried out on the main thread, so the main thread is also called the UI thread.
MATCH_CONTENT indicates that the component size will expand to the maximum allowed by the parent component and occupy the remaining size in the direction of the parent component
Although a Page can contain multiple AbilitySlices, when a Page enters the foreground, the interface displays only one Abilitylice by default.
A HarmonyOS application may not contain a hap package of the feature type.
HarmonyOS developers can use the "chos. Permission.CET_NET7ORK_INFO request permission to Modify Network Connection Status.
When a developer starts a music player on a remote device, he or she may not fill inthe Deviceld of the remote device.
With the help of HarmonyOS's Al capability, it can detect and recognize the text of image sources such as document remakes and street view reproductions, and can also be integrated into other applications to provide text detection and recognition functions, and provide translation, search and other related services based on therecognition results. This is by taking advantage of the super-resolution of text and images in AI.
In the lifecycle of AbilitySlice, the onStart() callback method does not need to be rewritten.
In order to improve the image quality of network source images, developers can use the Instant Messaging (IM) class intent recognition interface provided by HarmoyOS.
In DevEco Studio, engineers can log in to the emulator after passing the real-name authentication of their HUAWEI ID.
A user uses the HarmonyOS distributed task scheduling capability to migrate mobile phone videos to the smart screen for playback. In this scenario, the process of finding whether the smart screen has the same playback software is a global query.
AbilitySlice and Page have the same lifecycle state and callback method with the same name, and when the Lifecycle of the Page changes, the same lifecycle change will occur in AbilitySlice. Similarly, as the lifecycle of an AbilitySlice changes, the lifecycle state of a Page changes.
When MainAbility and MainAbiitySlice are bound together, the lifecycles of the two are synchronized, including the callback method for transitioning between states.
When an engineer packages an application, DevEco Studio will package all the HAP (HarmonyOS Ability Package) modules in the project directory into the application, so if there are HAP modules in the project directory that do not need to be packaged into the application, the tool will automatically delete them and then compile and build the application.
When developing HarmonyOS applications, if the client and server need to communicate across processes, you can use idl to define programming interfaces that are recognized by both.
A developer needs to use the JavaScript UI framework to display the bar chart of the current month's product sales, and can use the chart component to achieve this function.
A manufacturer used HarmonyoS to produce a dash cam (memory is 64MB), which is small in size and light in weight, and is a lightweight system device.
When using EventHandler to implement inter-thread communication, if EventRunner takes out the InnerEvent event, EventRunner will directly process the event on the new thread.
A user grants permission X to application A of a certain device, and on the device, application A persists the state of this permission grant and can call all interfaces controlled by permission X at any time.
When a developer develops an application based on HarmonyOS, the data used by a developer can be decomposed into multiple objects. The developer needs to add, delete, modify, and check the teaching data, but does not want to write overly complex SQL statements. In this scenario, the developer can use an object-relational mapping database to process the data.
In the process of developing an application based on HarmonyOS, in order to avoid applying for permissions that are unrelated to the user's required functions, a developer uses the UUID generated by the application instead of the device ID to reduce the permission application. The developer's actions exemplify the principle of applying for permissions in the vicinity.
When using EventHandler to implement inter-thread communication, if EventRunner takes out the Runnable task, it will trigger the callback method of EventHandler and the processing method of EventHandler.
The application package names of the application projects created by JavaSaript and the applications compiled by the Java projects are HAR (HarmonyOS Ability Resources) and HAP (HarmonyOS Ability Package), respectively.
Developers can create user interfaces directly on AbilitySlice or on Ability.
A HarmonyOS developer uses syncDispatch to synchronously dispatch tasks when developing applications. In this scenario, syncDispatch dispatches the task and waits for the task to complete on the current thread, so the current thread is not blocked until it returns.
When a developer develops an application based on HarmonyOS, the data used by a developer can be decomposed into multiple objects. The developer needs to add, delete, modify, and check the teaching data, but does not want to write overly complex SQL statements. In this scenario, the developer can use an object-relational mapping database to process the data.
When installing the HarmonyOS application development environment, if the network can directly access the Internet, developers need to set up Gradle and NPM agents to configure the development environment correctly.
HAR (HarmonyOS Ability Resources) is different from HAP (HarmonyOS Ability Package) in that HAR cannot be installed and run on devices independently, and can only be referenced as dependencies of application modules.
When designing a JavaScript UI based on HarmonyOS, if the text component itself cannot be focused, the focus cannot be moved to the component, and the focusableattribute of text is set to true. text component.
Motion sensors may be a single physical sensor, or they may be composed of multiple physical sensors.
When a developer uses the JS (JavaScript) UI framework to develop an application, if style =width:"10px is used in the component, the width of the component cannot be dynamically modified. If you use style="width:{{width}}" to set the width of a component, you can dynamically modify the width of the component in a JS file.
On the basis of the supported input events, HarmonyOS's multi-dimensional input defines some input actions commonly used by users as a set of standardized events, maps the input events of different input devices to the standardized events, and can obtain a unified experience when using multiple input devices to operate different terminal devices or applications.
After the user enters a piece of text, with the help of the part-of-speech annotation interface, the application can perform automatic word segmentation, and label each word in the word segmentation result with a correct part of speech. However, the part-of-speech tagging feature provided by HarmonyOS only provides a fixed word segmentation granularity, and developers cannot customize the word segmentation granularity as needed when developing applications.
HarmonyOS's Data Ability is used to provide an interface for operation data, but cannot provide file-related operations.
When a time-consuming operation needs to be performed in a HarmonyOS application, it is preferable to create subthreads in FA instead of creating subthreads in Service.
A developer needs to read the resource files in the rawfile folder, and the following code can be used to read them successfully.
Image
image(Image)findComponentByld(ResourceTable.Id_cormponent_image);
Image.setPixelMap (ResourceTable.Media hawei);
When developing the list component in the JavaScript UI framework, you can use the data of the Map type to dynamically bind the data.
The user application package of HarmonyOS may not contain a HAP package of the feature type.
Suppose that multiple AbilitySlice are associated in MainAbility, and multiple AbilitySlice are switched in the same page, the lifecycle of MainAbility and all AbilitySlice is synchronized.
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".
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.
Components can neither be displayed nor interact with when they are not added to a layout, so a user interface contains at least one layout.
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.
With the help of the AI-enabled capabilities of HarmonyOS, it can detect and recognize the textof image sources such as document remakes and street view reproductions, and can also be integrated into other applications to provide text detection and recognition functions, and provide translation, search and other related services based on the recognition results. This is by taking advantage of the super-resolution of text and images in AI.
Which of the following atomic layout capabilities does not belong to the position of the control element?
When the system destroys a page, which of the following callback methods will be triggered?
When a developer designs a PA (Particle Ability) application, which of the following development steps can be omitted?
In order to ensure better responsiveness of the application, developers need to use the task distributor to design the priority of the task.
When a developer installs HAP (HarmonyOSAbility Package), what is the reason for the "STRING LENGTH ERROR" message?
In a HarmonyOS application, which of thefollowing and the ComponentContainer object are actually composed of the interface elements that the user sees?
When a HarmonyOS app developer uses the form container, which of the following elements can be submitted and reset?
A developer found that the app could not usethe network management function of Harmony OS without requesting permissions. In order to use the network management feature, the developer requested the following permissions for their app, which of them is not required for the network management feature?
When a developer was developing a ticket booking application, he used the sliding selector TimPicker in the time selection of air tickets, according to the requirements of the airline, the time does not need to display the second information, which of the following can meet the needs?
If a developer needs to use asyncDispatBarrionr to set up a barrier asynchronously, in this scenario, in order to separate different task groups, which of the following can the developer choose?
When a developer uses HarmonyOS Device Manager, he wrote the following code, which code description is correct?
Vardevicelnto=dmInstance.getLocaIDevicelnfoSync () :
After the user migrates the navigation of the mobile phone to the smart watch, if the smart watch needs to obtain the data transmitted from the mobile phone, which of the following methods should it be obtained?
When a developer adds a Harmony OS app on the AppGallery web page, which platform does the developer need to choose to add the app?
A developer obtains a log content: static finalHiLogLabel LABEL = new HiLogLabe1
(HiLog.LOG_APP,Ox00201, "MY_TAG"); Which of the following information can't be obtained?
Which of the services provided by the HarmonyOS Connect solution is Device Parter?
When a developer is developing a game application, in order to display the download progress of game resources, it is necessary to use a circular progress bar, which of the following components can help the developer complete this function?
If there are 3 Ability sharing a Service instance, how can I exit the Service instance?
A user migrates video from a mobile phone to a smart screen for playback and uses the distributed task scheduling capability of HarmonyOS. Which of the following belongs to the process of opening the smart screen playback software when the mobile phone is migrated in this scenario?
An engineer uses a local simulator for application debugging, which of the following describes the error of the local simulator?
A developer has developed an Image component and written the following code, which of the following descriptions of the component is correct?
Which description of the HarmonyOS clipboard can be correctly interpreted in the following scenarios?
Which of the following subsystems does a developer use when using the facial recognition feature of HarmonyOS?
The key generated by the developer contains the public key and the private key used in asymmetric encryption, and in what format is the key stored in the key file?
If a developer wants to develop a page with a tab function, the developer can use theTabList component provided by HarmomyOS. If you want to set the horizontal center alignment of text, which of the following codes is correct?
Browse articles in the reading app on your phone, migrate to the tablet to continue viewing, and exit the reading app on your phone. Which HarmonyOS streaming solution is used in this scenario?
In the HarmonyOS system architecture, which of the following can shield the differences between multiple cores and provide basic kernel capabilities for the upper layer?
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?
HarmonyOSprovides developers with different abilities according to different application scenarios, for example, if a developer plans to develop a background music playback function, which of the following is correct about the configuration of the ability in config.json?
If the user displays the navigation information on the mobile phone and the smart watch at the same time, if the smart watch is out of power, causing the navigation information to terminate the display, which callback method will the navigation application on the mobile phone receive the termination notification?
When a developer designs a news browsing application, he needs to achieve the effect that the news list and news details are not displayed on the same page, which of the following needs to be created by the developer?
What is the process of cross-terminal migration from an application on HarmonyOS device A to the application on device B by calling the distributed task scheduling capability to continue sbility?
Which of the following descriptions of the HarmonyOSclipboard function is correct?
Which of the following modules provides an E2E encrypted channel in the HarmonyOS streaming architecture to provide a secure cross-terminal transmission mechanism for user applications?
If a developer wants to develop a page with a tab function, the developer can use the TabList component provided by HarmonyOS. If you want to set the selected tab to be marked by underlining at the bottom, which of the following codes is correct?
A HarmonyOS developerdevelops an application based on distributed data services, and the developer uses device A, device B, and device C to test the functionality of the application in a distributed scenario. In the test, after device A successfully adds, deletes, and modifies data, device B and device C cannot read the updated data immediately, but after a certain time window, the data of the three devices will reach the same state. In the preceding scenario, what kind of consistency does the application conform to in a distributed database?
A developer has developed with the Text component, and the effect is as follows, which piece of code can be used to achieve the effect?
When an engineer develops an application and needs to add the function of extracting videos, which of the following interfaces should be called?
When a developer is developing a game application, in order to display the download progress of game resources, it is necessary to use a horizontal linear progress bar, which of the following components can help the developer complete this function?
If a developer needs to use asyncDispatchBarrier to set up a barrier asynchronously, in this scenario, in order to separate different task groups, the developer can choose which of the following task dispensers?
A developer is developing a ticket booking application, in the selection of the location of the ticket, you need to use the slide selector Picker, in order to highlight the selected text, the developer sets the rendering effect that the selected text margin is greater thanthe ordinary text margin. Which of the following settings are correct?
When a developer migrates pictures on his mobile phone to a large screen, the interface layout automatically switches from vertical to horizontal; When the image is migrated, the image is migrated from the large screen to the mobile phone, and the interface layout is automatically switched from horizontal to vertical. Excuse me, how did this developer implement this feature?
A developer needs to cancel a task, but part of the code segment he wrote was deleted by mistake. The remaining codes are as follows, with the missing codes indicated by the dash:
TaskDispatcher dispatcher =
getUlTaskDispatcher();
Revocable revocable =
________________________(new Runnable(){
@Overide Public void run(){
HiLog.info(L . ABEL_ _LOG,"delay dispatch");
}
},10);
Boolean revoked = revocable.revoke();
HiL og.info(L _ABEL_ LOG),"%{public}b" ,revoked);
Which of the following might be missing pieces in the above code?
When a developer develops a HarmomyOSapplication, 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?
When the user migrates the video on the mobile phone to the smart screen for playback, there will be a pop-up prompt for the user to confirm whether to start the migration. During the migration process, which of the following methods is first called?
When a developer subscribes to a public event, he processes the public event in the onReceiveEvent() callback function and writes the following code.
EventRunner runner = EventRunner.create();
MyEventHandler myHandler = new
MyEventHandler(rurner);
@Override
public void onReceiveEvent(CommonEventData
commonEventData){
final AsyncCommonEventResult
result=goAsyncCommonEvent Runnable task = new
Runnable(){
@override
pub1ic void run {
......
The action to be performed, defined by the developer
result.finishCommonEvent();
}
};
myHandler.postTask(task);
}
If an engineer needs to determine whether a device supports the corresponding decoder of the specified MIME (Multipurpose Internet Mail Extensions), which of the following interfaces should be selected?
In the process of coding, software development engineers need to detect whether the Butfer data is read and whether an exception occurs, which of the following methods can be called?
A developer needs to read the resource file in the rawfile folder, and the following code can be used to read it successfully.
Image
image(Image)findComponentByld(ResourceTable.Id_component_image);
Image.setPixelMap (ResourceTable.Media hawei);
A developer tries to use the word segmentation feature of HarmonyOS to tokenize a dry word article, and in this scenario, the word segmentation text exceeds 500 characters, so the parameter error will be returned.
When developing HarmonyOS applications, if the client and server need to communicate across processes, you can use idl to define programming interfaces that are recognized by both.
Which of the following properties can be used for components that contain text elements, such as Text, Button, TextInput, etc.?
A developer needs to use the emulator in DevEco Studio, click to log in to the emulator and enter your HUAWEI ID, and the browser will directly jump to the real-name authentication interface. What are the reasons for this problem?
On the basis of the supported input events, the multi-mode input defines some input actions commonly used by users as a set of standardized events, and maps the input events of different input devices to the standardized events.
Which of the following properties of state decorator decorating must be initialized locally?
When developing an application, a developer uses the WLAN P2P function to realize point-to-point data transmission between devices. Function 2, Create and remove groups, Function 3, Initiate a connection to the peer device.Which of the above functions is correct in the following descriptions?
When an engineer compiles and builds a HarmonyOS Ability Package (HAP) with debugging signature information in DevEco Studio, he or she needs to apply for a debugging certificate and profile file in advance.
What are the common problems in uploading software packages during the listing process of HarmonyOS applications/metaservices?
A developer uses the JavaScript UI framework's swiper sliding container to develop a banner scrolling effect, which are the correct items in the following description of the swiper code?
indicator="true"autoplay="true"interval="2000" loop="true"digital="false">
In HarmomOS, when an application is launched, the system creates an execution thread named "Main Thread" for the application. The main thread, also known as the UI thread, displays and updates the UI interface on the main thread.
If there are different components in the layout with the same ID, when the component is searched by ID, the last component found will be returned.
Regarding the Tabs component and the TabContent component, the following description is correct
The distributed database is based on the KV data model and provides KV access interfaces.
In HarmonyOS, when a subscription action is performed after an out-of-order public event is published, subscribers can also receive the out-of-order public event.
Which of the following subsystem sets are included in the basic capability subsystem of the HarmonyOS system architecture?
If a developer wants to develop an application on a smart screen, which of thefollowing subsystems will he use?
A manufacturer uses the HarmonyOS system to produce a smart oven, which is a lightweight system device in HarmonyOS.
A Page Ability (hereinafter referred to as "Page") may consist of one or more AbilitySlice, which refers to the sum of a single page of an application and its control logic.
If an engineer uses the two-way preview function of JavaScript in DevEco Studio, which of the following items can be supported after the function is enabled?
When a developer is developing a flight booking application, he needs to use the sliding selector DatePicker in the date selection of air tickets, and in order to improve the user experience, he needs to set the color of a single year/month/day item in operation to blue (#0000FF), which of the following items can meet the development needs?
Which of the following can set the rounded corner effect of the ShapeElement?
The main function of EventHandler is to deliver InnerEvent events or Runnable tasks to other threads for processing.
What are the reasons why a developer wants to use the previewer in DevEco Studio to view the application interface of the design, but the previewer cannot be used?
There is an application A that occupies a large amount of memory and a background service B on the mobile phone, but there is no binding relationship between the two. What are the following scenarios that may cause Service B to be stopped?
To publish an app, a HarmonyOS developer needs to use a certificate request file (Cerificate Signing Request) to apply for a digital certificate from AppGallery Connect.
What are the following options that belong to the JavaScript UI framework?
In HarmonyOS, when switching between pages, if you use Ability Switching, it is equivalent to constantly switching new pages in the same window, and if you use AbilitySlice to switch, a new window will pop up.
Which of the following descriptions of traditional Bluetooth operation is correct for HarmonyOS devices?
The main axis of the Row container is horizontal, and the cross axis is vertical, and its parameter type is VerticalAlign, and VerticalAlign defines the following types?
Which of the following are the animation control APIs provided by lottie?
The following description of the basic components of the ArkTS declarative development paradigm is correct
Which of the following processes does the HarmonyOS data lifecycle consist of?
Which of the following descriptions of traditional Bluetooth operation is correct for HarmonyOS devices?
A software development engineer will debug a piece of code, which of the following methods can be used?
In the JavaScript FA development self-record, the file ending hml is used to describe the current page layout structure, the components used in the page, and the hierarchical relationship between these components, and the following code should be placed in the file.
HarmonyOS provides the Al capability of speech recognition, which can use machine learning technology to analyze the content of text messages of users in SMS or chat applications, and identify the user intent represented by the message content.
The KV data model is a SQL-type database whose data is organized, indexed, and stored in the form of key-value pairs.
When an intent is used to initiate a request, a developer designs to open a link through a browser, but does not care which browser application the user ultimately chooses.
In order to put a series of related download tasks into a task group, a developer uses the following code:
String dispatcherName =
"parallelTaskDispatcher";
TaskDispatcher dispatcher =
createParallelTaskDispatcher(dispatcherName,TaskPriority.DEFAULT);
Group group
=dispatcher.createDispatchGroup();
dispatcher.asyncGroupDispatch(group,new
Runnable(){
@Override
public void run(){
HiLog.info(LABEL_LOG,"download taskl is
running ");
}
});
dispatcher.groupDispatchlotify(group,new
Runnable(){
@0verride
public void run(){
HiLog.info(LABEL_L0G,"the close task2 is
running");
}
});
dispatcher.groupDispatchlotify(group,new
Runnable(){
@Override
public void run(){
HiLog.info(LABEL_L0G, "the close task is
running after all tasks in the group are
completed");
}
});
If the developer runs this code, which of the following results might occur?
What are the following types of task dispensers that HarmonyOS provides for developers?
The log content filtered by a developer through relevant information is:
01-2016:08:36.908
23597/com.example.myapplication W
00201/MY TAG:Failed to visit,reason:503.
Which of the following cannot be obtained by analyzing the log?
Which of the following methods can a developer use to obtain the actual pixel size corresponding to 8VP on the current device?
To publish sticky public events in armonyOS, the publisher must first apply for the permissions required to publish sticky public events in config.json.
The user and provider of the service card do not require permanent operation, and when it is necessary to add, remove, or request to update the card, the card management service will pull up the card provider to obtain the card information.