Exam Name: | HCIP-HarmonyOS Application Developer V1.0 | ||
Exam Code: | H14-231_V1.0 Dumps | ||
Vendor: | Huawei | Certification: | Huawei Certification |
Questions: | 695 Q&A's | Shared By: | avi |
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.
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.
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);
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.