Tuesday, December 15, 2009

BlackBerry application facing HTTP connection problem on simulator

Before testing an application that uses HTTP connection on BlackBerry simulator, I often forget to enable Mobile Data Service (MDS) with the simulator and I find my application not working as expected.

So if you encounter problem with your application failing to establish HTTP connection, check your intended simulator's MDS setting.

To enable MDS setting,

1. From JDE, go to Edit -> Preferences
2. Select Simulator tab
3. Select General tab under Simulator tab
4. Check "Launch Mobile Data Service (MDS) with Simulator"

No comments:

Post a Comment