我想使用进度窗格返回此处的响应,以便我可以显示“加载”对话框。代码工作正常,但有时我无法从这里得到响应。 的代码片段是: public class Connection
{
StringBuffer messageBuffer = new StringBuffer();
String response;
public String connect(String
我可以问一些使用Canvas将图像打印成圆形的提示吗?,我的代码无法正常工作,请帮助我。谢谢,顺便说一下,我在J2ME Development Mobile App中使用了Canvas。 下面的代码是创建一个圆而不是导入图像的示例。 private MigoMidlet migoMidlet;
public Circle(MigoMidlet migoMidlet) {
this.m
FileConnection fc =(FileConnection)Connector.open(“file:/// C:/products.dat”,Connector.READ_WRITE);如果(!fc.exists()) { fc.create(); OutputStream os = fc.openOutputStream(); byte [] b = response.toStrin