I am creating an application for Blackberry (OS 5.0 and higher). I don't have any past experience in mobile development. I have created a sample application that is working fine (by following guidelines mentioned in http://wiki.phonegap.com/w/page/31930982/Getting-Started-with-PhoneGap-BlackBerry-WebWorks). I have installed
- JDK - version 1.6.0_23
- Apache Ant - 1.8.2
- BBWP - 1.5.1.22
- phonegap - 0.9.3
(Running on BlackBerry 9550 Simulator)
What I want to do is a simple AJAX request to domain (i.e. www.sampledomain.com - where www.sampledomain.com is hosted on my local server.)
I have added following in www config.xml file
<access uri="http://www.sampledomain.com" subdomains="true" />
The problem is that when I send Ajax request I get the message "Error: Error requesting resource.".
(I am not getting any request in apache access log for www.sampledomain.com).
Any one know what can be the reason for that? And how can I fix that? Thanks