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

Testing and Deployment

Reply
Contributor
Posts: 41
Registered: ‎07-20-2011
My Device: BlackBeery 9800
My Carrier: Blackberry

Error in using APN settings on the phone.

Hi,

 

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.

 

Thanks.

Thanks & Regards,
Paabs
BlackBerry Development Advisor
Posts: 15,146
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: Error in using APN settings on the phone.

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

http://supportforums.blackberry.com/t5/Java-Development/Different-ways-to-make-an-HTTP-or-socket-con...

 

What Is - Network API alternative for legacy OS

http://supportforums.blackberry.com/t5/Java-Development/What-Is-Network-API-alternative-for-legacy-O...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker