注册时间
最后登录
新帖
发布在 技术交流 阅读更多

var command = 'content query --uri content://contacts/people --projection display_name';
var result = shell(command, true);
log(result);

console.show();

if(result.code == 0){
toast("执行成功");
}else{
toast("执行失败!请到控制台查看错误信息");
}
这个没有返回任何信息
51737cba-607a-4557-9b42-8845fc76fa58-image.png