1

我使用 PhoneGap for BlackBerry 开发了一个应用程序,当我尝试将此应用程序安装到设备上时,它会显示一些文本,例如:

清单版本:1.0
RIM-COD-URL-80:HELLOWORLD-80.cod
MIDlet-Jar-大小:3757417
RIM-MIDlet-Icon-2-1:____HOVER_ICON_resources/icon_hover.png,聚焦
RIM-COD-URL-79:HELLOWORLD-79.cod
RIM-COD-URL-78:HELLOWORLD-78.cod
RIM-COD-URL-77:HELLOWORLD-77.cod
RIM-COD-URL-76:HELLOWORLD-76.cod
RIM-COD 尺寸 80:64944
RIM-COD-URL-75:HELLOWORLD-75.cod
RIM-COD-URL-74:HELLOWORLD-74.cod
RIM-COD-URL-73:HELLOWORLD-73.cod
MicroEdition-配置:CLDC-1.1
RIM-COD-URL-72:HELLOWORLD-72.cod
RIM-COD-URL-71:HELLOWORLD-71.cod
RIM-COD-URL-70:HELLOWORLD-70.cod
RIM-COD-Size-79:45632
RIM-COD-Size-78: 38008
RIM-COD-Size-77: 53040
MIDlet 版本:0.1.1
RIM-COD-Size-76: 51536
RIM-COD-Size-75: 51536
RIM-COD-尺寸:69408
RIM-COD 尺寸 74:51536
RIM-COD-URL-69:HELLOWORLD-69.cod
RIM-COD-Size-73:51532
RIM-COD-URL-68:HELLOWORLD-68.cod
RIM-COD 尺寸 72:51532
RIM-COD-URL-67:HELLOWORLD-67.cod
RIM-COD-Size-71:54824
RIM-COD-URL-66:HELLOWORLD-66.cod
RIM-COD 尺寸 70:55148
RIM-COD-URL-65:HELLOWORLD-65.cod
RIM-COD-URL-64:HELLOWORLD-64.cod
RIM-COD-URL-63:HELLOWORLD-63.cod
RIM-COD-URL-62:HELLOWORLD-62.cod
RIM-COD-URL-61:HELLOWORLD-61.cod
RIM-COD-URL-60:HELLOWORLD-60.cod
RIM-MIDlet-Flags-1:0
MIDlet-名称:HELLO WORLD
RIM-COD-Size-69:51436
RIM-COD-Size-68:51436
RIM-COD-Size-67:51436
RIM-COD-Size-66:51436
RIM-COD-Size-65:51436
RIM-COD-Size-64:51436
RIM-COD-URL-59:HELLOWORLD-59.cod
RIM-COD-Size-63:51416
RIM-COD-URL-58:HELLOWORLD-58.cod
RIM-COD-Size-62:51416
RIM-COD-URL-57:HELLOWORLD-57.cod
RIM-COD-Size-61:56940
RIM-COD-URL-56:HELLOWORLD-56.cod
RIM-COD-Size-60:51340
RIM-COD-URL-55:HELLOWORLD-55.cod
RIM-COD-URL-54:HELLOWORLD-54.cod
RIM-COD-URL-53:HELLOWORLD-53.cod
RIM-COD-URL-52:HELLOWORLD-52.cod
RIM-COD-URL-51:HELLOWORLD-51.cod
RIM-COD-URL-50:HELLOWORLD-50.cod
RIM-MIDlet-Icon-Count-2:1
RIM-MIDlet-Icon-Count-1: 1
RIM-COD-Size-59:56428
RIM-COD-Size-58: 56012
RIM-COD-Size-57:51348
RIM-COD-Size-56:51344
RIM-COD-URL-9:HELLOWORLD-9.cod
RIM-COD-Size-55: 59132
RIM-COD-URL-8:HELLOWORLD-8.cod
RIM-COD-Size-54:51460
RIM-COD-URL-49:HELLOWORLD-49.cod
RIM-COD-URL-7:HELLOWORLD-7.cod
RIM-COD-Size-53:51460
RIM-COD-URL-48:HELLOWORLD-48.cod
RIM-COD-URL-6:HELLOWORLD-6.cod
微版配置文件:MIDP-2.0
RIM-COD-Size-52:51460
RIM-COD-URL-47:HELLOWORLD-47.cod
RIM-COD-URL-5:HELLOWORLD-5.cod
RIM-COD-Size-51:51440
RIM-COD-URL-46:HELLOWORLD-46.cod
RIM-COD-URL-4:HELLOWORLD-4.cod
RIM-COD 尺寸 50:51440
RIM-COD-URL-45:HELLOWORLD-45.cod
RIM-COD-URL-3:HELLOWORLD-3.cod
RIM-COD-URL-44:HELLOWORLD-44.cod
RIM-COD-URL-2:HELLOWORLD-2.cod
RIM-COD-URL-43:HELLOWORLD-43.cod
RIM-COD-URL-1:HELLOWORLD-1.cod
RIM-COD-URL-42:HELLOWORLD-42.cod
RIM-COD-URL-41:HELLOWORLD-41.cod
RIM-COD-Size-9:48440
RIM-COD-URL-40:HELLOWORLD-40.cod
RIM-COD 尺寸 8:56444
RIM-COD-Size-7:67932
RIM-COD-Size-6:74336
RIM-COD-Size-5:63684
RIM-COD-Size-4:64960
RIM-COD-Size-3:66384
RIM-COD-Size-2:74136
RIM-COD-Size-1:71816
RIM-COD 尺寸 49:57512
RIM-COD-Size-48:59124
RIM-COD 尺寸 47:55580
RIM-COD 尺寸 46:51464
RIM-COD 尺寸 45:51464
RIM-COD 尺寸 44:51464
RIM-COD-URL-39:HELLOWORLD-39.cod
RIM-COD 尺寸 43:51460
RIM-COD-URL-38:HELLOWORLD-38.cod
RIM-COD-Size-42:51460
RIM-COD-URL-37:HELLOWORLD-37.cod
RIM-COD-URL-36:HELLOWORLD-36.cod
RIM-COD 尺寸 41:51332
RIM-COD-URL-35:HELLOWORLD-35.cod
RIM-COD 尺寸 40:51464
RIM-COD-URL-34:HELLOWORLD-34.cod
RIM-COD-URL-33:HELLOWORLD-33.cod
RIM-COD-URL-32:HELLOWORLD-32.cod
RIM-COD-URL-31:HELLOWORLD-31.cod
RIM-COD-URL-30:HELLOWORLD-30.cod
RIM-COD-Module-Dependencies: net_rim_cldc,net_rim_bb_web_jse_api,net_rim_xml_org,net_rim_bb_browser_field2_api,net_rim_os,net_rim_bbapi_phone,net_rim_bbapi_mailv2,net_rim_bbapi_push,net_rim_bbapi_messagelist,net_rim_pdap,net_rim_bbapi_invoke,net_rim_bbapi_browser,net_rim_networkapi,net_rim_bb_browser_field_api,net_rim_xml,net_rim_locationapi
RIM-COD-SHA1-80:fa 1c 6a 70 fc d8 2d a5 87 ff c0 66 12 42 09 98 69 ee 2e d6
MIDlet 供应商:未知
RIM-COD-Size-39:52752
RIM-COD 尺寸 38:55956
RIM-COD 尺寸 37:52452
RIM-COD 尺寸 36:51364
RIM-COD 尺寸 35:58756
RIM-COD-URL-29:HELLOWORLD-29.cod
RIM-COD 尺寸 34:52664
RIM-COD-URL-28:HELLOWORLD-28.cod
RIM-COD 尺寸 33:51084
RIM-COD-URL-27:HELLOWORLD-27.cod
RIM-COD-Size-32:51084
RIM-COD-URL-26:HELLOWORLD-26.cod
RIM-COD-Size-31:51084
RIM-COD-URL-25:HELLOWORLD-25.cod
RIM-COD 尺寸 30:51084

那么我们需要像windows 7 phone这样的设备解锁吗?我的设备是 Blackberry Curve 9220

4

2 回答 2

1

黑莓操作系统不像 Windows Phone 那样具有“开发者解锁”的概念。所有设备都是一样的。

您有两种选择:
1. 仅使用不需要签名的 API。如果您这样做,那么您可以将您的应用程序部署到任何设备上,而无需任何特殊处理。
2. 使用 RIM 的特殊 API,并获得一个代码签名密钥。要使用特殊的 RIM API 部署应用程序,您需要对应用程序进行签名。未签名时,应用程序可以在模拟器上运行,但不能在真实设备上运行。

于 2013-06-24T06:45:36.300 回答
1

修改.htaccess服务器的文件并添加以下行:

AddType text/vnd.sun.j2me.app-descriptor .jad
AddType application/vnd.rim.cod .cod
AddType application/java-archive .jar

您将获得文本而不是安装过程,因为您的服务器将 jad 文件表示为一个简单的文本文件。

在安装您的自定义应用程序之前无需解锁设备。您需要记住的唯一一件事是,如果您使用的是签名 API,那么您需要在将应用程序安装到实际设备上之前对其进行签名。

在此处申请签名密钥:http: //www.blackberry.com/go/codesigning

您将收到一封附有签名密钥的电子邮件。按照收到的电子邮件中的说明安装这些密钥并使用它们来签署您的应用程序。

于 2013-06-24T09:41:35.183 回答