Loading data other than images

Loading data other than images

BY 14 Jun 2014 Web Application Development

Hello,

I’m doing a Samsung Gear 2 app in Phaser.js framework. I’m able to load images just fine but when trying to load text data(like json) it says it’s unable to load resource. The loading is done using XmlHttpRequest. I tried to alter config.xml file with various settings with no luck.  Is there a way to load local resources using XmlHttpRequest?

Thanks,

Lubos

Written by