Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 在设备上运行blackberry应用程序“尝试访问安全api”_Java_Eclipse_Blackberry - Fatal编程技术网

Java 在设备上运行blackberry应用程序“尝试访问安全api”

Java 在设备上运行blackberry应用程序“尝试访问安全api”,java,eclipse,blackberry,Java,Eclipse,Blackberry,我是黑莓开发新手,需要一些关于将应用程序分发到设备的指导。以下是我所采取的步骤以及我遇到问题的地方: 我在eclipse中构建我的应用程序 在顶部菜单中,我进入“blackberry”>“sign”>“sign with signature tool” 当签名工具弹出时,单击“添加”,在构建中选择cod文件 单击“请求”,我会在我的cod文件旁边看到绿色的“已签名”,签名ID为RBB 然后我使用cmd上传我的应用程序,使用C:\Java>JavaLoader.exe-u load myapp.c

我是黑莓开发新手,需要一些关于将应用程序分发到设备的指导。以下是我所采取的步骤以及我遇到问题的地方:

我在eclipse中构建我的应用程序 在顶部菜单中,我进入“blackberry”>“sign”>“sign with signature tool” 当签名工具弹出时,单击“添加”,在构建中选择cod文件 单击“请求”,我会在我的cod文件旁边看到绿色的“已签名”,签名ID为RBB 然后我使用cmd上传我的应用程序,使用C:\Java>JavaLoader.exe-u load myapp.cod 该应用程序显示在手机上,但在我单击它后,我收到一个错误“尝试访问安全api” 我怀疑我应该对我的RCR和RRT应用程序进行“签名”。我该怎么做才能让这个签名


提前感谢您的帮助

首先在eclipse上安装三个代码签名密钥。 适用于Eclipse用户的BlackBerry JDE插件:

Save all 3 .csi files in the same directory (each one will be sent in a separate email message).
Start Eclipse.
Click on the BlackBerry menu and choose Install Signature Keys.
Select one of the 3 .csi files saved in step 1 and click Open.
Click "Yes" to create a new key pair file.
Type a password for your private key of at least 8 characters, and type it again to confirm. This is your private key password, which protects your private key. Please remember this password as you will be prompted for it each time signing is attempted or a signature key is installed.
Move your mouse to generate date for a new private key.
In the Registration PIN" field, type the PIN number that you supplied on the signature key order form.
In the Private Key password field, type the password created in step 6.
Click Register .
Click Exit .
Repeat this process for the other csi files.

然后右键点击你的项目->黑莓->签名工具,它会提示输入密码。在给出密码后,它将对您所有必要的文件进行签名。完成签名后,它将在eclipse控制台中显示您已签名的Cod文件的位置。

hi signare,我遵循了这些步骤,我使用的Cod是在eclipse控制台中显示的Cod。将.Cod文件与.jad文件一起提取到一个文件夹中。然后把它放到服务器上。然后从手机浏览器访问.jad文件,然后该文件将自动安装。所有3.csi文件将以不同的电子邮件发送到[安装签名密钥][1][1]链接: