FATAL EROOR: android.xml - Error: NETWORK_ERR: XMLHttpRequest Exception 101

  • Hi,

    While i am redirecting for Android from HTML using below code


    I am checking the same in Windows(Desktop) Chrome it is redirecting perfectly but gives me following error but it works perfectly in Windows(Desktop) Firefox.
    FATAL EROOR: android.xml - Error: NETWORK_ERR: XMLHttpRequest Exception 101

    Note: i have note checked the same with actual Android device yet.

    Thanks

    --
    Pratiks

  • maybe bad xml.. try to see.

    Code
    var viewer = createPanoViewer({swf:"krpano.swf",target:"pano"});
    viewer.useHTML5("whenpossible");
    if(viewer.isDevice("iPhone|iPod")){
    viewer.addVariable("xml", "iphone.xml");
    } else {
    viewer.addVariable("xml", "iphone.xml");
    }
    viewer.embed();

    edit
    actually, thats silly. of course android.xml is bad.

  • Hi,

    I am checking the same in Windows(Desktop) Chrome it is redirecting perfectly but gives me following error but it works perfectly in Windows(Desktop) Firefox.
    FATAL EROOR: android.xml - Error: NETWORK_ERR: XMLHttpRequest Exception 101

    the Chrome browser doesn't allow loading local xml files by default (like other browsers),

    you would need to start Chrome with the "--allow-file-access" command-line parameter to allow Chome also loading local files vja Javascript,

    best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!