Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

an168ge/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

Contributors

Languages

  • Java 100.0%

AltStyle によって変換されたページ (->オリジナル) /