Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 151
Registered: ‎01-20-2010
My Device: Blackberry Bold
My Carrier: Telefonica

Download a file using a script

hi everyone.

 

I have a problem, I have this url http://myurl/scriptdescarga.php, so i decide test it in a real BB, using the default browser and works perfect, the browser give me the option of save the file.

 

Now, when i create my app, i invoke the browser and the simulator give me this message:

 

"unable to connect to the selected  movil data service, please try again  later"

 

so, i want to know what is the meaning of the message and why i cant use that url in the simulator.

 

im using BB 8900 simulator.

 

pd: sorry for my english.

 

Thanks.

 

 

 

 

Developer
Posts: 1,055
Registered: ‎01-25-2009
My Device: BlackBerry Bold 9650/BlackBerry Torch 9800

Re: Download a file using a script

By default, the simulator has no connection to the internet.

 

You have to run the MDS simulator (which comes with Eclipse and the JDE) in order to connect your simulator to the internet.

Jerome Carty - Follow jcarty on Twitter@jcarty | #webworks-dev / #BlackberryDev on irc.freenode.net | My Apps
Click "Accept as Solution" if post solved your original issue.. Give like/thumbs up if you feel post is helpful