Does anyone know if it's possible to measure the GPRS (and the WIFI) usage on a app basis? Thanks!
You can use TrafficStats
to measure data usage on a per-UID basis, which roughly equates to a per-app basis. Note, though, that not all devices can report per-UID data with TrafficStats
, and I am not completely certain why.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.