title: Android : Intercept network calls (HTTP, HTTPS etc..) originated from 3rd party libraries inside my App
body: <p>I saw some SO post (Some are new and some old) related to this and couldn't find relevant answer. Is it possible to intercept HTTP calls originated from 3rd party libraries and block them from within the app? Basically I wanted to make sure in my app about what HTTP calls are going out through it. Since I am using third party libraries I wanted to profile it for all the HTTP calls and then black list any unnecessary calls made by third party libraries. I am aware that the 3rd party library is making HTTP calls to handle its feature. I wanted to stop it sending any data from my App. I know I can use HTTP debugging proxy apps like Charles to know what calls are going through my app and then decide whether to use the library or not. But I wanted to use the library by just blocking only some unnecessary calls.</p>