Skip to content

A sample comparison app between TrafficStats and NetworkStatsHelper for Android

Notifications You must be signed in to change notification settings

RobertZagorski/NetworkStats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrafficStats vs. NetworkStatsManager

Android M introduced new package for monitoring data usage statistics for the device or package.

android.app.usage.NetworkStatsManager

This project is a demonstration of the capabilities of the new model. A sample app shows the correct way to obtain all required permissions and how they should be called in order to get the data.

The app view shows comparison between old way (TrafficStats) and a new way (NetworkStatsManager)

About

A sample comparison app between TrafficStats and NetworkStatsHelper for Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages