Reputation: 433
I am wondering is there a way to intercept/monitor http traffic in android. One way which I could think of is to install custom module in android's browser source code such that all traffic goes through it.
Please steer me to the pertinent choice. Else how can we implement custom module, any guidelines?
Upvotes: 7
Views: 3874
Reputation: 33782
If you know the browsers PID, you can use getUidRxBytes() to get TrafficStats
Upvotes: 3