Thank you. Do you know if there's a workaround that doesn't require
On 24 Mai, 21:46, Avinash <
kazaavin...@gmail.com> wrote:
> As far as I understand, Android browser does not allow cross-domain
> XMLHttpRequest calls even if the JS is loaded by a file:// protocol while
> iPhone browser allows such calls.
>
>
> Thanks,
> Avinash
>
>
>
> On Mon, May 24, 2010 at 2:21 PM, mobweb <
i...@mobweb.ch> wrote:
> > Hey,
>
> > I am developing an application for iPhone OS and Android. I use an
> > XMLHttpRequest to send a string to my server.
> > On the iPhone OS, it works fine. On Android however, the
> > XMLHttpRequest.readyState switches to 4, but the XMLHttpRequest.status
> > always returns 0, not 200, as it does on the iPhone.
>
> > Are there any restrictions that I need to work around? Like I said the
> > file is on a remote server.
>
> > Here's the relevant code:
http://pastebin.com/5ryZtQyi
>
> > Thanks for any help! :)
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "phonegap" group.
> > To post to this group, send email to
phon...@googlegroups.com
> > To unsubscribe from this group, send email to