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.
我正在尝试使用 ADB 跟踪我的 Android 手机上的任何来电/去电。我看到您可以使用 Telephony Manager 中的 Phone_state 来跟踪应用程序中电话的状态。我怎样才能从亚行做到这一点?
谢谢阅读!
dumpsys telephony.registry | grep mCallState=
利用
adb logcat
并检查手机后端发生了什么。