Tuesday, February 15, 2011

Re: [android-developers] Re: It's not the browser?

Yes, the browser is up there on android.git.kernel.org, but I've never
looked at its internals. Its implementation most likely uses WebView,
which in turn is based on WebKit. The networking code is in there
somewhere :)

You might want to re-run your tests from a WebView inside an application
(not the browser) just to narrow it down.

And ultimately - what if you find the piece of code responsible for this
behavior, then what - are you going to require that users install a
special browser just for your web site?

Does your browser-side logic work if all requests are made to the same
site? Can you change your web application to do this? Perhaps implement
a special URL on your site that goes off and fetches content from
another site (with the referenced URL encoded as a parameter)?

-- Kostya

15.02.2011 8:05, kypriakos пишет:
> Hi Kostya,
>
> I was not able to find where Android / native browser handles the
> XMLHttpRequest calls.
> Regardless, do you happen to have any experience with the native
> browser and how
> it handles requests/responses to web services? I think there seems to
> be a buffering of
> data on the browser side before it can act upon any response and that
> buffer seems
> to be as big as 4k or so .. interesting implementation if that is
> true.
>
> And is this the best place to browse the Android code online?
> http://android.git.kernel.org/
>
> Thanks again
>
> On Feb 13, 4:02 am, Kostya Vasilyev<kmans...@gmail.com> wrote:
>> Isn't Dolphin basically the standard browser with a new UI?
>>
>> If so, it wouldn't be surprising that they behave the same wrt. networking.
>>
>> -- Kostya
>>
>> 13.02.2011 9:18, kypriakos пишет:
>>
>>> Hi all,
>>> I have tried a number of other browsers (Dolphin, Opera Mini, Opera
>>> Mobile) and although
>>> the last two falsely advertise that they implement cross-origin
>>> resource sharing solutions,
>>> Dolphin seems to work exactly the same as the native browser - it
>>> sends out the Ajax
>>> request to the remote web server, the web server executes the service
>>> call but the result
>>> does not get posted by the browser. This may indicate that it is a NOT
>>> a browser issue
>>> I am facing with but rather and Android OS-lever issue (http layers??)
>>> where for some
>>> reason the responses are not allowed to reach the browser. Would this
>>> be a correct
>>> assessment? From what I understand, Android OS does not implement a
>>> personal
>>> firewall correct? What else would be causing this disconnect? I will
>>> greatly appreciate
>>> any hints on this.
>>> Thanks
>> --
>> Kostya Vasilyev --http://kmansoft.wordpress.com


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment