update README_zh.md.

Signed-off-by: NEEN <qianli16@huawei.com>
This commit is contained in:
ql 2021-09-13 07:33:09 +00:00 committed by Gitee
parent 3940b39ccd
commit f81ef50c9c

View File

@ -71,33 +71,6 @@ foundation/distributedschedule/dmsfwk
```
- **主设备程序开发**以拉起FA为例
构造意图参数want设置需要启动的远端设备ID包名元能力类名信息
```
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Want;
import ohos.bundle.ElementName;
// 构造want参数
Want want = new Want();
ElementName name = new ElementName(remote_device_id, "ohos.dms.remote_bundle_name", "remote_ability_name");
want.setElement(name); // 将待启动的FA信息添加到Want中
// 启动远程设备FA
startAbility(want); // 按照Want启动指定FAwant参数命名以实际开发平台API为准
```
- **预置条件**
从设备侧需安装对应包名的FA
- **运行**以拉起FA为例
执行主设备侧的startAbility即可拉起从设备FA
## 相关仓<a name="section1371113476307"></a>
分布式任务调度子系统