Yes, but implementing this proxy would require rooting the device.
For the second question you're asking, I had hoped to imply that this
was my plan, and the answer is that I believe you cannot do so.

kris

On Mon, Aug 6, 2012 at 4:54 PM, Gelonida N <gelon...@gmail.com> wrote:
> Hi Chris,
>
>
> On 08/06/2012 01:33 AM, Kristopher Micinski wrote:
>>
>> I doubt it, I tried to find a way to proxy traffic, but there's no
>> easy hook.  I.e., if you need something that is in 11 and you're on 8
>> you're just plain out of luck.
>>
>> There is one solution, but implementing it accurately would be dumb
>> because of how much ajax stuff (and related) there is now: you can
>> look at the HTML statically, pull out the image tags, and render the
>> page yourself... There obviously isn't an easy way to do this, so this
>> answer is as good as "rewrite webkit."
>
>
> Hmm an alternative would be implementing a filtering web proxy. Much more
> complicated, but perhaps doable.
> Is there any way, that I can create an application, that would use a webview
> with it's custom proxy, whereas the normal browser (or other web views)
> would just use the default proxy setup (which is in my case 'no proxy')
>
>>
>>
>> On Sun, Aug 5, 2012 at 6:15 PM, Gelonida N <gelon...@gmail.com> wrote:
>>>
>>> I'm having an HTC desire (Android2.2.2 Froyo API 8)
>>> and  I wanted to create a custom browser (using WebViewclient), that
>>> intercepts some url requests (<img> tags) and skips loading these images.
>>>
>>> public WebResourceResponse shouldInterceptRequest (WebView view, String
>>> url)
>>> seems to be what I need.
>>>
>>> However I'm only on API 8 and the function has been introduced on API 11.
>>>
>>> Is there any way to do what I want to do with API 8
>>>
>>> My phone is supposed to be updatable to Gingerbread, but that brings me
>>> only
>>> to API 9 (or 10) and still not to 11.
>>>
>>>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to