luojingyaoex
V2EX  ›  Android

遇到大问题: android rooted/unrooted 获得某应用程序耗电/流量/启动状态/唤醒时长 version:4.0+(尤其 4.4 5.0+)

  •  
  •   luojingyaoex · Jul 3, 2015 · 12692 views
    This topic created in 3986 days ago, the information mentioned may be changed or developed.

    目前已知方法是:
    root下调用shell,运行一下su直接把android机器当linux来搞,求问这些数据如何获得(或者)有没有什么可以参考的资料?

    非root下,只能用android的api的话,有哪些类是需要我看的?或者有没有一些比较有名的库?

    谢谢各位!

    1 replies    2015-07-03 14:59:36 +08:00
    luojingyaoex
        1
    luojingyaoex  
    OP
       Jul 3, 2015
    呜呜……帖子沉了。。。
    我说个找到的东西吧 谷歌AndroidCommon这个开源项目
    里面有一些代码,但是看不太懂
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5508 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 96821589 · 24ms · UTC 07:15 · PVG 15:15 · LAX 00:15 · JFK 03:15
    ♥ Do have faith in what you're doing.