Without knowing your detail setup I can only guess. But, there are a few things you can check:
1. Try to run it inside a normal desktop browser. We offer the ade.js that makes this possible and you just have to load it inside your html file.
3. cross domain requests can be a problem. You will need to find a way to either allow cross origin requests on the server you are connecting to or use a different method like JSONP.
Hope this helps.
about 6 years ago
I tried and run the obtaining poi and it works, but when I tried to parsed Json from external site nothing happened. for example I want to parse data from this site "http://headers.jsontest.com" . Please help me or show me other work around. I'm using $.getJson(). Thanks!