> Now, if that's indeed that case, with the script running in tasker is,
> essentially, being local, does it means the XMLHTTPRequest is practically
> useless ?
I've specified a file:// base url for the next update. Android seems
to allow the cross site requests then.
Also:
> var http = new XMLHttpRequest();
> http.open("GET","
http://www.google.com/",false);
> http.send();
> return(http.responseXML);
That should be http.responseText I think.
I used:
function foo()
{
var http = new XMLHttpRequest();
http.open("GET","
http://www.google.com",false);
http.send();
return(http.responseText);
}
try
{
flash("Foo: "+foo());
}
catch(e)
{
flash(e.message);
}