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.
03-08-2010 02:12 PM
I develop applications for Blackberry devices and I always built the .cod, .jad, .alx and .jar. They work fine if I pass the application using the Desktop Manager. But I don't know why I can't download them by GPRS. My company has a GPRS server and we can download .jad and .jar files to other devices like nokia, sonyericsson, motorola, etc.
I tried using .jad and .cod file to download application and I get an error "Invalid COD: Unable to import ZIP file". I tried using just .jad and .jar and I get the error on the subject of this post "Invalid JAR: bad local file header". I tried this on at least 5 different applications and they all give me the same error.
I really need to use only the .jar and .jad file to install the application, because some of our clients only accepts these files. Is it possible to install an application only with .jar and .jad??
I already read this knowledge base article:
I couldn't find a solution there, and I checked all the topics.
I tried downloading the application on BlackBerry Bold 9000 with v18.104.22.168 (platform 22.214.171.124) and also tried on BlackBerry Curve 8520 v126.96.36.1992 (platform 188.8.131.52). I tried building the application with JDE v4.6 and v4.0. None of this worked.
Can anyone help me with this problem?
Thanks in advance.
03-08-2010 04:40 PM
You need to use the JAD + CODs method. The COD file generated by the JDE needs to be unzipped and the unzipped (COD) files and the JAD file should be made available for download.
03-09-2010 07:01 AM - edited 03-09-2010 08:56 AM
The problem is I really need to use only .JAR and .JAD. I tried with smaller applications and I managed to install them fine. The first one I tried, the .JAR had 3KB. The second one, it had 93KB. They both downloaded and intalled fine.
I tried what you said, unzipping the "master" .COD and placing all unzipped cods with the .JAD. It worked fine too. But I really need to manage doing this only with .JAR and .JAD. It is possible, isn't it?
Update: I tried now with an application of 284KB and it worked fine too. It seems to have problems with applications bigger than 300KB. I'll continue to increase the size to find a maximum.