How can I find the data usage on a per-application basis on Android?
问题 I am trying to find out the data usage on Android on a per-application basis. Something like Android Data Usage Apps and Quota / Cap Monitor Widgets: never get charged extra for data or get capped again! . I looked at Stack Overflow question How to go about detecting data usage in the Android environment . But it's not been of much help. ActivityManager activityManager = (ActivityManager) this.getSystemService(ACTIVITY_SERVICE); ActivityManager.MemoryInfo mInfo = new ActivityManager