开发者

Loading BlackBerry application from command line

I am following the instruction from "Using the BlackBerry Smartphone Simulator programmatically" to load a .cod file from the command line using fledgecontroller commands. I am calling LoadCod(D:\Sample.cod) and nothing happens; t开发者_开发百科he application does not install on the simulator. However if I manually browse and load the cod from the simulator's “file->Load Java Program” option.


Do you get any error message at all? If I try a similar thing (have a cod in C:\Sample.cod, connect using fledge and attempt LoadCod(C:\Sample.cod)) I get the following error message -

Jvm: could not open C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 4.5.0\4.5.0.55 (8310)\sample.cod

I moved the sample.cod to that directory and it worked okay. If you get no error message I am not sure what the problem is. Are you definitely connected to the correct simulator session? What simulator and OS version are you using?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜