机器人:如何测量我的智能手机产生的流量? [英] android: how do i measure the traffic my smartphone produces?

查看:138
本文介绍了机器人:如何测量我的智能手机产生的流量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要监控,其服务/应用程序产生哪些流量(以kbit / s的测量,通过上行和下行分隔)我的电话。我该怎么做呢?我用Google搜索周围,但没有发现任何有用的帖子/ HOWTO文档...

i need to monitor, which services/apps produce what traffic (measured in kbit/s, separated by up- and downlink) for my phone. how do i do this? i googled around but did not find any helpful posts/howtos...

推荐答案

答案是类TrafficStats :) 在这里,你可以得到传输的字节和/或包...

The answer is the class TrafficStats :) Here, you can get the transferred Bytes and/or packages...

这篇关于机器人:如何测量我的智能手机产生的流量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆