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.
Which of the following methods can a developer use to obtain the actual pixel size corresponding to 8VP on the current device?
When using EventHandler to implement thread interrogation communication, if EventRurner takes out the InnerEvent event, EventRunner will directly process the event on the new thread.
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.
When developers use HarmonyOS distributed terminals, which of the following items can ensure that the system is safe and reliable?
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.
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?
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.
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.
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 0FF should be displayed on the closed state component. You can use the following code to meet your needs:
Switch btnSwitch=
(Switch)findComponentByld(ResourceTable.
ld_btn_switch);
btnSwitch.setStateOffText("ON");
btnSwitch.setStateOnText("OFF");
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?
When developing a HarmonyOS application, a developer receives the following product request: If a user logs in to the same HarmonyOS account on device A and device B, the user can log in to the app on device A and synchronize the application account authentication information to device B as needed. After the account authentication information is synchronized, the user can open the application on device B and log in directly without entering the application account authentication information again. Which of the following descriptions of this scene is correct?
Barrier-free color palettes should meet the identification needs of color blindness, and safe color palettes can be found by simulating the visual effects of different similar color defects.
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?
A developer has multiple versions of the object-relational mapping database, and the developer calls the BOOKstoreUpgrade class to upgrade the database version, and the version number of the BOOKstoreUpgrade class is configured as "3", and the actual version number of the current BOOKstore.db is "1", in this case, TestormMigration12, TestormMigration23 The onMigration method is automatically called to complete the database upgrade.
Which of the following information is included in the module.json5 configuration file?
HarmonyOS is classified according to the size of the device's memory, which of the following categories can be divided into?
When using Bluetooth Low Energy in HarmonyOS, the peripheral device, as a client, can receive GATT connection requests from the central device, but cannotAnswer:requests for reading and writing eigenvalue content from the central device.
What services will be automatically activated after a HarmonyOS Cloud development project is created?
If a developer needs to use the JavaScript UI framework to display the bar chart of the month's product sales, he can use the chart component to implement this function.
What types of conversion functions are supported for static animations in HarmonyOS?
Which of the following decorators can be used to manage the state of variables in custom components?
Which of the following descriptions of traditional Bluetooth operation is correct for HarmonyOS devices?
The distributed database is based on the KV data model and provides KV access interfaces.
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?
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">
When a developer uses HarmoyOS system security, which of the following functions makes the device have the ability to prove its security to other virtual devices?
HarmonyOS not only has the system capability of a single device, but also supportsdeployment on multiple devices with different memory sizes based on the same set of system capabilities.
If a developer uses the startAbility() method provided in Ability to start a Service, what are the correct descriptions of starting the Service?
The main function of EventHandler is to deliver InnerEvent events or Runnable tasks to other threads for processing.
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?
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?
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?
The network management module of HarmonyOS provides a data networkmanagement function, which can effectively manage HTTP caches to reduce data traffic.
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.
Knowing the variable int a=123, which of the following codes can successfully print the value of variable a in the console?
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?
There is a configuration file named "config.json" in the root directory of each HAP package of the HarmonyOS application, which mainly covers the following three aspects:
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?
What are the following aspects of resource utilization analysis that DevEco Studio Performance Analyzer can perform?
HarmonyOS provides two mechanisms for calling JavaPA (ParticleAbility) by JSFA(FeatureAbility), namely Ability and InternalAbility.
The application package name cannot contain some reserved fields, which of the following fields meets the specification?
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?
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"/>
ArkTS Stage model supports API Version 9, is it correct about its project directory structure?
Aoh-package.json5 is used to store application-level configuration information, including signatures, product configurations, etc
Bbuild-profile.json5 is used to configure the entry and package name of the third-party package declaration file
Cmodule.json5 contains the configuration information of HAP, the configuration information applied to a specific device, and the global configuration information of the application
Dapp.json5 is used to write application-level compilation and build task scripts
258 DevEco Studio provides an emulator for developers to run and debug HarmonyOS applications/services.
A localemulator is created and runs on the local machine and requires login authorization
BThe local emulator supports functions such as volume adjustment, battery level adjustment, screen rotation, etc
CYou don't need to sign your application/service when you install it on your local emulator
DDevEco Studio will start the compilation build of the application/service, and the application/service will run on the local simulator after completion
259. After installing Lottie through OHPM, in which file will the relevant configuration information be generated?
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 developing a HarmonyOSapplication, which of the following is NOT a permission that should be followed?
Which of the following modules provides a full-duplex communication co-ordination?
When using the capabilities or data of the corresponding service, you need to apply for the corresponding permissions, and the non-sensitive permissions need to be declared in which field of config.json?
What files does an engineer need to use to sign the debugged module when he wants to debug a newly developed application on a real device?
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?
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?
If a developer wants to obtain the location information of a HarmonyOS device, which of the following methods is correct?
What are the following types of transition animations in the declarative development paradigm?
. 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
What principles of permission should be followed when developing HarmonyOS applications?
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?
Whichof the following does not belong to the application framework layer in theHarmony OS system architecture?
When developing a HarmonyOS application, which of the following notification types can be implemented by developers?
A developer calls the getDefauitHOST(Context context) interface of Bluetooth HOST to obtain a Bluetooth HOST instance for managing local Bluetooth operations. This developer experiments with the following development steps to implement Bluetooth pairing. 1Turn on Bluetooth, 2Scan Bluetooth3 Initiate pairingWhich of the following statements about steps 1, 2, and 3 are correct?
There is a configljson configuration file in the root directory of each HAP (HarmonyOS Ability Package) of a HarmonyOS application.
Which of the following permissions is required to initiate a network request using HTTP?
Whichof the following subsystems in Harmony OS can achieve data isolation between applications?
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?
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?
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 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?
Which of the following methods can jump to a new page and destroy the current page?
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 needs to be imported to initiate a network data request?
When a developer sets a background for a Text component, which of the following methods are correct?
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?
If a developer needs to use the JavaScript UI framework to develop an application, which of the following components can the developer choose?
What kind of struct is used to decoratively indicate that the structure has the ability to be componentized?
The user clicks on the song from the music list page to jump to the playback interface of the song, and clicks back to return to the music list page. Which of the following do developers need to do to implement this feature?
HarmonyOSadopts a multi-core design, which supports the selection of suitable OS kernels for different resource-constrained devices
Which of the following items is correct about the objects of HarmonyOS permission protection?
The Minimalist Protocol is a communication protocol customized by HarmonyOS, which layers of the traditional communication protocol are simplified?
What data types are supported for the storage of preference preferences values
What are the following development languages that a developer can use to develop a mobile app using HarmonyOS?
When developing a HarmonyOS application, if you want to set the background color for a Text component in the page, the following is correct
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 JavaScript UI development, for wearable projects and TV projects, the name of the homepage can be not index, and the first page in the pages configuration list is the homepage; for the litewearable project, the name of the homepage must be index.
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.
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.
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.
The network management module of HarmonyOS can realize the communication between different processes of the machine, and the communication supports streaming socket technology.
In JavaScript UI development, for wearable projects and TV projects, the name of the home page can be not index, and the first page in the pages configuration list is the home page; for the litewearable project, the name of the home page must be index.
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.
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.
The distributed data management of HarmoryoS is based on the distributed soft bus to realize the distributed management of application data and user data.
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.
In HarmonyOS, both relational databases and object-relational mapping databases can use SQL statements to manipulate databases.
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.
In the HarmonyOS system architecture, the distributed data management module belongs to the framework layer.
When a developer starts a music player on a remote device, he or she may not fill inthe Deviceld of the remote device.
Huawei's latest mobile phones、HarmonyOS system is pre-installed in the smart screen.Among them, the mobile phone does not belong to the HarmonyOS large system device.The smart screen belongs to the large system device。
When developing the list component in the JavaScript UI framework, you can use the data of the Map type to dynamically bind the data.
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.
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.
When MainAbility and MainAbilitySlice are bound together, the lifecycles of the two are synchronized, including the callback method for transitioning between states.
The ListContainer grid layout can be realized through the setLayoutManager() method
AR (HarmonyOSAbilityResources) Different HAPs (HarmonyOSAbilityPackage), HAR cannot be installed and run on the device independently, and can only be referenced as a dependency of the application module.
Service is running in the background, and users want the application to keep running all the time when playing music, and the foreground Service cannot be used at this time.
In HarmonyOS, by default, the UI interface is displayed and updated in the main thread
In HarmonyOS's "1+8+N" strategy, smart microwave oven devices belong to "N" devices.
A developer wants to use macOS for HarmonyOS application development, but the development tool DevEco Studio does not support macOS installation.
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.
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 callback mechanism provided by the Ability class can allow the Page instance to switch with the user's operation background
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.
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.
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.
In HarmonyOS's "1+8+N" strategy, mobile phones belong to one of the "8" devices.
Static animation has a start state, an end state and an intermediate state, if you need to set the transition state and transition effect in the middle, you can use static animation to achieve it.
The data generated by a developer's use of Data Ability can be shared between different applications on the same device, but cannot be shared across devices.
A developer calls the terminate method in JavaScript code, which causes the Page Ability to be destroyed.
HarmonyOS maintains a stack of AbilitySlice instances for each Page, and each AbilityS1ice instance that enters the foreground will be added to the stack.
HarmonyOS developers can use the "chos. Permission.CET_NET7ORK_INFO request permission to Modify Network Connection Status.
When MainAbility and MainAbiitySlice are bound together, the lifecycles of the two are synchronized, including the callback method for transitioning between states.
A developer uses the Wi-Fi "Don't TrustHot-spotConfiguration" feature provided by HarmonyOS to add a specifiedhot-spotto its application, making it prioritize lower than the saved hot-spot. In this case, the system will refuse to connect to thehot-spoteven if it is the most suitablehot-spotafter the system scan.
The global search portal provided on HarmonyOS has a desktop drop-down search box or a negative screen search box.
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.
Motion sensors may be a single physical sensor, or they may be composed of multiple physical sensors.
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.
HarmonyOS's distributed soft bus enables distributed management of application data and user data.
The way to find the object of the control declared in the Layout file by ID in HarmonyOS is findComponentByld().
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.
When a developer uses mobile phones and smart screens to develop applications, he can select two device types, smartphones and smart screens, in the AppGallery project.
The Ability (referred to as "Service") of the Service template is only used for background running tasks, and the priority of background Services is relatively low, and when the resources are insufficient, the system may recycle the running background Service
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.
Which of the following is NOT a capability provided by Distributed Device Virtualization in HarmonyOS?
HarmonyOS's AI capability provides the function of generating QR codes, for example, if you need to generate a QR code for each mobile phone contact, which of the following describes the QR code correctly?
WhenthePage of Harmony OS executes the onForeground() callback, which of the following states will the Page return to first?
Both the provider and user of DataAbility use a URI (UnifomResourceldentifier) to identify a specific data, and the format of the URI is as follows:
Scheme://[authority]/[path][? query][#fragment]
Which is the correct URI description in the cross-device scenario and the local device scenario?
After the creation of a custom component of the Web development paradigm, which of the following callbacks will be triggered when it is added to the Page component tree?
HarmonyOSsupports developers to customize permissions in the "reqPermissions" field to access permission-protected objects
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 HarmonyOS app developer uses the form container, which of the following elements can be submitted and reset?
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?
When the user clicks on a song from the music list page and jumps to the playback interface of the song, the principle is that the page route routes to the destination page according to which of the following?
When a developer installs HAP (HarmonyOSAbility Package), what is the reason for the "STRING LENGTH ERROR" message?
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?
In the declarative development paradigm, which of the following decorator decorated state variables needs to be initialized locally, and the initialized value can be overridden by the construction parameters?
In HarmonyOS application development, where can commonly used backgrounds, such as common text backgrounds and button backgrounds, be placed?
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?
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?
In the JS (JavaScript) UI framework, which layer is connected to the system platform platform by abstracting the platform layer and providing an abstract interface?
If a developer wants to use the video playback function of HarmonyOS, which of the following subsystems will he use?
If a developer needs to solve problems such as insufficient image resolution and image compression noise, which of the following AI capabilities can be used by HarmonyOS?
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 a developer specifies a music playback service through an intent when starting a remote service, device A (local device) can start the music playback capability of device B (remote device).
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 the engineer is developing JS (JavaScript), the application can successfully load the local image in the common path, but cannot load the network image.
A developer now needs to make a motion track recording application, which can report the user's location information in real time. Which of the following is correct?
Inwhat form will the application package of Harmony OS be released and put on the shelves?
When designing an application, the program needs to include the global configuration information of the application and the configuration information of the HarmonyOS Ability Package (HAP). In which file can the developer configure this information?
How do I define the permissionscorrectly when a developer needs to customize the permissions for the Harmony OS third-party application?
fter a developer sets :ohos:layout_alignment="horizontal_center" in the Text component, he writes: text.setMarginRight (600) in the code, where is the Text displayed in the parent layout?
Which of the following atomic layout capabilities does not belong to the position of the control element?
In the Page Ability lifecycle of HarmonyOS, when the system creates a Page instance for the first time, which of the following callback methods will be triggered first?
If a developer needs to add the Banner function to a page, which of the following components is most suitable for implementing the function?
If a UI is no longer visible to the user, but you don't want to destroy it, which method will the system call to release the corresponding resources?
When a developer designs a navigation application and needs the system to provide accurate positioning, which subsystem will be used?
An engineer uses a local simulator for application debugging, which of the following describes the error of the local simulator?
When a developer uses Page Ability to open a ServiceAbility, he needs to pass parameters through Intent, at what stage is the parameter obtained in the whole process null?
onStart( ) in A S ervice.
Developers will use the UI framework provided by Harmony OS when developing mobile phone pages, which of the following is not a UI framework?
A developer is developing an online education application, and there are multiple choice questions and multiple choice questions in the studentAnswer:interface, which of the following components is suitable for displaying multiple choice questions?
When a developer specifies a music playback service through an intent when closing a remote service, the developer can realize the ability to disable music playback on remote devices.
How should a developer choose the Debug Type if he needs to debug JAVA code separately in a JS+JAVA hybrid project?
Which of the services provided by the HarmonyOS Connect solution is Device Parter?
It is necessary to apply for the permission of certain operation sensitive capabilities. Which of the following is NOT considered a sensitive capability?
Which of the following is NOT part of the software exposure capabilities provided by HarmonyOS Connect?
When an engineer needs to add the function of recording video when developing an application, which of the following interfaces should be called?
Which of the following belongs to the lifecycle of starting a Service Ability?
When a developerdevelops an application based on Harmony OS, one of the HAPs (HarmonyOS Ability Package) needs to access the SQLite database to implement the following functions:
Function 1: Create a database.
Function 2: Insert data.
Function 3: Query data.
Which of the following descriptions of the developer's development steps is correct?
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 a developer clicks the exit button of an application to release PageAbility resources, which callback method in the ability lifecycle of the Pag package will betriggered?
When the system creates a page instance for the first time, which method will be called?
When developing a HarmonyOSapplication, what methods do I need to call when migrating the FA (Feature Ability) on device A to device B?
When a developer is developing a JavaSriptUI page of a shopping software,he needs to use the list component to display the product information, and which method of the list can be used to scroll to the specified item?