2012-08-01 19 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