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
Highlighted
Developer
Posts: 1,305
Registered: ‎01-21-2009
My Device: Not Specified

Re: IllegalStateException when trying to do simple httpconnection

Some simulators (the Tour comes to mind) will often start up in a state where it will not recognize the MDS simulator. (I think this happens more frequently when the device simulator is started before the MDS simulator.) One indicator that this is happening is that the Manage Connections widget shows that the (simulated) device is on a mobile networked named "Fledge simulated network" (or something like that). When in this state, deviceside=true is all that will work in an app. The browser, etc. won't work at all.

 

You can get out of this without restarting anything, after which deviceside=false connections will go through the MDS simulator. You need to mess with the mobile network options until it says something besides the fledge network (Default CDMA, etc.)




Solved? click "Accept as solution". Helpful? give kudos by clicking on the star.