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.
A HarmonyOS application developer creates two pages, indlex and detai1, so that the two pages jump to each other. The code of the index page is as follows, which of the following descriptions are correct?
When a developer develops a JavaScript application on the smart screen,Want to do some static animation,If you want to move a component in the horizontal direction by 200px,Which of the following style configurations is correct?
What development steps does a developer use to develop an application with a UI?
NetworkID is the communication identifier of distributed network device nodes in distributed networking, and is used to identify network device nodes in distributed services. To meet the privacy requirements in distributed scenarios, in which of thefollowing scenarios will NetworkID change?
When creating an application, which field in the app.json5 or config.json file must be the same as the application package name?
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 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?
Which of the following resource directories should the pictures, audios, videos and other media files involved in the application development process be placed in?
Which field needs to be configured in the module.json5 file for UIAbility startup mode?
When a developer designs a JavaScript login page, he needs to use Internal Ability to call Data Abiliity to verify the username and password, which of the following can be modified to complete the function?
const ABILITY_TYPE_EXTERNAL=0;
var action=0;
action.bundleName="com.huawei.loginservice"; action.abilityName="com.huawei.loginservice.LoginDataAbility";
action.messageCode=ACTION_MESSAGE_CODE_PLUS;
action.data=actionData;
action.abilityType=ABILITY_TYPE_EXTERNAL; action.syncOption=ACTION_SYNC;
var result=await
FeatureAbility.callAbility(action);
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?
In the process of debugging Harmomyos applications, it is a common debugging method for developers to "check whether the change process of variables meets the expected results". To this end, DevEcoStudio provides a visualization of debug variables, which of the following forms can be presented?
When using HarmonyOS distributed terminals, which of the following items can ensure that the system is safe and reliable?
In the HarmonyOS distributed application scenario of multi-device collaboration, device A is often required to start and stop the service of device B, for example, start and stop the music playback of device B on device A. In the process of starting and stopping a Service, the following statement is correct
What kind of custom component can be used as a page entry component with a decorator?
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?
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.
A developer uses a task distributor to dispatch tasks 1, 2, and 3. The developer added Task 1 and Task 2 to a task group and used syncDispatchBarrier to set up a task execution barrier on that task group. During execution, the discoverer waits for both task 1 and task 2 to be executed before executing task 3. Based on the above scenario analysis, which of the following task distributors may be used by the developer?
Which of the following request methods is appropriate to submit form data to the server?
Which of the following classes is the base class for JavaScript FA (Feature Ability) to run on HarmonyOS?
The Web-like development paradigm provides a series of lifecycle callback methods for custom components, which are the following lifecycle callback methods for developers to manage the internal logic of custom components?
If a developer wants to obtain the location information of a HarmonyOS device, which of the following methods is correct?
What are the following aspects of resource utilization analysis that DevEco Studio Performance Analyzer can perform?
NetworkID is the communication identifier of distributed network device nodes in distributed networking, in order to keep the NetworkID of the same device unchanged, which of the following operations should be avoided?
Which of the following modules provides a full-duplex communication co-ordination?
HarmonyOS adopts a multi-core design, which supports the selection of appropriate OS kernels for different resource-constrained devices, and the kernel abstraction layer provides basic kernel capabilities for the upper layer by shielding the differences between multiple cores, including which of the following?
When a developer is developing an application, he calls the IAbilityContribution interface to migrate between multiple pages, what are the methods that belong to the interface?
Which of the following NFC functions can developers use when developing apps based on HarmonyOS?
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 the state data of @State modification is modified, the () method of the component will be triggered to update the UI interface
Ability and InternalAbility are two different ways to call PA (ParticleAbility) by FA (FeatureAbility).
A developer needs to use the current scattered data network for socket data transmission, and 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(Context) 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?
In order to control the access of a specific interface to the caller, an application confirms that the visitor has the required permissions through verifyCallingPermission. Which of the following descriptions is correct?
The declarative development paradigm based on TS extensions provides a series of basic components, the following code describes the structure of a simple page, read this code, which of the following are built-in components?
Which of the following functions can be achieved through the sidebar button of the remote simulator?
A developer designed an application, when the user receives a notification, if the user clicks on the notification, it will jump to a new page, and if the notification is not clicked, the new page will not be triggered.
Which of the following is an event method that can obtain the offset of the List slide
When developing a HarmonyOS application, if you want to set the background color for a Text component in the page, the following is correct
Which of the following system resources does the Ark Development Framework provide for developers?
Whichof the following does not belong to the application framework layer in the Harmony OS system architecture?
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?
After the release of the open beta version, how do the invited test users experience?
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
In order to avoid affecting the startup speed, developers need to postpone the execution of non-essential time-consuming tasks until the time of use, instead of performing all initializations in the onStart() method.
Although a Page can contain multiple AbilitySlices, when a Page enters the foreground, the interface displays only one Abilitylice by default.
HAR (HarmonyOS Ability Resources) is different from HAP (HarmonyOS Ability Package) in that HAR cannot be installed and run on devices independently, and can only be referenced as dependencies of application modules.
When 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.
An engineer uses a simulator to debug a HarmonyOS application, which can support two types of HAP: signed and unsigned HAP (Harmomy0S Ability Package).
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
A developer calls the terminate method in JavaScript code, which causes the Page Ability to be destroyed.
When a developer starts a music player on a remote device, he or she may not fill in the Deviceld of the remote device.
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.
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.
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 MainAbility and MainAbiitySlice are bound together, the lifecycles of the two are synchronized, including the callback method for transitioning between states.
HarmonyOS's relational database and object relational mapping database are both based on SQLite.
In HarmonyOS, by default, the UI interface is displayed and updated in the main thread
HarmonyOS's distributed soft bus enables distributed management of application data and user data.
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.
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.
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.
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 network management module of HarmonyOS can realize the communication between different processes of the machine, and the communication supports streaming socket technology.
HarmonyOS developers can use the "chos. Permission.CET_NET7ORK_INFO request permission to Modify Network Connection Status.
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.
When a developer has multiple versions of the object-relational mapping database, and the developer calls the BookStoreUpgrade class to upgrade the database version, the version number of the BookStoreUpgrade class is configured as "2", and the actual version number of the current BookStore.db is "1".
When the user is driving a car, he cannot use the mobile phone with his hands free, but he can control the mobile phone through voice assistant interaction. The abovescenarios belong to a typical class of applications of entity recognition.
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.
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.
When using EventHandler to implement inter-thread communication, if the callback method of EventHandler and the processing method of EventHandler are used.
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.
AbilitySlice and Page have the same lifecycle state and callback method with the same name, and when the Lifecycle of the Page changes, the same lifecycle change will occur in AbilitySlice. Similarly, as the lifecycle of an AbilitySlice changes, the lifecycle state of a Page changes.
When 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 a developer compiles a project, the compilation fails, and the message "This device type does not match project profile" is displayed, because the device type configured in "config.json" does not match the device type for debugging, and "deviceType" needs to be configured in the "module" tag.
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.
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 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.
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's "1+8+N" strategy, smart microwave oven devices belong to "N" devices.
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.
In a HarmonyOS application, there must be one and only one HAP of the feature type.
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 provides the Al capability of Instant Messaging (IM) intent, which can convert speech signals into text or commands, and identify the user's intent represented by the message content.
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.
The following code snippet is used to start the Service of the remote device, if it is replaced with the Service.withDeviceld("deviceld") that starts the local device, it can be deleted.
Intent intent =new Intent();
Operation operation =new Intent.OperationBuilderO
.withDeviceld("deviceld")
.withBundleName
("com.domainname.hiworld.himusic")
.withAbilityName("com.domainname.hiworld.himusic.ServiceAbility")
.withFlags(Intent.FLAG_ABILITYSLICE_MULTI_DEVICE)
.bui1d();
intent.setOperation(operation);
startAbility(intent);
A Page Instance can contain a group of related pages, and each page is represented by an AbilitySlice instance.
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.
In the process of application development, a developer uses the global concurrent task distributor to dispatch tasks, and if a specific task needs to be executed 10 times, the developer can use applyDispatch to execute the task multiple times.
To publish a public event with permissions in HarmonyOS, you need to set subscriber permissions in the code.
Which of the following service management mechanisms does HarmonyOS's distributed task scheduling consist of?
Which of the following properties of state decorator decorating must be initialized locally?
Which of the following service SDKs has been integrated with device-cloud integration?
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.
When developers use HarmonyOS distributed terminals, which of the following items can ensure that the system is safe and reliable?
If a reading app uses the language recognition capability provided by HarmonyOS, the app can automatically read a novel.
A manufacturer uses the HarmonyOS system to produce a smart oven, which is a lightweight system device in HarmonyOS.
HarmonyOS single-version distributed databases do not enable automatic synchronization between networked devices by default, but you can enable automatic synchronization if necessary.
Which of the following properties can be used for components that contain text elements, such as Text, Button, TextInput, etc.?
Regarding the Tabs component and the TabContent component, the following description is correct
What are the reasons why a developer wants to use the previewer in DevEco Studio to view the application interface of the design, but the previewer cannot be used?
To publish sticky public events in armonyOS, the publisher must first apply for the permissions required to publish sticky public events in config.json.
Which of the following subsystem sets are included in the basic capability subsystem of the HarmonyOS system architecture?
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.
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.
What are the following types of task dispensers that HarmonyOS provides for developers?
HarmonyOS maintains a stack of AbilitySlice instances for each Page, and each AbilitySlice instance that enters the foreground will be added to the stack.
If a developer uses the startAbility() method provided in Ability to start a Service, what are the correct descriptions of starting the Service?
Which of the following descriptions of traditional Bluetooth operation is correct for HarmonyOS devices?
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.
In HarmomOS, when an application is launched, the system creates an execution thread named "Main Thread" for the application. The main thread, also known as the UI thread, displays and updates the UI interface on the main thread.
If a developer uses the DevEco Studio tool for application development, which of the following commissioning methods does the tool support?
Which of the following functions is a lifecycle function for a custom component?
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.
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.
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">
If a developer wants to develop an application on a smart screen, which of thefollowing subsystems will he use?
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 tries to use the word segmentation feature of HarmonyOS to tokenize a dry word article, and in this scenario, the word segmentation text exceeds 500 characters, so the parameter error will be returned.
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?
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 EventHandler to implement thread interrogation communication, if EventRurner takes out the InnerEvent event, EventRunner will directly process the event on the new thread.
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?
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?
API9 and above, router.pushUrl() method mode parameter can be configured to which of the following modes used by the jump page?
What are the features of Huawei DevEco Studio, which is a multi-device unified development environment?
The distributed database is based on the KV data model and provides KV access interfaces.
When developing a HarmonyOSapplication, what methods do I need to call when migrating the FA (Feature Ability) on device A to device B?
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 descriptions of the HarmonyOSclipboard function is correct?
Now a Text component is used as the title of a page, and the Text needs to be set to be invisible, but it still occupies the current layout space, which of the following 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?
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?
Which of the following is NOT acomponent of the Harmony OS object-relational mapping database?
A developer found that the app could not usethe network management function of Harmony OS without requesting permissions. In order to use the network management feature, the developer requested the following permissions for their app, which of them is not required for the network management feature?
When a developer designs a navigation application and needs the system to provide accurate positioning, which subsystem will be used?
If a developer needs to use asyncDispatchBarrier to set up a barrier asynchronously, in this scenario, in order to separate different task groups, the developer can choose which of the following task dispensers?
A developer is developing a ticket booking application, in the selection of the location of the ticket, you need to use the slide selector Picker, in order to highlight the selected text, the developer sets the rendering effect that the selected text margin is greater thanthe ordinary text margin. Which of the following settings are correct?
When a developer 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)?
Before developing the NFC function, a HarmonyOS developer must first confirm whether the device supports the NFC function and whether the NFC is turned on.
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).
When a developer needs to create a Service Ability when developing a background service, which of the following processes is NOT the step to create the Ability?
Which of the following does not belong to the system service layer in the HarmonyOS system architecture?
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?
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?
A developer uses HarmonyOS to write half of an email on his mobile phone and click the transfer button to the tablet to continue editing the email.
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?
After a developer completesthe development of a Harmony OS application, it needs to be published to AppGallery
In the JS (JavaScript) UI framework, which layer is used to complete the front-end page parsing?
When the system creates a page instance for the first time, which method will be called?
A HarmonyOSuser downloads and installs a new app that has declared some non-sensitive permissions in the config.json file, and the app may involve some sensitive permissions during operation. Which of the following is correct in this scenario?
How do I define the permissionscorrectly when a developer needs to customize the permissions for the Harmony OS third-party application?
TaskDispatcher is the basic interface for Ability to distribute tasks, which hides the implementation details of the thread where the task is located. To ensure that the application is more responsive, we respond to the priority of the design task, which of the following is not the priority of the task?
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 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?
Which of the services provided by the HarmonyOS Connect solution is Device Parter?
WhenthePage of Harmony OS executes the onForeground() callback, which of the following states will the Page return to first?
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?
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?
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 designs a PA (Particle Ability) application, which of the following development steps can be omitted?
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?
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?
When an engineer needs to add the function of recording video when developing an application, which of the following interfaces should be called?
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?
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?
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?
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?
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?
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?
Which of the following subsystems is not part of the basic software service subsystem of HarmonyoS?
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 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.
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?
If a developer wants to develop an application on a smart screen, which of the following subsystems will he use?
When a developer installs HAP (HarmonyOSAbility Package), what is the reason for the "STRING LENGTH ERROR" message?
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 stop the service in a Service, which of the following APIs needs to be called?
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?