Testing applications on a BlackBerry device
After you test your application on the BlackBerry® Smartphone Simulator, you can install your application on a BlackBerry device.
If your application uses signed APIs, you might need code signing keys. After you install the application on the BlackBerry device,
you can open the application and test its functionality and performance.
For debugging purposes, you can attach your device to the BlackBerry® Integrated Development Environment and use the
debugging tool to step through your application code. The BlackBerry IDE can be useful if you are trying to identify a network or
Bluetooth® issue, or other issues that are difficult to simulate.
BlackBerry simulators
BlackBerry Smartphone Simulator
The BlackBerry® Smartphone Simulator is designed to emulate a BlackBerry experience without using a real BlackBerry device.
The BlackBerry Smartphone Simulator is an application that you install on your computer that shows an image of the BlackBerry
device model of your choice. This image has the look and feel of an actual BlackBerry device. The functionality includes the same
user interaction of an actual BlackBerry device (including the trackwheel or trackball and the keyboard), the same applications,
and the same features, such as email messages, phone, and Internet browsing.
The BlackBerry Smartphone Simulator also serves as a platform on which applications can run. This includes the ability for the
applications to make network connections, store data, and handle email messages. The BlackBerry Smartphone Simulator includes
the BlackBerry device applications that are typically available on BlackBerry devices and you can install and test your own
applications. You can simulate and test various connectivity and state changes using the BlackBerry Smartphone Simulator.
When you use the BlackBerry Smartphone Simulator to perform testing, you might need to simulate additional BlackBerry services.
The BlackBerry® MDS Simulator and the BlackBerry® Email Simulator are available for this purpose.
To get the BlackBerry Smartphone Simulator, visit
www.blackberry.com/developers
and download the BlackBerry® Java®
Development Environment or the BlackBerry Java Development Environment Component Package.
BlackBerry MDS Simulator
The BlackBerry® MDS Simulator is designed to simulate the BlackBerry MDS Connection Service component of the BlackBerry®
Enterprise Server. When you use the BlackBerry Smartphone Simulator with the BlackBerry MDS Simulator you can test network,
push HTTP, and browser applications that are designed for use with a BlackBerry Enterprise Server. To get the BlackBerry MDS
Simulator, visit
www.blackberry.com/developers
and download the BlackBerry® Email and MDS Services Simulator Package.
Fundamentals Guide
Testing applications on a BlackBerry device
41