2012-08-01 55 views
0

我是黑莓开发的新手,需要将应用分发到设备的某些指示。这是我所采取的步骤,并在那里我打我的问题:在设备上运行黑莓应用'尝试访问安全API'

  • 我建立我在Eclipse的应用程序
  • 在顶部的菜单我去“黑莓”>“符号”>“用签名工具签名”
  • 当签名工具弹出点击“添加”,在构建选择COD文件
  • 点击“请求”然后我看到绿色的“签约”旁边与signerid为RBB
  • 我在我的鳕鱼文件然后使用cmd上传我的应用程序,使用C:\ Java> JavaLoader.exe -u load myapp.cod
  • 应用程序显示在手机上,但之后我点击它,我得到一个错误“试图访问一个安全的API”

林怀疑我应该“签署”对我的应用程序为RCR和RRT。我必须做什么才能让这个签名?

感谢所有帮助提前

+0

转到链路[安装签名密钥] [1] [1]:http://stackoverflow.com/questions/2955155/not-able-to-install-signature-keys/10909525 #10909525 – 2012-08-01 13:04:48

回答

2

首先在你的eclipse安装三个代码签名密钥。 黑莓JDE插件为Eclipse用户:

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文件位置的位置。

+0

hi signare,我已经按照这些步骤,我使用的cod是在控制台中显示的日食 – Carl 2012-08-01 12:00:42

+0

将.COD文件和.jad文件一起提取到文件夹中。然后放在服务器上。然后从手机浏览器访问.jad文件,然后它会自动安装。 – Signare 2012-08-01 12:03:30

+0

所有3个.csi文件到达不同的电子邮件 – Carl 2012-08-01 13:29:40