Monday 17 January 2011

BlackBerry Simulator - Enable Internet Access


Testing your BlackBerry device application that connects to the internet obviously requires your simulator to initiate a connection. This can be done very easy from Eclipse IDE. Here's what you can do. There are 2 ways:

1. From Properties

Right-click on your project, go to "Properties" -> "Run/Debug Settings", click on your application from the list and click "Edit". Go to the "Simulator" tab, check the "Launch Mobile Data System Connection Service (MDS-CS) with simulator" box and click "OK".

2. From Eclipse IDE folder

Go to %ECLIPSE_DIR%\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\MDS\ and launch run.bat.

For this case, remember to launch run.bat before you start the simulator.

General Note

The internet access is not global so it can be enabled only for individual projects.

No comments:

Post a Comment