Which of the following belongs to the application layer in the HarmonyOS system architecture?
When a HarmonyOS app developer uses the form container, which of the following elements can be submitted and reset?
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 JavaScript UI framework, which layer is used to provide animation parsing, DOM (Document Object Model) tree construction, layout calculation, rendering command construction and drawing, event management, etc.?
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?
How do I define the permissionscorrectly when a developer needs to customize the permissions for the Harmony OS third-party application?
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?
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?
In order to ensure better responsiveness of the application, developers need to use the task distributor to design the priority of the task.
The engineer fails to access the network through the get request, and the prompt 'Attempt to invoke virtual method' is displayed, which of the following permissions should be configured in config.json?
When a developer needs to specify the exact coordinates of the x-axis and y-axis of a sub-component when laying out a component, which layout can be used to achieve this function?
If an engineer is about to debug a Harmony OS application on an emulator device, which of the following correct debugging processes is the following?
A developer uses the threading function of HarmonyoS and writes the following code, which is the correct order of the execution result of the code?
TaskDispatcher globalTaskDispatcher =
getGlobalTaskDispatcher(TaskPriority.DEFAULT);
globalTaskDispatcher.syncDispatch(new
Runnable(){
@Override
public void run(){
HiLog.info (LABEL_LOG,"sync task1 run");//1
HiLog.info (LABEL_LOG, "after sync task1");//2
globalTaskDispatcher.syncDispatch(new
Runnable(){
@0verride
pub1ic void run(){
HiLog.info(LABEL_LOG,"sync task2 run"); 3
}
});
HiLog.info (LABEL_LOG, "after sync task2");//4
Which of the services provided by the HarmonyOS Connect solution is Device Parter?
A developer is developing an alarm clock application, which of the following components can be used to set the hour, minute, and second of the alarm clock?
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 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?
How do I define the permissionscorrectly when a developer needs to customize the permissions for a third-party application forHarmony OS?
If a developer needs to add the Banner function to a page, which of the following components is most suitable for implementing the function?
When the system creates a page instance for the first time, which method will be called?
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?
What lifecycle processes will be triggered when a developer creates a Page instance and lets the instance be displayed in the foreground?
After a developer completesthe development of a Harmony OS application, it needs to be published to AppGallery
Which of the following is NOT acomponent of the Harmony OS object-relational mapping database?
A developer needs to use the current scattered data network for socket data transmission, in this scenario, the development process involves the following steps: 1. Use socket to send data.2. Call NetHandle.bindSocket() to bind the network.3. Call NetManager.getDefaultNet() to get the default data network.4. Call NetManager.getInstance(ContextWhen the developer sorts out the development steps, the above steps are sorted according to the order in which the functions are completed in the code. Which of the following is the correct order?
When the engineer is developing JS (JavaScript), the application can successfully load the local image in the common path, but cannot load the network image.
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?
HarmonyOSsupports developers to customize permissions in the "reqPermissions" field to access permission-protected objects
When I use the interface to set the system time in HarmonyoS, which of the following is the smallest time unit?
If there are 3 Ability sharing a Service instance, how can I exit the Service instance?
A developer defines an entity class Student.java and uses the following code to construct a teaching table:
Entity(tableName="student",ignoredColums =["ignoredColumn1"," ignoredColumn2", indices =(@Index(value =("firstName." ,"lastName",name="name_index", unique = true)))
Public class User extends OrmObject{
@PrimaryKey(autoGenerate= true)
Private Integer userld;
Private String firstName;
Private String lastName;
Private int age;
Private double balance;
Private int ignoredColumnl;
Private int ignoredColumn2;
}
Which of the following descriptions of this code is wrong?
Which of the following security mechanisms can ensure that application data is not maliciously used?
The HarmonyOS video module supports the development of video services and the opening of the ecosystem, allowing developers to easily play, operate, and develop new functions of video media through the open interfaces. Video playback includes playback controls, playback settings, and playback queries, such as start/stop playback, playback speed settings, and whether to loop playback. When developing a video playback feature, which of the following steps is correct?
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 color of unchecked text to black. Which of the following codes is correct?
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 a developer wants to use the HarmonyOS speech recognition function, which of the following subsystems will he use?
When a developer designs a PA (Particle Ability) application, which of the following development steps can be omitted?
When a user is traveling by car, a navigation route is planned on the mobile phone, and after getting into the car, the user migrates the mobile phone navigation to the large screen of the car machine. In this scenario, which interface is used to implement cross-device migration?
When a developer is developing an online education application, he has designed a feedback function that provides a text input box for users to fill in suggestions, which of the following components can help the developer realize this function?
If a developer wants to develop a Data Ability for the storage and management of application data, which of the following can help the developer realize the function ofinserting multiple pieces of data into the database at one time?
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?
In the HarmonyOSsystem architecture, which of the following provides unified peripheral access capabilities and driver development management framework?
In order to test the distributed file service functions of application A and application B, the developer installs application A and application B on both device 1 and device 2. During the test, application A on device 1 creates a distributed file X, and application B on device 2 creates a distributed file Y. Which of the following descriptions of this scenario is wrong?
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?
When a developer is developing a HarmonyOSapplication, if he needs to annotate information for a certain resource file of different types of elements in the Element directory to facilitate the understanding and use of the resource, which of the following methods can be added (XXX represents the comment text)?
When the developer jumps to a new page through the button button, the following code is created. If you don't add "" Button button = (Button) findComponentByld(ResourceTable.ld_button) ;" What happens to this line of code?
Public void onStart(Intent intent){
super.onStart(intent);
super.setUlContent
(ResourceTable.Layout_ability_main);
Button button =
(Button)findComponentByld(ResourceTable.ld_button);
button.setClickedListener(listener -> present(new
SecondAbilitySlice(),new Intent()));
}
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?
The permission scope of HarmonyOS refers to whichapplications can apply for a permission, which of the following fields does not belong to the permission open scope?
In DevEco Studio, engineers can log in to the emulator after passing the real-name authentication of their HUAWEI ID.
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 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.
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.
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.
HarmonyOS's distributed soft bus enables distributed management of application data and user data.
If you need to use a composite animation, you can combine multiple animation objects and add them to the AnimatorGroup. AnimatorGroup provides two methods: runserially() and runParallel(), which indicate that the animation starts sequentially and the animation starts at the same time, respectively
When users use mobile phones, they will find that the phone number in the text message is often highlighted, and they can dial directly. This is a typical application scenario for entity recognition Al.
When using the location capability of HarmonyOS, developers need to apply for the LOCATION permission, which is a non-sensitive permission and needs to be declared in config.json.
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.
In the HarmonyOS system architecture, the distributed data management module belongs to the framework layer.
The object relational mapping database mainly provides light-grade Key-Value exploration, which supports local applications to store less data, and the data is stored in local files and also loaded in memory, so the access speed is faster and more efficient.
Sampling refers to the process of sampling a digital signal in a continuous time domain at certain time intervals to obtain a discrete signal in the discrete time domain.
If the third-party library used by the developer involves permission management, the permission needs to be declared one by one in the config.json file of the application.
In HarmonyOS's "1+8+N" strategy, mobile phones belong to one of the "8" devices.
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.
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.
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.
The atomic service consists of one or more HAP packets, andone HAP packet corresponds to one FA or one PA. Each FA or PA can be operated independently to perform 1 specific function.
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.
Sservice Abilit calls the onCommand() method after the creation is completed, and the method can be called once when the client starts the service for the first time, and there is no need to call it again in the future
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 uses continueAbility() to migrate the distributed news application of the mobile phone to the large screen, and the large screen can also migrate the news browsing page back to the mobile phone.
A manufacturer uses the HarmonyOS system to produce a smart oven, which is a lightweight system device in HarmonyOS.
In the Javascript UI framework, to realize the jump between pages, you need to specify the uri in the page routing router to find the target page.
A HarmonyOS application 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.
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.
When a developer is developing a HarmonyOS application, if part of the text in the value field of the JSON resource files of different types of elements in the Element directory does not need to be processed by the translator and will not be displayed on the application interface, a special structure can be used to identify the content that does not need to be translated
HarmonyOS developers can use the "chos. Permission.CET_NET7ORK_INFO request permission to Modify Network Connection Status.
Lightweight data storage is suitable for data storage involving a large number of data relationships and business relationships, and has better read and write performance than relational databases and object-relational mapping databases.
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").
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 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.
When a developer starts a music player on a remote device, he or she may not fill inthe Deviceld of the remote device.
In order to improve the user experience, a developer uses ScrollView to realize the scrolling display of photos in an album application, and in order to improve the user experience, the developer sets the ScrollView rebound_effect property to true, so that the photo has a rebound effect when sliding to the bottom.
The input division method of HarmonyOS is different from that of traditional operating systems, and multi-dimensional inputs will be integrated, so that developers can use application frameworks, UI components or interfaces that come with the system to implement applications with multi-dimensional and natural interaction characteristics.
When a developer navigates within the same page, the AbilitySlice is new, even if present(newTargetSlice(), new Intent()) is repeatedly called, it will not cause any AbilitySlice to be out of the stack.
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
Motion sensors may be a single physical sensor, or they may be composed of multiple physical sensors.
Developers can create user interfaces directly on AbilitySlice or on Ability.
A home appliance manufacturer used HarmonyOS to produce a high-end refrigerator with a display (256MB of memory), which is not part of HarmonyOS's standard system device.
The user application package of HarmonyOS may not contain a HAP package of the feature type.
In a HarmonyOS application, there must be one and only one HAP of the feature type.
An engineer uses the WLAN P2P function, and the engineer can establish a P2P group.
HarmonyOS's Data Ability is used to provide an interface for operation data, but cannot provide file-related operations.
HarmonyOS not only has the system capability of a single device, but also supports deployment on multiple devices with different memory sizes based on the same set of system capabilities
JavaScript FA (Feature Ability) lifecycle events are divided into application lifecycle and page lifecycle.
The distributed data management of HarmoryoS is based on the distributed soft bus to realize the distributed management of application data and user data.
Before starting the debugging of the Entry module, the engineer needs to check whether the "visible" attribute exists in the config.jsnabilities array in the config.jsnabilities file under the Entry module, and if it does not exist, it needs to be added manually, otherwise the debugging of the Entry module cannot enter the breakpoint.
HarmonyOS provides the NFC message notification function, through which developers can obtain the message of the NFC switch state change and the NFC field strength message.
When creating an application, which field in the app.json5 or config.json file must be the same as the application package name?
Which of the following resource directories should the pictures, audios, videos and other media files involved in the application development process be placed in?
When a developer develops a HarmonyOS application and uses an intent pass object, which of the following descriptions of intent are correct?
When creating an application, which field in the config.json file must be the same as the application package name?
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 breakpoint management functions does the JS code type support?
Regarding the Button component, which of the following styles is a capsule-type button?
A PageA contains Ability SliceA1 and AbilitySliceA2, which is displayed as AbilitySliceA1 by default. What are the following steps if you want to navigate directly to PageA's AbilitySliceA2 in PageB on the current device?
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?
Which of the following is the background agent reminder function module supported from API9.
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 a developer is developing an online education application, in order to improve the user experience, if the userAnswer:s the question correctly, a dialog box of "Congratulations on the correctAnswer:" will pop up at the top of the window.
Which of the following permissions is required to initiate a network request using HTTP?
If a developer wants to use the clipboard service of HarmonyOS to implement simple data transfer between applications, which of the following statements is correct?
When a user is on a video call,Want to migrate the mobile phone video to the smart screen for playback,When clicking Migrate,Find that the smart screen is already in the optional list,What are the items in the description of the scene?
In the collaborative office scenario, project the document on the mobile phone to the smart screen, and perform page turning and zoom operations on the document on the smart screen. What distributed capabilities are used in the preceding scenarios?
When the state data of @State modification is modified, the () method of the component will be triggered to update the UI interface
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?
Which of the following modules provides a full-duplex communication co-ordination?
The library file is the third-party code that the application depends, which are the correct ways to use the following library files?
The application package name cannot contain some reserved fields, which of the following fields meets the specification?
Which of the following methods can be used to deal with navigation within the same page?
Which of the following languages does HarmonyOS support for creating application projects?
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?
In DevEco Studio, what form can developers use to develop HarmonyOS cloud?
If a developer uses custom components when developing a HarmonyOS application, what are the correct descriptions of custom components below?
HarmonyOSdefines different open scopes and authorization methods to protect data according to the sensitivity of the data involved in the interface
If a developer wants to use the device virtualization feature of HarmonyOS, which subsystem will he use?
When using HarmonyOS distributed terminals, which of the following items can ensure that the system is safe and reliable?
Which of the following system resources does the Ark Development Framework provide for developers?
A HarmonyOS developer uses the EventHandler mechanism to process four events: A, B, C, and D, where event D retains the default priority, and the priority properties of the other three events are set as follows: Event A: Priority.INTERMEDIATE Event B: Priority.HIGH Event C: Priority.IDLEWhich of the following statements about the above events are correct?
The library file is the third-party code that the application depends on, which of the following library files are correct?
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?
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?
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?
When a developer develops a background music playback software, he needs to use Service Ability, what are the following correct descriptions of the use process of Service Ability?
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.
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.
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"/>
When adding user information, if the account uses a mobile phone number, which of the following input formats is correct?
When developing HarmonyOS applications, the main function of EventHandler is to deliver InnerEvent events or Runnable tasks to other threads for processing.
Which of the following APIs can I use to query the information of Ability?
The log content is "01-20 16:08:36.90823597-23597/com.example. myapplicition w00201/MY_TAG: Failed to visit . reason: 503." By analyzing the log, you can't get the following items?
A HarmonyOS application developer displays three flowers in the form of a list, and the interaction logic code of the page is as follows.
When a company is developing a HarmonyOSapplication, it needs to customize an artboard control, how to get the X coordinates of the current touch point in the whole screen during the listening of touch events?
During the development of a HarmonyOS application, a developer needs to obtain the uplink and downlink traffic of a specified NIC. Which of the following interfaces does the developer need?
A developer called the getDefaultHost(Context context) interface of BluetoothHost to obtain a Bl1uetoothHost instance for managing local Bluetooth operations. The developer uses the following development steps to implement Bluetooth pairing:
1Turn on Bluetooth.
2Scan Bluetooth.
3. Initiate pairing.
Which of the following statements about steps 1, 2, and 3 is true?
There is a configljson configuration file in the root directory of each HAP (HarmonyOS Ability Package) of a HarmonyOS application.
Which of the following subsystems in HarmonyOS is part of the basic software servicesubsystem set?
HarmonyOS maintains a stack of AbilitySlice instances for each Page, and each AbilitySlice instance that enters the foreground will be added to the stack.
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.
Encoding is the process of converting information from one form or format to another, which of the following can be encoded?
A developer wants to use JS (JavaScript) to develop an application on the smart screen,Which of the following development languages does the developer need to master?
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?
HarmonyOS supports on-demand elastic deployment of a variety of terminal devices.
Which of the following functions does the HarmonyOS network management module provide?
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);
What types of conversion functions are supported for static animations in HarmonyOS?
Which of the following properties of state decorator decorating must be initialized locally?
To publish a public event with permissions in HarmonyOS, you need to set subscriber permissions in the code.
Relational databases provide the ability to add, delete, modify, and query local data.
If you need to use a composite animation, you can combine multiple animated objects and add them to the AnimatorGroup. The AnimatorGroup provides two methods: runSerially() and runParallel(). Indicates that the animation starts at the same time and that the animation starts sequentially.
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.
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.
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?
What are the common problems in uploading software packages during the listing process of HarmonyOS applications/metaservices?
A developer is using CommonEventData to encapsulate information about ordered public events for data processing when publishing, distributing, and receiving. What do I need to pay attention to when developing?
Which of the following service SDKs has been integrated with device-cloud integration?
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.
When a developer is developing an application, he uses DevEco Studio to create an empty Java project, but does not install Node.js separately, and can still develop the project normally.
The following description of the basic components of the ArkTS declarative development paradigm is correct
An engineer wrote the following code, which items are correct in the description of the following code?
@Entity(tableName="user",ignoredColumns={"ignoredColumn1","ignoredColumn2"},indices ={@Index(value ={"firstName","lastName"),name="name_index",unique =true)})
The HarmonyOS Media Management module provides capabilities for audio playback, audio recording, audio and video synthesis, and video decoding.
When a developer develops a social application, he needs to develop a plug-in that generates a contact QR code. In this scenario, the developer can use the code generation Al capability provided by HarmonyOS, which can return the corresponding QR code image byte stream based on the given string information.
When developers use HarmonyOS distributed terminals, which of the following items can ensure that the system is safe and reliable?
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?
When a user is on a video call,Want to migrate the mobile phone video to the smart screen for playback,When clicking Migrate,Find that the smart screen is already in theoptional list,What are the correct descriptions of the scene?
When testing the Bluetooth Low Energy feature of HarmonyOS, a developer needs to make the central device perform Bluetooth scanning. Which of the following descriptions of the developer's actions are correct?
API9 and above, router.pushUrl() method mode parameter can be configured to which of the following modes used by the jump page?
Knowing the variable int a=123, which of the following codes can successfully print the value of variable a in the console?
The Ark Development Framework of HarmonyOS includes a Web-like development paradigm based on TS extensions and a declarative development paradigm based on JS extensions.
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?
What are the following options that belong to the JavaScript UI framework?
Mobile terminal devices have penetrated into all aspects of people's daily life, such as checking the weather, news and anecdotes of the city, traveling taxi, travel navigation, and sports records. These accustomed activities are inseparable from locating the location of the user's terminal equipment. What positioning technologies does HarmonyOS's location services subsystem provide?
Which of the following functions does the HarmonyOS network management module provide?
The network management module of HarmonyOS provides a data networkmanagement function, which can effectively manage HTTP caches to reduce data traffic.
What capabilities does the public event service provide for the application?
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?
Which of the following descriptions of traditional Bluetooth operation is correct for HarmonyOS devices?
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.
Which of the following subsystems in HarmonyOS belongs to the Enhanced Software Services subsystem?
If a developer wants to develop an application on a smart screen, which of thefollowing subsystems will he use?
The KV data model is a SQL-type database whose data is organized, indexed, and stored in the form of key-value pairs.
What are the following types of task dispensers that HarmonyOS provides for developers?
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?