V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
luojingyaoex
V2EX  ›  Android

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

  •  
  •   luojingyaoex · Jul 3, 2015 · 12605 views
    This topic created in 3961 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   ·   964 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 19:53 · PVG 03:53 · LAX 12:53 · JFK 15:53
    ♥ Do have faith in what you're doing.