intercepting internet calls android

允我心安 提交于 2019-12-11 11:38:01

问题


i want to create an app that intercepts a HttpPost call to a website, logs all the header info. There will be a java application on a computer that uses adb logcat to identify the header info make the call and then sends the result as data in a broadcast intent to then be used on the device.

i understand how to do this using the adb so that it would only work with my applications (using alternatives to standard connection libraries), but dont know what classes/methods to overwrite/extend to make it appear as a internet connection, enabling it to work with any application.

my intention is to end up with something similar to the internet pass-through setting on htc devices, ideally running on a raspberry pi.

possibly doing this by creating a "fake" wifi connection in wifi manager and using that.

来源:https://stackoverflow.com/questions/25547711/intercepting-internet-calls-android

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