简体   繁体   English

android 代理申请

[英]android proxy application

I want to create an android application that acts like a proxy, all Internet communication (at least http) will be redirected to this app before reaching the network.我想创建一个充当代理的 android 应用程序,所有 Internet 通信(至少 http)将在到达网络之前重定向到此应用程序。

I don't have any idea how to do it, so any help is welcome.我不知道该怎么做,所以欢迎任何帮助。

thanks谢谢

It's not possible without rooting the phone, as this blog post aptly explains:没有root手机是不可能的,正如这篇博文恰当地解释的那样:

http://android-proxy.blogspot.com/ http://android-proxy.blogspot.com/

Edit: It's actually a dedicated blog site!编辑:它实际上是一个专门的博客网站!

Actually I think that the best solution is to implement a service that handles the http request and forward them using org.apache.http.client.HttpClient but I don't know how to do it.实际上,我认为最好的解决方案是实现一个处理 http 请求并使用 org.apache.Z80791B3AE7002CB88C246876D9FAA8F8F8Z.client.HttpClient 转发它们的服务,但我不知道怎么做。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM