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 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.
An engineer uses the WLAN P2P function, and the engineer can establish a P2P group.
In HarmonyOS's "1+8+N" strategy, smart microwave oven devices belong to "N" devices.
When a developer starts a music player on a remote device, he or she may not fill inthe Deviceld of the remote device.
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 HarmonyOS's "1+8+N" strategy, mobile phones belong to one of the "8" devices.
A manufacturer uses the HarmonyOS system to produce a smart oven, which is a lightweight system device in HarmonyOS.
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.
HarmonyOS's distributed soft bus enables distributed management of application data and user data.
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.
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 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.
Developers can create user interfaces directly on AbilitySlice or on Ability.
HarmonyOS maintains a stack of AbilitySlice instances for each Page, and each AbilityS1ice instance that enters the foreground will be added to the stack.
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.
If you need to use a composite animation, you can combine multiple animation objects and add them to the AnimatorGroup. AnimatorGroup provides two methods: runserially() and runParallel(), which indicate that the animation starts sequentially and the animation starts at the same time, respectively
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.
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.
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.
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.
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.
JavaScript FA (Feature Ability) lifecycle events are divided into application lifecycle and page lifecycle.
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.
Motion sensors may be a single physical sensor, or they may be composed of multiple physical sensors.
The application package names of the application projects created by JavaSaript and the applications compiled by the Java projects are HAR (HarmonyOS Ability Resources) and HAP (HarmonyOS Ability Package), respectively.
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);
When MainAbility and MainAbiitySlice are bound together, the lifecycles of the two are synchronized, including the callback method for transitioning between states.
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.
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.
If a developer wants to be able to get the return result when the user returns from the navigation target AbilitySlice, they should use presentForResult() to implement the navigation. When the user returns from the navigation target AbilitySlice, the system will call onResult() to receive and process the returned result.
Although a Page can contain multiple AbilitySlices, when a Page enters the foreground, the interface displays only one Abilitylice by default.
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.
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.
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 a developer starts a music player on a remote device, he or she may not fill in the Deviceld of the remote device.
Intent is a carrier for transmitting information between objects.
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。
A developer calls the terminate method in JavaScript code, which causes the Page Ability to be destroyed.
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
A developer needs to read the resource files in the rawfile folder, and the following code can be used to read them successfully.
Image
image(Image)findComponentByld(ResourceTable.Id_cormponent_image);
Image.setPixelMap (ResourceTable.Media hawei);
When 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.
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.
A developer wants to use macOS for HarmonyOS application development, but the development tool DevEco Studio does not support macOS installation.
HarmonyOS's relational database and object relational mapping database are both based on SQLite.
An engineer uses a simulator to debug a HarmonyOS application, which can support two types of HAP: signed and unsigned HAP (Harmomy0S Ability Package).
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.
The network management module of HarmonyOS can realize the communication between different processes of the machine, and the communication supports streaming socket technology.
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.
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.
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
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.
Which of the following classes is the base class for JavaScript FA (Feature Ability) to run on HarmonyOS?
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?
Which modules in the following figure can be installed and operated independently?
If a developer wants to use the device virtualization feature of HarmonyOS, which subsystem will he use?
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?
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?
A developer is writing a piece of code to control the access rights of an Ability
Apps with the ohos.permission.CAMERA permission can access this ability. The relevant code completed by the developer in config.json is as follows:
"abilities": [
{
"name": ". MainAbility",
"description":
"Sstring:description_main_abi1ity",
"icon" : "$media:hiworld.png",
"label": "HiCamera",
"1aunchType": "standard",
"orientation": "portrait",
"visible": false,______________________________
} ]
Which of the following should the developer add to the horizontal line?
The library file is the third-party code that the application depends on, which of the following library files are correct?
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?
The log content is "01-20 16:08:36.90823597-23597/com.example. myapplicition w00201/MY_TAG: Failed to visit . reason: 503." By analyzing the log, you can't get the following items?
The Minimalist Protocol is a communication protocol customized by HarmonyOS, which layers of the traditional communication protocol are simplified?
When the state data of @State modification is modified, the () method of the component will be triggered to update the UI interface
In the distributed terminal scenario, only by ensuring that the equipment used by theuser is safe and reliable can the user's data be effectively protected on the virtual terminal and avoid the leakage of user privacy. What does HarmonyOS do to ensure that your devices are reliable?
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?
What components can the animation property be used in?
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?
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 developer is developing an online education application, in order to improve the user experience, if the userAnswer:s the question correctly, a dialog box of "Congratulations on the correctAnswer:" will pop up at the top of the window.
When publishing an application, I need to create a certificate, and what type of certificate type should I choose?
What is wrong about the animation parameter in the attribute animation?
An engineer wrote the following code, which items are correct about the description of the following code?
@Entity(tableName = "user", ignoredColumns = {"ignoredColumn1", "ignoredColumn2"} , indices = {@Index(value = {"firstName", "lastName"), name ="name_index", unique = true)})
HarmonyOS provides developers with data management functions, which of the following are the following?
Which of the following accounts does the authentication service support?
Distributed task scheduling builds a unified distributed service management (discovery, synchronization, registration, and call) mechanism based on technical characteristics such as distributed soft bus, distributed data management, and distributed profile.
When a programmer develops an online education application, the studentAnswer:ing interface has multiple choice questions and multiple choice questions, which of the following components is suitable for displaying multiple choice questions?
In DevEco Studio, what form can developers use to develop HarmonyOS cloud?
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?
Regarding the callback event of the Video component, the following statement is incorrect
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?
In order to ensure that the application has better responsiveness, the developer has designed different priorities for tasks A, B, and C. Task A maintains the default priority, Task B has HICH, and Task C has LOW. Which of the following descriptions of tasks A.B, and C is correct?
Which of the following scenarios is part of the HarmonyOS notification function?
What development steps does a developer use to develop an application with a UI?
When I need to create a profile when publishing an application, what type should I choose?
What are the following aspects of resource utilization analysis that DevEco Studio Performance Analyzer can perform?
If a developer wants to use the distributed capabilities of HarmonyOS, which of the following options can the developer choose?
When a developer uses the Text component for development, because the length ofthe input string is too long, which of the following codes can be used to display the entire content?
Which of the following combinations cannot realize two-way data synchronization between child components and parent and child components?
A developer creates MyAbility with FooAbilitySlice and BarAbilitySlice, and currently FooAbilitySlice is in the foreground and gets focused, and then navigates to BarAbilitySlice, what happens to the lifecycle state in this period?
If a HarmonyOS engineer needs to apply for a digital certificate to complete the application release, what are the errors in the following descriptions of digital certificates?
Which of the following modules provides a full-duplex communication co-ordination?
When developing a HarmonyOSapplication, which of the following is NOT a permission that should be followed?
Which field needs to be configured in the module.json5 file for UIAbility startup mode?
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?
HarmonyOS Capabilities are divided into two types: Feature Ability and Particle Ability.
Which of the following descriptions is wrong when it comes to the simultaneous development of JS (JavaScript) and Java languages in HarmonyOS application development?
A HarmonyOS developer uses the EventHandler mechanism to handle 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.IMMEDIATE
Event B: Priority.HIGH
Event C: Priority.IDLE
Which of the following accounts of the above events is correct?
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 kind of decorator can be used as a page entry component?
A user migrates video playback from his mobile phone to a smart screen and uses the distributed task scheduling capability of HarmonyOS. Which of the following is the process of connecting the video to the smart screen playback in this scenario?
Which of the following is an event method that can obtain the offset of the List slide
A developer has developed a news browsing application, and the news list page is displayed by default when the application is opened, which of the following methods does the developer use to achieve this function?
Which of the following situations will not call back the onFinish function?
When a developer designs a navigation application and needs the system to provide accurate positioning, which subsystem will be used?
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.?
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?
In the JS (JavaScript) UI framework, which layer is used to complete the front-end page parsing?
If a developer needs to add the Banner function to a page, which of the following components is most suitable for implementing the function?
In the HarmonyOS system architecture, which of the following can shield the differences between multiple cores and provide basic kernel capabilities for the upper layer?
Which of the following descriptions of the HarmonyOSclipboard function is correct?
In order to cope with complex application business logic, a developer needs to create multiple threads to perform multiple tasks. In this case, the code is complex and difficult to maintain, and the interaction between tasks and threads becomes more complex. To solve this problem, which of the following interfaces can the developer use to distribute different tasks?
Which of the following is NOT a capability provided by Distributed Device Virtualization in HarmonyOS?
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 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?
Which of the following is the callback behavior of the Page Ability lifecycle that can destroy the page?
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?
What lifecycle processes will be triggered when a developer creates a Page instance and lets the instance be displayed in the foreground?
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?
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?
In HarmonyOS, which of the following scenarios is the application responsible for instantiation?
If a developer wants to stop the service in a Service, which of the following APIs needs to be called?
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?
If a developer wants to develop a page with a tab function, the developer can use the TabList component provided by HarmonyOS. If you want to set the selected tab to be marked by underlining at the bottom, which of the following codes is correct?
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?
Developers will use the UI framework provided by Harmony OS when developing mobile phone pages, which of the following is not a UI framework?
Which of the following fields is not within the scope of permission?
Inwhat form will the application package of Harmony OS be released and put on the shelves?
A developer has developed an Image component and written the following code, which of the following descriptions of the component is correct?
A developer is developing an alarm clock application, which of the following components can be used to set the hour, minute, and second of the alarm clock?
What is the "1" in HarmonyOS's "1+8+N" strategy?
When a developer migrates pictures on his mobile phone to a large screen, the interface layout automatically switches from vertical to horizontal; When the image is migrated, the image is migrated from the large screen to the mobile phone, and the interface layout is automatically switched from horizontal to vertical. Excuse me, how did this developer implement this feature?
How do I define the permissionscorrectly when a developer needs to customize the permissions for the Harmony OS third-party application?
When a developer needs to specify the exact coordinates of the x-axis and y-axis of a sub-component when laying out a component, which layout can be used to achieve this function?
When a HarmonyOS app developer uses the form container, which of the following elements can be submitted and reset?
If a developer wants to use the video playback function of HarmonyOS, which of the following subsystems will he use?
A developer usestheAI capabilities provided by Harmony OS to achieve the following functions: 1. Perform text detection and recognition of image sources such as document remakes and street view reproductions, and provide translation, search and other related services based on the recognition results. 2. Convert various bills into image information by taking pictures, and then use text recognition technology to convert image information into character information that can be used by computers and other equipment. In order to implement the above functions, which of the following I capabilities is most likely to be used by the developer?
Which of the following subsystems is not part of the basic software service subsystem of 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?
In HarmonyOS, which of the following scenarios is the application responsible for instantiation?
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?
Which of the following products belongs to the security products in the smart homeecology?
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?
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?
If there are 3 Ability sharing a Service instance, how can I exit the Service instance?
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?
Which of the following modules provides an E2E encrypted channel in the HarmonyOS streaming architecture to provide a secure cross-terminal transmission mechanism for user applications?
If a developer wants to develop a file background download function, there needs to be a Page Ability to provide UI pages, and a Service Ability to provide the background file download function. Which of the following can call Service Ability in Page Ability?
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?
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
A developer obtains a log content: static final HiLogLabel LABEL = new HiLogLabe1 (HiLog.LOG_APP,0x00201,"MY_TAG");
Which of the following information can't be obtained?
It is necessary to apply for the permission of certain operation sensitive capabilities. Which of the following is NOT considered a sensitive capability?
When a developer subscribes to a public event, he processes the public event in the onReceiveEvent() callback function and writes the following code.
EventRunner runner = EventRunner.create();
MyEventHandler myHandler = new
MyEventHandler(rurner);
@Override
public void onReceiveEvent(CommonEventData
commonEventData){
final AsyncCommonEventResult
result=goAsyncCommonEvent Runnable task = new
Runnable(){
@override
pub1ic void run {
......
The action to be performed, defined by the developer
result.finishCommonEvent();
}
};
myHandler.postTask(task);
}
If a developer 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?
How do I define the permissionscorrectly when a developer needs to customize the permissions for a third-party application forHarmony OS?
Regarding the Tabs component and the TabContent component, the following description is correct
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?
In the JavaScript FA development self-record, the file ending hml is used to describe the current page layout structure, the components used in the page, and the hierarchical relationship between these components, and the following code should be placed in the file.
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?
Which of the following functions does the HarmonyOS network management module provide?
What functions does UIAbility's lifecycle include?
The network management module of HarmonyOS provides a data networkmanagement function, which can effectively manage HTTP caches to reduce data traffic.
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.
Which of the following are the lifecycle callback functions of Ability?
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 description of the ForEach(arr,itemGenerator,index) component is correct
On the basis of the supported input events, the multi-mode input defines some input actions commonly used by users as a set of standardized events, and maps the input events of different input devices to the standardized events.
Which of the following components are container components?
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.
How do I create a new project in DevEco Studio?
Which of the following container components can be scrolled
Which of the following service SDKs has been integrated with device-cloud integration?
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?
What are the features of Huawei DevEco Studio, which is a multi-device unified development environment?
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.
Which modules in the following figure can be installed and operated independently?
Which of the following component hierarchies are correct
What development tools do programmers do not need to install when developing HarmonyOS mobile apps?
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.
To publish sticky public events in armonyOS, the publisher must first apply for the permissions required to publish sticky public events in config.json.
A Page Ability (hereinafter referred to as "Page") may consist of one or more AbilitySlice, which refers to the sum of a single page of an application and its control logic.
Which of the following descriptions of the global concurrent task distributor and the concurrent task distributor is correct?
What are the scenario-based capabilities included in the HarmonyOS feature?
What are the following options that belong to the JavaScript UI framework?
What are the boot modes of UIAbility?
In HarmomOS, when an application is launched, the system creates an execution thread named "Main Thread" for the application. The main thread, also known as the UI thread, displays and updates the UI interface on the main thread.
If there are different components in the layout with the same ID, when the component is searched by ID, the last component found will be returned.
Which of the following statements is correct?
HarmonyOS maintains a stack of AbilitySlice instances for each Page, and each AbilitySlice instance that enters the foreground will be added to the stack.
When 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.
What are the following types of task dispensers that HarmonyOS provides for developers?
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.
If a developer wants to develop an application on a smart screen, which of thefollowing subsystems will he use?
Which of the following properties can be used for components that contain text elements, such as Text, Button, TextInput, etc.?
A developer wants to use JS (JavaScript) to develop an application on the smart screen,Which of the following development languages does the developer need to master?
A manufacturer uses the HarmonyOS system to produce a smart oven, which is a lightweight system device in HarmonyOS.
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.
What are the parts of the HarmonyOS cloud development project?
Which of the following information is contained in moduleJSON5 under entry?
HarmonyOS is classified according to the size of the device's memory, which of the following categories can be divided into?
. If a developer wants to use the distributed device virtualization capabilities of HarmonyOS, which of the following hardware can be selected by the developer?
The distributed database is based on the KV data model and provides KV access interfaces.
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.
HarmonyOS single-version distributed databases do not enable automatic synchronization between networked devices by default, but you can enable automatic synchronization if necessary.
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.
What is the correct position setting for the Tabs tab described below?
If a developer uses the DevEco Studio tool for application development, which of the following commissioning methods does the tool support?