Hi All,
I have developed an application in BlackBerry, using JDE 4.2.1 and the size of my cod file is about 260KB. So, the JDE is generating xxx.cod file and xxx.jad file. As cod file is 260KB, there are sibling cod files in it, they are xxx.cod, xxx-1.cod, xxx-2.cod, and xxx-3.cod, but the jad whic is generated contains RIM-COD-URL parameter from 0 through 9, and RIM-COD-Size from 0 through 9 and RIM-COD-SHA1 from 0 through 9, even though my cod file is having siblings from xxx.cod to xxx-3.cod. So, I I removed all the above parameter from 4 to 9 and kept only 0 to 3 parameters. Also, i updated the jad file by using UpdateJad.exe utility. And also I modified the RIM-COD-URL parameter from xxx.cod to "http://ip-address/xxx.cod"(full path) and kept the jad and all sibling cod files on webserver. Also, I have followed all the steps mention in this link
Livelink - Redirection.
So, now when I am making the connection from blackberry browser using the Wi-Fi(here my request is not going through the BES, as my service provider doesn't have the BES), I am able to download the application on my blackberry and it is running properly on my blackberry.
SO, with the same url, when my client is making connection from US, with the ATT service provider(I think here request must be going through BES), it is giving the Download failed with error as "Error 907: Invalid COD".
I am not able to figured out the exact problem here, as it is working properly on my side.Here is my jad file on the web server..
RIM-MIDlet-Flags-1: 0
MIDlet-Jar-Size: 193554
MIDlet-Name: xxx
MIDlet-Jar-URL: xxx.jar
MicroEdition-Configuration: CLDC-1.1
RIM-COD-Module-Dependencies: net_rim_cldc,net_rim_bbapi_pim,net_rim_xml,net_ri m_os,net_rim_bbapi_phone,net_rim_bbapi_invoke
RIM-COD-URL-3:
http://ip-address/xxx.cod
RIM-COD-URL-2:
http://ip-address/xxx-2.cod
RIM-COD-URL-1:
http://ip-address/xxx-1.cod
RIM-COD-URL:
http://ip-address/xxx.cod
RIM-COD-Module-Name: xxx
RIM-COD-Size-3: 62160
RIM-COD-Size-2: 28932
RIM-COD-Size-1: 77704
RIM-COD-Size: 95500
RIM-COD-SHA1-3: ae 63 16 e0 a0 6b 0e 98 82 64 34 ea 99 63 cb 62 cc 0f 67 27
RIM-COD-SHA1-2: 6b 94 33 7a 32 23 c5 8b 10 65 7f ed 73 d4 f1 df ec 99 8d 39
RIM-COD-SHA1-1: 7d d5 25 fc 8f 0d d6 57 a3 2f 27 6f ff 2a 06 a0 bb 37 7c ea
RIM-COD-SHA1: 56 c4 f9 44 2b 8a 35 f2 cb 48 78 30 97 6b b0 bb d1 03 9d 1a
MicroEdition-Profile: MIDP-2.0
MIDlet-Vendor: <unknown>
MIDlet-1: ,,
Manifest-Version: 1.0
MIDlet-Version: 0.0
I hope I am clear to you. Any, suggestion will be greatly appreciated. is there any other thing I need to configure in Jad file, I have kept only jad and cod files on web-server.
Thanks and waiting for your replys...