Thank you guys for the info about getting it to run on the simulator. It worked well for me.
Incase others are having problems with running the demo on the simulator, here's what I did to get it running:
1) Install the BlackBerry Desktop Manager
2) Open up the BlackBerry JDE,
Quote:
|
Originally Posted by rimzim 01. Configuration:
Edit->Preference
Select "Ports" tabsheet,
Here, set as:
Communication Port Type: Default
Serial Port: <just do try and error fot this number> (in my case it's 4.)
Check the "Serial/USB cable connected at startup". |
3) Run the simulator and then the usbdemo program. Select "Connect (Low Level)" or "Connect (GCF)".
You should see a display that says
"using low level usb interface
Registering channel: RIM_USBClient"
or nothing displayed if you chose "Connect (GCF)".
4) open up your "\Research In Motion\BlackBerry JDE 4.2.0\samples\usbclient\" folder and run the application there. (You may need to compile it first to obtain the exe file)
5) You should see
"Hello from PC"
and a couple of other messages
When trying to run the same setup on an actual device (8700g), I received a "IllegalChannel" exception message. To fix this, I changed the channel names from "RIM_USBClient" to simply "R". Then,
1) Make sure programs (Desktop Manager, JDE) using USB ports are closed (may not be necessary but just incase)
2) Start the USBdemo on the BlackBerry device, select "Connect (GCF)" or "Connect (Low Level)"
3) Start the USBclient