在BlackBerry Java
项目中,我尝试添加一项功能,以确保应用程序可以在backgroup上运行。它在BB
的模拟器上正常运行但在运行时遇到错误而失败设备
Error: Module 'My_Project' must be signed with the RIM Runtime Code Signing Key (RTT)
问题出现在以下代码中:
private ApplicationIndicatorRegistry reg;
private ApplicationIndicator indicator;
public static ApplicationIndicator AppIndi;
public AfmobiMobile() {
testMobile = this;
reg=ApplicationIndicatorRegistry.getInstance();
EncodedImage img=EncodedImage.getEncodedImageResource("ic2.png");
ApplicationIcon icon =new ApplicationIcon(img);
indicator=reg.register(icon, false, true);
AppIndi=reg.getApplicationIndicator();
}
此volum的所有打开句柄都将是invaild。