Related questions
Question 611 - H14-231_V1.0 discussion
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.
True
B.
False
Your answer:
0 comments
Sorted by
Leave a comment first