[Tizen Application-dev] Internet resource request issue!

饶春平 raochunping at 163.com
Tue Sep 25 02:50:58 GMT 2012



I'm going to write a Tizen Web App, can I use http request to get some internet Http resource (such as www.163.com) in my App.


I have used the code like below to get internet http resource but faild:


function processData(data) {

  // taking care of data



function handler() {

  if(this.readyState == this.DONE) {

    if(this.status == 200 &&

       this.responseXML != null &&

       this.responseXML.getElementById('test').textContent) {

      // success!




    // something went wrong





var client = new XMLHttpRequest();

client.onreadystatechange = handler;

client.open("GET", "www.163.com");



As I know the javascript http request cannot cross domain.

Is there any other way for me to go, on Tizen?



Colin Rao

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/application-dev/attachments/20120925/309435d0/attachment.html>

More information about the Application-dev mailing list