Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议可以加上service的一些用法,这块资料不多但感觉应该很有用 #42

Open
andrewleo opened this issue Sep 22, 2017 · 3 comments

Comments

@andrewleo
Copy link

Usage: service [-h|-?]
       service list
       service check SERVICE
       service call SERVICE CODE [i32 INT | s16 STR] ...
Options:
   i32: Write the integer INT into the send parcel.
   s16: Write the UTF-16 string STR into the send parcel.

service list 会有很多服务可用,不知道有没有人都试过~

@mzlogin
Copy link
Owner

mzlogin commented Sep 22, 2017

感谢建议 😄

这个我确实了解不多,文档里目前只是提到了 Android 5.0 以上有 root 权限时使用 service 命令获取 IMEI,看起来应该能发掘出挺多东西来的,我有空看一下吧~

你如果对此有研究或者有学习的计划,欢迎提 PR 加入内容。

@andrewleo
Copy link
Author

最近把adb的大部分命令都试了遍,唯独service这块资料很少。而且看起来功能还蛮多的,应该会有些有意思的命令,所以比较感兴趣。
有空我也看下,看能否也贡献一些内容~

@mzlogin
Copy link
Owner

mzlogin commented Sep 22, 2017

那最好啦~ 👍 感谢感谢 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants