1

我用 Phonegap 构建了一个黑莓应用程序。Phonegap 构建网站构建了我的应用程序,然后给我发回了一个 StandardInstall.zip。当我打开它时,我有 cod、alx、csl 和 cso 文件。我是否还需要一个 jad 文件才能将整个应用程序上传到我的网络服务器以供其他黑莓安装我的应用程序?

如果是这样,我如何创建 jad 文件?如果我不需要 jad 文件,如何安装应用程序?当我去http://mysite.com/filename.cod时,它只是下载鳕鱼。它不安装?

4

1 回答 1

2

Man, I wasted a whole day on this. So I ended up finding a random jad file on the internet which i"m posting here:

BlackBerryWebWorksSDK.exe*       glww.jpeg
George Website .pdf              jdk-7u3-windows-i586.exe*
Requirements.xls                 phonegap-phonegap-1.5.0-0-gde1960d/
Manifest-Version: 1.0
MIDlet-Jar-Size: 3329401
RIM-MIDlet-Icon-2-1: ____HOVER_ICON_[LOCAL URL FOR YOUR APP ICON],focused
MicroEdition-Configuration: CLDC-1.1
MIDlet-Version: 1.0.0
RIM-COD-Size: 70020
RIM-MIDlet-Flags-1: 0
MIDlet-Name: [NAME OF YOUR APP]
RIM-MIDlet-Icon-Count-2: 1
RIM-MIDlet-Icon-Count-1: 1
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,ne
t_rim_bbapi_messagelist,net_rim_pdap,net_rim_bbapi_invoke,net_rim_bbapi_browser,net_rim_netw
orkapi,net_rim_bb_browser_field_api,net_rim_xml,net_rim_locationapi
MIDlet-Vendor: Unknown
RIM-COD-URL: [FILENAME.cod]
MIDlet-Description: [NAME OF YOUR APP]
RIM-COD-Module-Name: [NAMEOFYOURAPPWITHNOSPACES]
RIM-COD-Size: 51568
MIDlet-1: [NAME OF YOUR APP],[LOCAL URL FOR YOUR APP ICON],rim:foreground;WIDGET;
RIM-COD-Creation-Time: 1333316339

Replace anywhere you see [CAPS] with your values. Everything else I left the same. I have no idea if what I've done is a sustainable way for deploying cod files. I also don't know if there are any consequences for not changing any of the other values like creat dates, file sizes, etc...

于 2012-04-01T23:08:51.657 回答