I have a problem with my phonegap project working on blackberry simulator. The version is 10.
When I say phonegap, I haven\'t used any Cordova features yet but my simple
This could be a cross-site request issue - I'm suspecting that the PHP side doesn't accept requests from outside of its own domain.
How about putting this header at the top of your PHP file?
header('Access-Control-Allow-Origin: *');
As anami said earlier you need to have cross domain origin enabled in your server php file. Also you need to have <access subdomains="true" uri="http://*URI name here*"/>
in config.xml for blackberry.
Having both of these in place should solve your issue.
The solution is to edit the config.xml file of the project -
add the tag <access subdomains="true" uri="http://*URI name here*"/>
. Only then, Blackberry allows access permissions to a different domain.