12-13-2011 04:46 PM
I'm trying to call a web service with $.ajax() even I have:
<access subdomains="true" uri="*"/>
in my config but falls in to error.
Is there any thing to do?
Solved! Go to Solution.
12-14-2011 12:14 AM
Inorder to connect to the internet you need to install MDS 1st
download "Blackberry Email and MDS service simulator package" from here
https://swdownloads.blackberry.com/Downloads/entry
after instillation go to eclipse and click on "Windows" menu and open "preference"
goto blackberry tab -> service
and in there you can see MDS path browse the path where you installed MDS
now if you run your project you should be able to see a command prompt running along with blackberry simulator
if that command prompt comes it means that you successfully installed MDS you can access internet now
open browser in the simulator and check
if you are not using eclipse then
go to place where you installed MDS and run "run.bat" file before stating the blackberry simulator
now a command prompt will start then start the blackberry siimulator and you should be able to access internet inside the simulator
go and check it by opening
NOTE: If you can access internet in your web browser inside simulator but if you are unable to do so inside your appliaction then that means that your proxy is blocking the simulator ... contact the administrator in your office and ask him to give you exception. (I faced with same problem and it took me 2 days to figure out that proxy is blocking my application requests)
12-14-2011 02:07 AM
Thank you for your reply but I'm not using Eclipse.
I'm writing codes on notepad and compile it with bbwp...
12-14-2011 04:40 AM
kaansengul wrote:
Thank you for your reply but I'm not using Eclipse.
I'm writing codes on notepad and compile it with bbwp...
if you are not using eclipse or just command line bbwp, try to find the mds folderin your Blackberry Webworks path (usually at \Program Files\Research In Motion\BlackBerry Widget Packager\mds),
after you find the folder, find run.bat file then run it.
12-14-2011 12:01 PM
i already said in my post read it completly
"if you are not using eclipse then
go to place where you installed MDS and run "run.bat" file before stating the blackberry simulator
now a command prompt will start then start the blackberry siimulator and you should be able to access internet inside the simulator
go and check it by opening
NOTE: If you can access internet in your web browser inside simulator but if you are unable to do so inside your appliaction then that means that your proxy is blocking the simulator ... contact the administrator in your office and ask him to give you exception. (I faced with same problem and it took me 2 days to figure out that proxy is blocking my application requests)"
12-18-2011 05:02 PM - edited 12-18-2011 07:02 PM
Still same.
What I'm doing is:
1) Zip files
2) Buid it via command line: bbwp.exe "###.zip" -g "password"
3)Open simulator > File > Load Java Program > Select StandardInstall\###.cod
Tried in BB 9700 OS 5.0 Simulator, BB 9700 OS 6.0 Simulator and BB 9700...
12-18-2011 07:57 PM
onelord2002 and agungeddy already gave you a solution to the problem. You did not take your time to read and understand it.
For your simulator to have access to the internet, you need to simulate MDS.
1. go to Now go to https://swdownloads.blackberry.com/Downloads/entry
2. From the drop down mneu, select and download Blackberry Email and MDS Services Simulator Package.
3. After download, install the application.
4. After installation go to the installation directory C:\Program Files\Research In Motion\BlackBerry WebWorks SDK x.x.x.xx\mds
Note: replce x.x.x.xx with the version of Blackberry Webworks SDK installed on your computer.
5. Double click on run or run.bat. Which ever of the two you find in that directory.
Now you can open your simulators and start testing your applications. It should be able to access the internet now.
12-19-2011 04:39 AM
Hahaha ![]()
Check this: "Tried in BB 9700 OS 5.0 Simulator, BB 9700 OS 6.0 Simulator and BB 9700..."
That is this problem is not only in simulator. I'm also facing it with in a real device. I've checked the service address (from device also). Do you think there could be problem with signing app? Since I've changed my device and notices after 1 week.
Today I will try to build it in my old device.
12-19-2011 09:26 AM
Just wanted to add a clarification here, MDS is included in the webworks SDK in the mds folder, no extra download is required.
If the app opens then its unlikely to be related to signing.
button below the post(s)
12-21-2011 04:46 AM
Solved!
The problem is related to the cross domain issue who uses jQuery 1.5
http://stackoverflow.com/questions/5241088/jquery-
thanks for all!