Zeroing network requests

I am looking for a way to sniff the network traffic generated by my Android app. The reason is because I want to check and send traffic statistics generated by a third party tracking the library that I use in my application.

Because of this, I cannot use tPacketCapture or similar words.

I do not have access to the http client of this tracking library, so I cannot intercept any request.

I already looked at VpnService , but I can not get the user to connect to the VPN every time he uses my application, of course.

So, I am looking for tips on how to do this in Android, if possible.

I found that there is this library, NetworkEye , which does exactly what I would like to do ... but for iOS.

+5
android sniffing
source share
1 answer

As far as I know, in order to achieve the "global" sniffing of packages on the Android OS, you must run on the root device. For a library, I would go through NDK and libpcap for Android

0
source share

All Articles