Skip to content Skip to sidebar Skip to footer

How Can I Monitor And Block Traffic Using A Filter List Of Url's?

I'm trying to create an app that monitors all incoming traffic and blocks it if required and if necessary, replace it with traffic from elsewhere. (preferably using a filter list m

Solution 1:

This will be tough. Android has no host file as such.

I assume you will not want to develop your own custom ROM (because there are custom ROMs that allow you to sniff and filter the packets going back and forth on an Android device).

Take a look at Broadcast Receivers. Broadcast Receivers are your best bet for that kind of functionality. They can intercept url browser calls, phone calls, SMS, etc. (assuming no other Broadcast Receivers are present with the same or higher priority).

Post a Comment for "How Can I Monitor And Block Traffic Using A Filter List Of Url's?"