- Testing applications on a BlackBerry Smartphone Simulator
- Testing applications on a BlackBerry device
- Testing applications using the compiled .cod files
Testing a BlackBerry device application (1)
-- Testing applications on a BlackBerry Smartphone Simulator
( http://www.cs.toronto.edu/~delara/courses/csc309/guide/rim/core.pdf )
There is the instruction of "Setting up your machine" which made by my teammate Carlin Woshkulak Desautels.
Description
- Download BB Eclipse IDE:
- Download Simulators:
- Torch 9800: http://bit.ly/nKf2h0
- Storm 9530: http://bit.ly/oEnywL
- Bold 9780: http://bit.ly/rbL0Aa
- Install Everything
- Install the BB 5.0 JRE
- Eclipse -> Install new software
- http://www.blackberry.com/go/eclipseUpdate/3.6/java
- Reconfigure project build path to use 5.0 JRE
- Set up debug environments
- Project -> properties
- Run/Debug? -> Edit/Add? one for each simulator
- If the Project fails to package
- Add the directory of jar.exe to the system build path
- C:\Program Files (x86)\Java\jdk1.6.0_25\bin
- In steps 1-4, the downloads require a blackberry developer account
- In step 6, your systems java JDK must be 32-bit that is an example path of java 1.6.25
- In step 5, I will suggest to "Duplicate" a existing one, and then "Edit" it.
After setting up the machine, you can select your "BlackBerry Project", then click "Run on BlackBerry Simulator" or "Debug on BlackBerry Simulator". The result will shows on console.
The BlackBerry Plug-in also has "Debug Perspective" available. The button locate on the top right corner.
Testing a BlackBerry device application (2)
--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.
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.
Register to use protected BlackBerry APIs
Install signing key:
- After completing the registration from, RIM will send 3 .csi files which separated in 3 e-mails with the instruction.
- Follow the instruction to install the signing key.
Install BlackBerry desktop software:
- Download and install BlackBerry desktop software (http://us.blackberry.com/apps-software/desktop/)
- BlackBerry device plugged in USB wire
Load on BlackBerry device:
- In Package Explorer View, Right-click your "BlackBerry Project" > Click BlackBerry > Sign with Signature Tool
- In Package Explorer View, Right-click your "BlackBerry Project" > Click BlackBerry > Load Project(s) on Device
Debug on BlackBerry device:
- In BlackBerry Plug-in, BlackBerry > Debug As > BlackBerry Device
Hi there, awesome site. I thought the topics you posted on were very interesting.
ReplyDeleteI tried to add your RSS to my feed reader and it a few. take a look at it, hopefully I can add you and follow.
Blackberry Development