How do I get ajax working on android?

0 favourites
  • 3 posts
  • I love this engine. I was planning to buy this engine but after some reading regarding AJAX request is not supported in Intel XDK android build, I change my mind. Does anyone get the Ajax request working on Intel XDK works? If you do mind sharing me your option?

  • Hi,

    I have same problem not yet found any fixed solution. but - here is a working example of AJAX call in Intel XDK, you can try it in Intel XDK and on device, replace the URL with yours and try



    <title>AJAX and XDK</title>

    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0;" />

    <script type="text/javascript" charset="utf-8" src=""></script>

    <script src="intelxdk.js"></script>

    <script src="xhr.js"></script>


    function doAJAX() {




    success: function (data) {







    body {font-family:arial;background-color:white}




    <h3>AJAX Call</h3>

    <button onclick="doAJAX()">AJAX Call</button>



  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Try removing the protocol in the url you are sending the request to.




Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)