[BlackBerry - Java]错误:必须使用RIM运行时代码签名密钥(RTT)对模块“My_Project”进行签名

时间:2013-05-20 03:42:55

标签: java blackberry code-signing

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。

0 个答案:

没有答案