开发者

Testing BlackBerry code without starting the device simulator

开发者 https://www.devze.com 2023-01-31 08:45 出处:网络
In Eclipse, I want to test some java microedition network code -- javax.microedition.io.HttpConnection -- to see if the network connection is successful and get some cookie values. But running this co

In Eclipse, I want to test some java microedition network code -- javax.microedition.io.HttpConnection -- to see if the network connection is successful and get some cookie values. But running this code using a JRE on my development machine doesn't execute the method, unless I launch and test using a simulator.

Can I run BlackBerr开发者_StackOverflow中文版y code using a desktop JRE or will I always have to test using a simulator?


I've never heard of a way of running BB code without running the simulator. You can set a program to automatically start the simulator and "click" some buttons so you can run tests automatically, but I don't think this is what you're looking for...

0

精彩评论

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