【问题标题】:How can an application read logs of another application ANDROID [duplicate]一个应用程序如何读取另一个应用程序ANDROID的日志[重复]
【发布时间】:2018-07-19 20:50:03
【问题描述】:

我希望我的应用程序读取另一个应用程序的日志,我该怎么做。

【问题讨论】:

  • 你为什么要这样做?
  • 我想在特定活动运行后发送广播。
  • 我想在特定活动运行后广播消息。

标签: android logging


【解决方案1】:

如果所有其他应用程序都启用了日志,那么您就可以获取其他应用程序的日志

android:debuggable
Whether or not the application can be debugged, even when running on a device 
in user mode — "true" if it can be, and "false" if not.

如果在清单中启用此密钥,您将能够看到应用程序的日志

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-02-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多