1、命令切换:默认已配置环境,hdc可用
hdc_std.exe shell aa start ability -a InputMethod -b cn.openharmony.inputmethodchoosedialog
2、代码切换:
import inputMethod from '@ohos.inputmethod'
...
let setting = inputMethod.getInputMethodSetting()标签:OpenHarmony,输入法,inputMethod,setting,hdc,切换 From: https://www.cnblogs.com/donghaifeng-2016/p/17480870.html
setting.displayOptionalInputMethod()