0

I need to modify the HTTP requests issued by a 3rd party legacy library.

On iOS we had a NSURLProtocol that allowed us to take control of HTTP requests. On Android, is there something that does the trick?

Update:
The requests I'm interested to modify are browser requests for a web view.
What I need to accomplish are 2 things.
1. Add headers
2. Avoid cross domain request restriction problems. So, instead of requesting a resource like http://something.com/myResource.doc I want to provide a local copy of that file (embedded in the apk).

subzero
  • 3,420
  • 5
  • 31
  • 40

0 Answers0