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 developers use HarmonyOS distributed terminals, which of the following items can ensure that the system is safe and reliable?
Which of the following descriptions of traditional Bluetooth operation is correct for HarmonyOS devices?
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?
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?
After the card is added to the card management service, the card user caches the view information of the card, so that the cached data can be directly returned the next time the card is obtained, reducing the delay.
When using DevEco Studio for debugging, you need to check the properties in configjson regardless of whether you use a real machine or an emulator.
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 methods can a developer use to obtain the actual pixel size corresponding to 8VP on the current device?
HarmonyOS maintains a stack of AbilitySlice instances for each Page, and each AbilitySlice instance that enters the foreground will be added to the stack.
The following description of the basic components of the ArkTS declarative development paradigm is correct
Encoding is the process of converting information from one form or format to another, which of the following can be encoded?
If a developer uses the startAbility() method provided in Ability to start a Service, what are the correct descriptions of starting the Service?
HarmonyOS is classified according to the size of the device's memory, which of the following categories can be divided into?
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.
The distributed database is based on the KV data model and provides KV access interfaces.
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?
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.
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?
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 reading app uses the language recognition capability provided by HarmonyOS, the app can automatically read a novel.
Cross-terminal migration is a technical solution to realize the flow of user applications, which refers to the simultaneous or alternate operation of FA/PA on multiple terminals to achieve complete services.
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.
Which of the following information is contained in moduleJSON5 under entry?
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.
If a developer wants to implement the page swiping function in an application, which of the following components can be used to implement the function?
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 are the following options that belong to the JavaScript UI framework?
Which of the following service SDKs has been integrated with device-cloud integration?
Which of the following decorators can be used to manage the state of variables in custom components?
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.
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.
Which of the following properties can be used for components that contain text elements, such as Text, Button, TextInput, etc.?
Which modules in the following figure can be installed and operated independently?
Which of the following functions is a lifecycle function for a custom component?
Regarding the Tabs component and the TabContent component, the following description is correct
Which of the following properties or events does the web component support?
What development tools do programmers do not need to install when developing HarmonyOS mobile apps?
A developer wants to use the list component of the JavaScript UI framework to display a table.
scrollpage="true" scrollbar="on" shapemode="round" scrolleffect="no">
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?
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?
Which of the following operations can be performed through the @ohos.systemTime module?
In the same - Page, which of the following methods can be used to deal with the navigation between different pages?
The JS UI framework of HarmonyOSis a cross-device high-performance UI development framework that supports declarative programming and cross-device polymorphic UI. Which layer of the JS UI framework mainly completes front-end page parsing, and provides capabilities such as MVVM (Model-View-ViewModel) development mode, page routing mechanism, and custom components.
When publishing an application, I need to create a certificate, and what type of certificate type should I choose?
Ability and InternalAbility are two different ways to call PA (ParticleAbility) by FA (FeatureAbility).
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?
A developer uses ListContainer to create a list component that can be swiped, in order to improve the user experience, it needs to display the rebound effect when swiping to the beginning and end of the list, which of the following options can meet this requirement?
Regarding the callback event of the Video component, the following statement is incorrect
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?
Which of the following features does HarmonyOS smart home devices include?
If a developer wants to use the device virtualization feature of HarmonyOS, which subsystem will he use?
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 account 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?
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?
What data types are supported for the storage of preference preferences values
Which of the following situations will not call back the onFinish function?
What kind of struct is used to decoratively indicate that the structure has the ability to be componentized?
Which of the following permissions is required to load network images with the Image component?
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.
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?
HarmonyOS supports the flexible deployment of multiple terminal devices on demand through design methods such as componentization and miniaturization, and can adapt to different types of hardware resources and functional requirements. Which of the following descriptions of elastic deployment are correct?
Which of the following interfaces is NOT an API provided by the preference?
In HramonyOS, which of the following can developers use the static animation feature to achieve?
Which of the following sorting types does the trusted list of devices found by HarmonyOS Device Manager contain?
If a developer wants to use the notification function of HarmonyOS when developing an application, which of the following notification styles can be selected by the developer?
What files does an engineer need to use when he wants to debug a newly developed application on a real device?
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?
HarmonyOSadopts a multi-core design, which supports the selection of suitable OS kernels for different resource-constrained devices
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?
Which of the following modules provides a full-duplex communication co-ordination?
Which of the following methods can be used to deal with navigation within the same page?
When a developer clicks the exit button of an application to release Page Ability resources, which callback method in the Page Ability lifecycle will be triggered?
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 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?
Which of the following system resources does the Ark Development Framework provide for developers?
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?
In what ways can developers use device-cloud integration in DevEco Studio?
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?
When a developer calls Particle Ability (PA) with FA (Feature Ability), callAbility returns the error "Internal ability not register.", what key steps does the developer need to check?
There is a configljson configuration file in the root directory of each HAP (HarmonyOS Ability Package) of a HarmonyOS application.
Which of the following positioning capabilities does the location service subsystem of HarmonyOS provide?
. 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
When the state data of @State modification is modified, the () method of the component will be triggered to update the UI interface
In DevEco Studio, what form can developers use to develop HarmonyOS cloud?
When a user uses the device camera to flip a blurry text file, he expects the camera app to provide a plug-in to improve the recognition of the text. Which of the following HarmonyOS service features is best suited to meet the needs of this user?
A developer has developed an Image component and written the following code, which of the following descriptions of the component 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?
It is necessary to apply for the permission of certain operation sensitive capabilities. Which of the following is NOT considered a sensitive capability?
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?
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?
HarmonyOSsupports developers to customize permissions in the "reqPermissions" field to access permission-protected objects
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 of inserting multiple pieces of data into the database at one time?
When an engineer develops an application and needs to add the function of extracting videos, which of the following interfaces should be called?
After a developer completesthe development of a Harmony OS application, it needs to be published to AppGallery
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?
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?
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?
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)?
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?
In the HarmonyOSsystem architecture, which of the following provides unified peripheral access capabilities and driver development management framework?
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 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?
What lifecycle processes will be triggered when a developer creates a Page instance and lets the instance be displayed in the foreground?
If a developer wants to use the JavaScript UI framework to develop a graffiti application that allows users to draw custom graphics, which of the following components can be used by the developer?
Which of the following is NOT acomponent of the Harmony OS object-relational mapping database?
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?
After a developer sets :ohos:layout_ alignment="horizontal _center" in the Text component, he writes: text.setTranslationX(600) in the code, where is the Text displayed in the parent layout?
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?
Which of the following is NOT a capability provided by Distributed Device Virtualization in HarmonyOS?
A developer wants to implement a registration and login function, and there are two pages, namely registration page A and login page B. When jumping from registration page A to login page B, which of the following is correct about the lifecycle of the two pages?
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?
A developer defines an entity class
Student.java and use the following code to construct the table:
@Entity(tableName ="student", ignoredColums
=["ignoredColumn1","ignoredColumn2", indices
= (@Index(value =("firstName.","lastName",
name="name_index", unique = true)))
pub1ic class User extends OrmObject{
@PrimaryKey(autoGenerate= true)
private Integer userld;
private String firstName;
private String lastName;
private int age;
private doub1e balance;
private int ignoredColumn1;
private int ignoredColumn2;
}
Which of the following descriptions of this code is wrong?
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?
How to realize distributed communication betweentwo existing Harmony OS devices?
How should a developer choose the Debug Type if he needs to debug JAVA code separately in a JS+JAVA hybrid project?
A developer designs a game application with MainAbility on the home page, click the game icon on the desktop, and then press the Home button to hide the game in the background, how does the life cycle of MainAbility change?
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?
If a developer needs to add the Banner function to a page, which of the following components is most suitable for implementing the function?
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?
Which of the following belongs to the lifecycle of starting a Service Ability?
Which of the following does not belong to the system service layer in the HarmonyOS system architecture?
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.?
If a developer wants to achieve the effect of page swiping in an application, which of the following components does the developer need to select?
When a developer develops a JavaScript application on a smart screen. If you want to do some static animation, if you want to move a component 200px horizontally, which of the following styling configurations is correct?
When a developer designs a navigation application and needs the system to provide accurate positioning, which subsystem will be used?
In the JS (JavaScript) UI framework, which layer is used to complete the front-end page parsing?
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?
In order to ensure better responsiveness of the application, developers need to use the task distributor to design the priority of the task.
If a developer wants to develop an application on a smart screen, which of the following subsystems will he use?
When the system destroys a page, which of the following callback methods will be triggered?
An engineer uses a local simulator for application debugging, which of the following describes the error of the local simulator?
The developer uses device A (local device) to control device B (remote device) to open the album, which distributed task scheduling capability is used in this scenario?
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?
When I use the interface to set the system time in HarmonyoS, which of the following is the smallest time unit?
When a developer uses the Text component for development, due to the long length of the input string, the content in the middle of the text needs to be truncated with ellipses. Which of the following codes can be used to achieve the above requirements?
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?
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.
If a developer wants to develop a file background download function, there needs to be a Page Ability to provide U pages, and a Service Ability to provide the background file download function. If you want to perform some operations after connecting to the Service Ability in the Page Ability, you need to implement the onAbilityConnectDone() method in the Page Ability.
PositionLayout is an adaptive layout, which is mainly used in scenarios where multiple components at the same level need to automatically adjust the number of columns on different screen sizes.
HarmonyOS provides access to external storage devices, such as USB flash drives, SD cards, etc.
In a HarmonyOS application, there must be one and only one HAP of the feature type.
A developer needs to make a list of the minimum necessary permissions for the application he develops. If the minimum necessary permissions list is output correctly, the lack of one of these permissions will cause the application-related services to be unable to implement or run normally.
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.
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.
An engineer uses a simulator to debug a HarmonyOS application, which can support two types of HAP: signed and unsigned HAP (Harmomy0S Ability Package).
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.
HarmonyOS's distributed soft bus enables distributed management of application data and user data.
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.
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.
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.
If a third-party application has registered the callback of the airplane mode setting item in advance, when the user modifies the airplane mode status of the terminal through the system settings, the application will detect the change of this setting item and adapt it. If the airplane mode is detected to be turned off, the app will go offline, and if the airplane mode is detected and turned on, the app will recapture the online data.
The user application package of HarmonyOS may not contain a HAP package of the feature type.
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.
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 way to find the object of the control declared in the Layout file by ID in HarmonyOS is findComponentByld().
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.
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.
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.
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);
The global search portal provided on HarmonyOS has a desktop drop-down search box or a negative screen search box.
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.
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.
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".
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.
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.
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 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.
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.
In the HarmonyOS system architecture, the distributed data management module belongs to the framework layer.
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.
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.
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.
The network management module of HarmonyOS can realize the communication between different processes of the machine, and the communication supports streaming socket technology.
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.
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.
The distributed data management of HarmoryoS is based on the distributed soft bus to realize the distributed management of application data and user data.
A Page Ability (hereinafter referred to as a "Page") may consist of one or more AbilitySlice, which refers to the sum of a single page of an application and its controllogic.
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.
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.
When a developer starts a music player on a remote device, he or she may not fill in the Deviceld of the remote device.
JavaScript FA (Feature Ability) lifecycle events are divided into application lifecycle and page lifecycle.
The lightweight preference database is a non-relational database, which mainly provides lightweight key-value operations and supports local applications to store a large amount of data. If a HarmonyOS developer uses a lightweight preference database to save data, the data will be stored in a local file and will not be loaded into memory.
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
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.
The callback mechanism provided by the Ability class can allow the Page instance to switch with the user's operation background