Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-05-2012 09:51 PM
To distribute my BlackBerry application over-the-air (OTA) in the past, I would package my main application, MyApp, and package a linked library application, MyLibrary, containing the main application's resources separately. Then, I would copy the COD/JAD files from the library application into the same directory as the COD/JAD files of the main application and run UpdateJad.exe on MyApp.jad and MyLibrary.jad. At that point, I would upload all of the files to my web server (with the correct .htaccess file) and I could download my application onto devices with no problem.
That was some time ago (one to two years). Now, I'm updating my application and trying to do it again. I notice, however, that when I package my main application, Eclipse generates COD/JAD files for BOTH the library application AND the main application in the same directory of the main application project (deliverables>Web>7.1.0). I don't believe this happened in the past. That directory now contains:
Now, I've tried uploading my application several ways, and each way yields a "907 Invalid COD" error:
But nothing works! However, if I install the app via MyApp.alx through BlackBerry Desktop Manager, it works. Does anyone know what might be going on here?
Solved! Go to Solution.
11-05-2012 10:56 PM
Update: I am receiving the same error for OS 5/6 versions of my application too, which do not have a linked library application. All I am doing is uploading the generated files to a webserver, and pointing the device to MyApp.jad. I receive a "Download Failed" for reason of "907 Invalid Cod". Did something change recently in terms of specifying the following in an .htaccess file on the web server?
AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType application/vnd.rim.cod cod
11-06-2012 04:10 AM
I might depend on how you configure the system, but I have found the the ...._full.jad is just that, a full jad which already includes the cods for the Library and the main application. I don't know if this was a recent change since I have only recently moved t using Eclipse. So try the ..._full jad.
Not sure about your OS 5.0 issue, let us resolve the other issue first.
11-06-2012 09:12 PM
I believe that I have resolved the issue. I realized that I was having problems uploading files to my webserver over the past couple of days using my standard FTP clients. Once I uploaded the COD/JAD files to another web server, the download and installation worked with no problem (using MyApp_full.jad).
I appreciate your quick response to help!