Cordoba - Problems when cross-platform Android app runs on Blackberry 10 alpha simulator

I ran into problems when running cross-platform Android application in blackberry 10 Alpha simulator. The application works great when working on iphone, Android devices. But when I run it in blackberry 10, it does not load template files, hence a blank screen.

The project is based on a basic structure, therefore template files. Currently, the files are local on my hard drive. I load templates with ajax call. The output from logcat is shown below:

02-08 05:30:51.861: D/CordovaLog(233525377):
     {"readyState":4,"responseText":"","status":404,"statusText":"error"}

I added the following to config.xml:

<access origin="*"></access>
<access origin="http://127.0.0.1*"/>

Is there anything else I’m missing so that the application runs on Blackberry 10? I had the same issue with nook HD that was avoided by adding the following to onCreate:

super.appView.getSettings().setAllowUniversalAccessFromFileURLs(true); 

Blackberry 2.3.3 Android, .

, - , 10.

+5

All Articles