android: how do i measure the traffic my smartphone produces?

后端 未结 1 1555
遇见更好的自我
遇见更好的自我 2021-01-07 07:46

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

1条回答
  •  执念已碎
    2021-01-07 08:02

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

    0 讨论(0)
提交回复
热议问题