1. Download our Official Android App: Forums for Android!

Apps App to intercept network traffic and change responses

Discussion in 'Android Development' started by Juo, Feb 17, 2016.

  1. Juo

    Juo Lurker
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    3
    Joined:
    Feb 17, 2016

    Feb 17, 2016
    3
    1
    16
    Male
    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 :)
     

    Advertisement

Share This Page

Loading...