About NetTrafficStats
This is a free simple application for network traffic monitoring and statistics for Android devices. It is based on the kernel traffic statistics per interface such as, /sys/class/net/ppp0/statistics/rx/tx_bytes, and also on the TrafficStats class from Android.
The application consists of a background service that queries and store data as csv files after each device power cycle under '/sdcard/trafficstats/.csv' . It also comes with a basic UI for controlling the service query and save periods (1min or 1 hour).
All reported values are in aggregated sum of Rx/Tx bytes per application. Reported values seem to be more realistic than those reported by Android's 'Data usage'.
For those whom have 'busybox' with 'wget' applet can try to download a small file as shown below. NetTrafficStats should show a new entry with package set to 'null' but the bytes Sent/Received accurately reflects more the downloaded file size.
--------------------------------------------
firas@barbarian:~/Downloads> adb shell busybox wget ftp://208.118.235.20/gnu/tar/tar-1.11-1.11.1.diff.gz -O /mnt/sdcard/tar-1.11-1.11.1.diff.gz
Connecting to 208.118.235.20 (208.118.235.20:21)
tar-1.11-1.11.1.diff 100% |*******************************| 33765 00:00:00 ETA
firas@barbarian:~/Downloads>
firas@barbarian:~/Downloads> adb shell ls -l /mnt/sdcard/tar-1.11-1.11.1.diff.gz
----rwxr-x system sdcard_rw 33765 2013-11-14 00:34 tar-1.11-1.11.1.diff.gz
firas@barbarian:~/Downloads>
-------------------------------------------
Download and install
NetTrafficStats version 1.2.1 on your
Android device!
Downloaded 500+ times, content rating: Everyone
Android package:
com.barbar.trafficstats, download NetTrafficStats.apk
by C####:
Shows me what apps use how the Internet without my knowledge. Better uninstall them. What should be possible at this app is to switch off autostart and to switch off the app when it is running.