Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想直接用我的守护进程与 android RIL 守护进程通信。
你能告诉我如何在不使用电话层的情况下做到这一点。
此致。
首先你不应该!让 Android 框架处理 ril,或者您可以将守护进程置于某种未定义的状态。
有了该免责声明,您需要调查
./frameworks/base/telephony/java/com/android/internal/telephony/gsm ./frameworks/base/telephony/java/android/telephony/gsm
具体来说。实际命令通过 rild 套接字传递,因此您还需要以 root 身份运行或属于无线电组才能访问。