09-22-2011 01:40 AM
I developed an application for a blackberry mobile and it is working fine when I run the application using the simulator. But when I run it on the blackberry device, I get an error saying that the URL connection is invalid. But it works fine when I run the application using the simulator. This happens when I call the web service that is used to upload a data into the web. I am using MDS service to connect to the url. How does the MDS run on the device? Do I need any separate application in the device? Is it because of the MDS service being absent in the device?
Please help me. I have been trying very hard for some weeks.
09-22-2011 05:27 PM
MDS runs on the BlackBerry Enterprise Server, not on the BlackBerry Smartphone itself.
It's important to understand the different routes your connection could be made over and how to control them. I recommend having a look at the following.
Different ways to make an HTTP or socket connection
What Is - Network API alternative for legacy OS