Using the BlackBerry Smartphone Simulator in secure mode

Before you deploy your application, you should test the application in secure mode.

By default, the BlackBerry Smartphone Simulator has two features that an make it easy to use but that are not found on the BlackBerry device. The simulator does not check for required code signatures on applications and it does not prompt you before connecting to the network. You can disable those features by running the BlackBerry Smartphone Simulator in secure mode.

When you enable BlackBerry Smartphone Simulator secure mode, you cannot use the .cod files that come with the BlackBerry Smartphone Simulator. You must use the .cod files that are installed on the BlackBerry device. To obtain the appropriate .cod files, you can copy BlackBerry device .cod files from your computer to the BlackBerry Smartphone Simulator installation folder.

By default, the location of the installation folder is: C:\Program Files\Common Files\Research In Motion\Shared\Loader Files\<Handheld>\Java.

Enable secure mode

You can only set secure mode as an option from the command prompt.

At the command prompt, start the BlackBerry Smartphone Simulator with the /secure option.

Example: Enabling secure mode with a simulation of the BlackBerry Torch 9800 smartphone

fledge /handheld=9800 /secure
Back To Top

Was this information helpful? Send us your comments.