我在 Eclipse 中使用 bb 插件工作,问题是当我点击我的应用程序时,模拟器会冻结,我什么也做不了。我试图做某事,但它仍然是一样的
而且我的应用程序还有一个后台组件(线程),在这里我在调用该方法时留下了代码
应用程序有一个背景组件
公共无效回调(最终服务结果结果){
if(result.getException()!=null){
UiApplication.getUiApplication().invokeLater(new Runnable(){
public void run() {
Dialog.alert("error:"+ result.getException().getMessage());
}
});
return;
}
this.section = (Vector) result.getData() ;
// take first element of Result Object
final Section section = (Section) this.section.elementAt(0);
UiApplication.getUiApplication().invokeLater(new Runnable(){
public void run() {
pushScreen(new SubsectionScreen(section, 0));
}
});
}
这是日志的一部分
Starting faix
faix already running
Foreground faix(180)
Detected background switch for net_rim_bb_ribbon_app(58) who has NO tunnels open - defocus NOT called
Detected foreground switch for faix(180) who has NO tunnels open - focus NOT called
JVM: bklt @63289: timer
JVM: bklt[1] @63289: idle 2
JVM: bklt @63289: setTimer 13
VM:+GC(f)w=11
VM:-GCt=7,b=1,r=0,g=f,w=11
VM:QUOT t=1
VM:+CR
VM:-CR=2
JVM: bklt @76687: timer
JVM: bklt[1] @76687: idle 15
JVM: bklt @76687: setTimer 15
JPGENC 39 ms
JPGENC 7 ms
JPGENC 7 ms
JPGENC 0 ms
JPGENC 7 ms
JPGENC 7 ms
JPGENC 0 ms
JPGENC 7 ms
JPGENC 0 ms
JPGENC 0 ms
JPGENC 7 ms
JPGENC 0 ms
请任何建议。谢谢你接受这个问题。