Hi; I want to control internet traffic on Android. Example: Some applications are using internet and they download data in background or people are using the internet applications (example is Whatsapp). I want to limit that applications. Example is Whatsapp use max 200MB, not more. I found TrafficStats class (http://developer.android.com/reference/android/net/TrafficStats.html) for this. But this class I think give how much using internet only. How can I do that? Another my question is that class for Java, I want to C++ for this job. Can I do that? Thanks.