通过写一个 service应用 ,该应用需要获得系统签名,并 声明inject_event权限。 在 robtinium中 把 adbshell中 执行的命令 通过intent发送 到service,由 service执行即可 。