Juo

Lurker
Feb 17, 2016
3
1
16
Hi,

Can anyone tell me if it is possible to develop an android app that when running (probably as a Service), monitors incoming network traffic (http responses etc), and change the content of the responses? Has to be without requiring rooting the device :)

Applications might be netnanny type stuff, where you can stop profane language appearing on your kids phone, on their facebook or instagram accounts etc - it detects certain posts and blocks the content by changing the http response. (Oh and would also need to work over https as well as http :)

It looks like that this is possible in iOS by using NSURLProtocol, but I don't see an Android equivalent.

I think its possible on a rooted device, but otherwise not possible. I have tried a basic proxy server running locally, but that requires setting the proxy settings, which then means the phone can't access remote network.

Thanks for any help :)