Huawei H14-231_V1.0 Practice Test - Questions Answers, Page 62
List of questions
Related questions
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);
The global search portal provided on HarmonyOS has a desktop drop-down search box or a negative screen search box.
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 object relational mapping database mainly provides light-grade Key-Value exploration, which supports local applications to store less data, and the data is stored in local files and also loaded in memory, so the access speed is faster and more efficient.
HarmonyOS's Data Ability is used to provide an interface for operation data, but cannot provide file-related operations.
In the Javascript UI framework, to realize the jump between pages, you need to specify the uri in the page routing router to find the target page.
In the HarmonyOS system architecture, the distributed data management module belongs to the framework layer.
When a developer starts a music player on a remote device, he or she may not fill in the Deviceld of the remote device.
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.
HarmonyOS provides access to external storage devices, such as USB flash drives, SD cards, etc.
Question