How could one create a firewall app in Android?

て烟熏妆下的殇ゞ 提交于 2019-12-04 18:55:42

I'm starting to do a bit of research into what it would take to develop a simple firewall that would monitor browser traffic via a combination of Broadcast Receivers and the ActivityManager class.

Fortunately, this is not possible, for obvious privacy and security reasons. You cannot unilaterally spy on other apps' traffic using "Broadcast Receivers and the ActivityManager class".

What the app in question uses is a VpnService to pretend to be a VPN connection, and spy on other apps' traffic that way. This requires the user to actually set up the app as a VPN provider and use it for a VPN connection.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!