BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-26-2006, 11:35 AM   #1 (permalink)
New Member
 
Join Date: May 2006
Model: 7250
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default loading .cod file to a blackberry simulator on command line

Please Login to Remove!

I want to load a .cod file to a blackberry simulator using command line.

I've tried "javaloader load myapp.cod" or "javaloader -usb load myapp.cod" (when the simulator is running and configured as "usb connected") but I always get the error message "unable to connect the device..."

What can I do?

Thanks to everyone from now...
Offline  
Old 05-26-2006, 11:46 AM   #2 (permalink)
Retired BlackBerryForums.com Moderator
 
d_fisher's Avatar
 
Join Date: Oct 2005
Location: Columbus, OH
Model: 9700
OS: SID 6.7
Carrier: AT&T
Posts: 4,455
Post Thanks: 0
Thanked 2 Times in 1 Post
Default

If you using a v4.1.0.x simulator, you don't need to have simulate the USB connection.

Click File > Load Java Program... > select your .cod file.
__________________
Doug

Remember, please try searching first!

Need a screenshot? ... Like JavaLoader?
Try using BBscreen .....Use JL_Cmder!
or BBScreenShooter!

[SIGPIC][/SIGPIC]
Offline  
Old 05-26-2006, 12:33 PM   #3 (permalink)
BlackBerry Extraordinaire
 
koleary19067's Avatar
 
Join Date: Aug 2005
Location: PA
Model: STORM
OS: 4.7.0.151
PIN: MOBILE
Carrier: VERIZON
Posts: 2,089
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Make sure you are using the commands out of the directory for javaloader.
__________________
STORM (9530)
Offline  
Old 05-28-2006, 10:10 AM   #4 (permalink)
New Member
 
Join Date: May 2006
Model: 7250
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by d_fisher
If you using a v4.1.0.x simulator, you don't need to have simulate the USB connection.

Click File > Load Java Program... > select your .cod file.
I know this but I don't want to use it. Because my real problem is not to use the bberry simulator manually. My real purpose is to start automatically the bberry simulator, automatically load the .cod file to the simulator when I build a project in EclipseME IDE.

For now, when I build a project in EclipseME it also creates the .cod file and starts the bberry simulator but then I have to load the .cod file to the simulator manually. I want also to automatize this loading procedure.

To do this, I need a command line which loads the .cod file to the simulator.
I will then integrate that command line into the IDE.
Offline  
Old 05-28-2006, 10:52 AM   #5 (permalink)
New Member
 
Join Date: May 2006
Model: 8700r
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

javaloader -u load <file>.cod

All you need is javaloader.exe and your cod file for it to work.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.