Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
kskinner
Posts: 27
Registered: ‎08-20-2008

8350i simulator not working

I've installed the 4.6.1 JDE, started it up and was able to start up the default simulator (8900).  But when I switched it to the 8350i, I get a "Reload software: 507" error on the simulator screen.  When I close it down I then get a "Java.net.socketException: socket closed" pop up, which is probably due just to the fact that the simulator failed.  I saw in another post where it was suggested to run the clean.bat to fix another "507" error, but that didn't seem to help.  Any thoughts?
Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Carrier: ***

Re: 8350i simulator not working

[ Edited ]

Just tried - the same picture.

 

Seems that RIM released JDE with well-composed simulator part. 8350i simulator is in beta status now.

 

It can be downloaded separately here

 

Select "Blackberry Device Simulator v4.6.1"  and download it.

 

Maybe standalone simulator not embedded to JDE will work properly.

 

 

 

 

Message Edited by tbilisoft on 26-12-2008 07:13 PM
Please use plain text.
Developer
kskinner
Posts: 27
Registered: ‎08-20-2008

Re: 8350i simulator not working

Thanks, I'll give that a try.  Hate to sound like a newbie, but all the development I've done so far has been with a simulator connected to the JDE and have never tested anything using a stand alone simulator.  I did notice the "Load Java program" option in the File menu of the simulator however.  After firing up a stand alone simulator, is that where I would load a test program developed in the JDE?
Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Carrier: ***

Re: 8350i simulator not working

[ Edited ]

I know two ways to work with a simulator (is it standalone or not - does not matter in this case).

 

Non-elegant: just copy your cod files to the simulator folder and start the simulator.


Elegant (recommended) -

 

  1. Create your cod files and create alx file for these cod files.
  2. Make sure that real  device is not connected to your computer
  3. Run Simulator, and select from menu: Simulate-USB Cable Connected
  4. Run Blackberry Desktop Manager, it will recognize your simulator as a connected device.
  5. Install your application via Blackberry Desktop Manager (using alx file) as you do for a real device.
  6. To clean simulator filesystem - run clean.bat file located in simulator folder, in case you want to uninstall just one application - act as you have a real device and a project installed via BB Desktop manager and alx file. Go to Options-Advanced Options - Applications, select your application and select from screen menu "Delete"


Message Edited by tbilisoft on 26-12-2008 08:11 PM
Please use plain text.
Developer
kskinner
Posts: 27
Registered: ‎08-20-2008

Re: 8350i simulator not working

Great!  I didn't know the Desktop Manager would treat the simulator as a connected device.  I'll give that a try an see how it works.  Thanks again.
Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Carrier: ***

Re: 8350i simulator not working

It works for me for years :smileyhappy:

 

And it should work for you too :smileyhappy:

Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Carrier: ***

Re: 8350i simulator not working

And make sure that there is no real device connected when you turn USB-connect simulation ON.
Please use plain text.