Problem in brother Cod files

Hello

When I try to connect with bb browser .jad file, the following message invites you to the screen ("resource not found, foreign - 1.cod: 404-NotFound").

Our MobileTrader.jad file looks like this...

Manifest-Version: 1.0
MIDlet-Version: 0.0
MIDlet-Jar-Size: 413084
RIM-COD-URL-4: MobileTrader - 4.cod
RIM-COD-URL-3: MobileTrader - 3.cod
RIM-COD-SHA1-4: 04 af 3 b 80 27 64 1 b BC 8B a4 70 14 a2 eb cd 40 0f b7 58
RIM-COD-URL-2: MobileTrader - 2.cod
RIM-COD-SHA1-3: a5 c2 f6 25 64 be 61 f9 0f e9 04 1 d 19 54 61 19 80 d2 f4 c0
Microedition-Configuration: CLDC-1. 1
MIDlet-Jar-URL: MobileTrader.jar
RIM-COD-Module-dependencies: net_rim_cldc
RIM-COD-SHA1-2: 15 5th 41 b4 d6 47 40 64 b2 86 16 2A 82 40 20 30 67 f6 e4 c6
RIM-COD-URL-1: MobileTrader - 1.cod
RIM-COD-size-4: 51400
RIM-COD-SHA1-1: 05 38 86 b9 a5 ae 5 c 1 c 65 69 ca 27 64 4 55 21 20 63 f7 ba c
RIM-COD-size-3: 42708
RIM-COD-size-2: 56352
RIM-MIDlet-flags-1: 0
RIM-COD-Module-name: MobileTrader
RIM-COD-size-1: 26316
RIM-COD-size: 70672
MIDlet-name: MobileTrader
RIM-COD-creation-Time: 1231332853
MIDlet-1:.
RIM-COD-URL: MobileTrader.cod
RIM-COD-SHA1: 15 8 a 06 0d 80 0 b 00 97 a1 11 3d 8 d bf 98 36 87 39 94 22 c2
Microedition-profile: MIDP-2. 0
MIDlet-vendor:

There are 4 files brother MobileTrader - 1.cod, foreign - 2.cod, foreign - 3.cod, 4.cod, MobileTrader

Howand why these brothers are generated?

What is the way of these brother files?

How can I remove the reference of this brother files?

Please help me!

When you compile your project in JDE there is a big cod generated file.

Rename the file a zip file cod.

Unzip it.

Remove this zip file.

You have now all the files of cod brothers together.

Place them on the server with the jad file.

Tags: BlackBerry Developers

Similar Questions

  • Mismatch in number of brother COD files

    I'm developing an application of BB. Because my application size is more than 64 k, compiler generates a zipped file of COD. When I check the JAD file it has reference to 8 records of COD brother named in the order as "MyApp.COD", "MyApp - 1.COD '... "MyApp - 7.COD. "But using WinZip if I extract the zip COD file then I could see only 7 brother COD files named in the order as MyApp.COD", "MyApp - 1.COD '... "MyApp - 6.COD. At the same time for another test application, we found the County in the JAD file and extract the files of brother COD to be identical. Could someone please help me understand why this is so?

    Thank you

    Abees

    If your app * never * needed 8 files and you reduced to 7, the JAD will always reference this 8th file until it is deleted and recreated.

    A good practice, you should remove the JAD file before making your production build.

  • How to download the app and extract the brother .cod files that it contained by program

    Hello

    I want to download and install a new version of my application programmatically.  I read the messages where all the .cod files application including .sibling .cod files are downloaded separately.  Is it possible to simply download the application file, for example Main.cod and extract all the brother .cod files contained (hand - 1.cod, hand - 2.cod)?

    Thank you

    Not sure that understand this issue.  Given that you have already unpacked all the brothers and sisters, then you know how at the server level and can provide information, your application can query.  Your application can read the jad file, or as the naming convention is well known, your application could try to get cod files with a suffix growing until it breaks.  Is that what you were asking?

  • Problem signing my COD file

    I signed up for the signature code and received 3 *.csi of BB files. I followed all the instructions and saved each CSI file according to the instruction. Each of the 3 files has been saved successfully.

    I'm using RIM BlackBerry JDE 4.6.0 and JDK1.6.0.

    I have windows vista installed as an operating system.

    I have also NetBeans 6.5.0.

    Now in my C:\Program Research In Motion\BlackBerry JDE 4.6.0\bin he following files

    1 sigtool.db

    2 sigtool.csk

    Now when I go through SigningTool or JDE to sign my COD file then it shows some files require signature. Now when I click on request or to revoke , and then it displays "Cannot request signatures until this application has been registered with sign all necessary authorities."

    Accoding to all the post I have searched on BB forums, you need all these things for the signature, I have and still I am facing the problem. I have even sent to BB Dev Support but still no answer, sound very very slow in response.

    Can someone please help me on this...

    Thanks for any help in advance!

    The lines in sigtool.db of signing authorities three default of RIM should look like this:

    RBB=123456789http\://www.rim.net/Websigner/servlet/BBAppsRRT=555555555http\://www.rim.net/Websigner/servlet/RuntimeRCR=987654321http\://www.rim.net/Websigner/servlet/CryptoRIM
    

    The 123456789, 555555555 and 987654321 are the customer ID under which you are registered with the appropriate signing authorities. Usually, you have the same ID of client for signing authorities three above the RIM.

    If you well to activate your. Files CSI (sent by RIM) correctly (your private-public key pair contained in the sigtool.csk has been correctly generated and the public key has been saved with the RIM in the process), then you should be able to manually recreate the sigtool.db. Find an e-mail with the. CSI files and customer ID finds the names of the clips. CSI files. The files are named as follows: customer-RRT -.csi. Then recreate the sigtool.db using the above model and your client code.

  • Problems with the .cod files

    Hello

    I'm selling my app in MobiHand but I'm having a problem downloading my app to download.  I am trying to download my .jad and .cod files but I get this error message:

    "Some of the COD files mentioned in the JAD file, are not uploaded"

    If I look in my .jad file I can see a reference to a - 1.cod beside that file: RIM-COD-URL-1:

    I read that if you change the extension of the .cod file in a zip file, you can then extract other .cod files.  This has not worked for me. I have only 1 file of cod in my build directory.  I use the eclipse plugin.

    Thanks for any help.

    Make sure you are deleing files JAD and cod before making your build of 'production '.

    If you app has crossed the line of 64K at a time, then came back, your JAD will still retain this obsolete reference to the unused COD file.

  • Problem signing my cod files

    Hello

    I have a recent issue with the code signing tools, it continues to run until it crashes and I have to run several times to have my code signed once. I'm working with a colleague on the same project and we have different computers (32/64 bit), so I guess that it is not bound to the system.

    Thank you

    The solution is to use the Runtime Java 6 or an earlier version and a 32 b version (I was on JDK 1.7)

    Best regards

  • Problems of the JAD and COD file

    I was testing a blackberry app and it installed without any problems. I made some changes to code today and he stopped same download to the device correctly. After some digging around in the .jad file, I noticed it's all suddenly you're looking for a brother COD (NomMonProjet - 1.cod) file although this cod file is not created when I build the project. Now, I can't get the app to install at all (it works well in the emulator).

    Any ideas as to why this started happening and how I can fix this problem?

    Sorry guys, tried to search the forums for this and found nothing. Problem was I didn't know what to look for. I finally got the app to download and got an error 907 invalid COD . A search on that quickly gave me my answer. I added an image that made the application to big - brother COD file creation and makes it impossible to install over the air.

  • Why multiple COD files?

    Hello world

    I have compiled a little test app for WebWorks 7.0 and I noticed that there are 6 COD and a JAD file in the OTAInstall. Why are there so many COD file? Should what files I try to install on my device 9900 7.1?

    Kind regards

    Alon

    Hello Alon,

    This has to do with the maximum file size of COD:

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/the-maximum-size-of-a-BlackBerry-smart...

    Specifically, one COD file is limited to 64 KB of source code and 64 k of resources; These two pools of space cannot be shared (i.e. space unused resources not be used as the source code.)

    When one of these limits are exceeded, a new COD file is created to contain the content remaining, to a maximum of 127 files brother COD.

    If you look at the standard install COD file, you can actually open this COD file with an editor of the archive (WinRAR, WinZip, etc.) and you will actually find the same files from brother COD contained in the larger cod file. In reality, this large COD file is actually just a renamed ZIP file containing all the COD files.

    So, why do this?

    Well, when the biggest (archive) is installed via USB, Desktop Manager and command line tools know to provide each COD file in the sequence of the archive, and each is installed correctly.

    However, when installing OTA, while some web servers know how to make this communication, often they do not, and if the full (archive) COD is attempted to be installed OTA, it will fail. Even in cases where the server is smart enough to perform this communication, he sends actually archive ENTIRE for each sibling. Meaning:

    • Brother of queries Device #1.
    • The server sends archive entire and device extracts / installs sibling #1.
    • Device queries brother #2.
    • The server sends archive entire and device extracts / installs sibling #2.
    • etc.

    You can see that, to a very large archive with cod of brother a lot, this can cause a LOT of unnecessary traffic. Therefore, if you are hosting OTA, the recommendation is to host the ALX file and all brother COD files that are located in the OTAInstall folder.

    Alternatively, you can DECOMPRESS the ARCHIVE COD and use these cod of brother (as well as the ALX file) as well, but you may NOT host the whole cod of online ARCHIVE.

    All that being said, if you use JavaLoader to deploy, you can actually invoke the command on the JAD file to perform the installation:

    JavaLoader u install myapp.jad

    Similar to OTA, JAD file operation is just a descriptor of all the COD files required for the application text and JavaLoader can use this information to install each file as required.

    There is some information up there, so please let me know if something makes no sense.

  • Install problem COD file

    Hi all

    I know it's important to look for answers before posting and I spent several hours to do.  I found a few related messages, but the solutions did not resolve my problem.

    I have a J2ME application that is fully tested for the game.  It works fine when it is installed as a pair of jad/jar on each Simulator and device I've tried.  And the midlet icon appears in the interface of the phone, just as it should.

    The game uses no RIM specific libraries or modules.  As a jad/jar pair, the same build runs on dozens of non-blackberry devices.  The code in the jar detects that the phone is a blackberry using System properties and the game is its own minor configuration to look nice on a blackberry.

    The next step is to convert the application into a cod file and sign it.

    You use the JDE 6.0, I made a new project, imported the jad/jar and run the Build command.  The cod was created, and accordingly modified jad.  So far so good.

    I have my signature identification information, and once again, using the JDE, I ran request Signatures.  The interface reported success.  No problems.

    The cod file is 207 k and consists of 4 cod files.  I read the instructions for this case and unpacked the cod file in its 4 cod files.  App.COD, 1.cod - app, app - 2.cod, app3.cod.

    I've posted four cod files as well as the jad file on my server, the server apache even where I serve regularly jar/jad files.

    I have triple checked the mime types in the .httaccess file.  Mime types are correct for jar, jad and cod.

    I point the browser on the Blackberry 6.0.0.337 Simulator 9800 to the jad file.  I get the download window with the properties of jad and the download button.  I click Download.  If I do this a second time, I get the button replace, so the Simulator think that the file has been downloaded, in this case.

    It seems that the files are for download.  The watch cursor appears 4 times, probably once for each file in cod.  No errors.

    At the end of the download, I get a message "the application has been installed successfully" and an OK button.  But, no run button, as I get with the installation of the pot.  I click OK.

    I exit the browser and return to the main screen.  There is no download folder.  The game is not in the folder games or Applications.  If I go to Options/Applications, the game is not listed there.

    If I menu click the Options/Applications window, I get: JVM 104 Eception NullPointerException error.  However, I had not yet tried to run the application.  A stack trace turned up a few odd lines:
    UI - EUI no face is detected
    VM - BORK
    However, I do not know what generated those lines or when.

    By the way, I also tried to download the full 207 k cod or in this case, I get the 907 error expected because the jad file is referencing files of cod that the server could not find as separate files.

    I also tried to download other simulators, for example 5.0.0.54 5 9700.  As above, the files seem to download very well and I get the message: "the application has been installed successfully" and an OK button.  On this Simulator, there is a download folder, but it is empty.  The game is not in games or in the Applications folder.

    On this Simulator, I go in the Options/Applications, and there is an entry for my game.  The title of the game is OK, but there is no icon.  I opened the entry and get title properties and a delete button.  There is no run button.  It shows the installed date and another button for the properties of the Module.  It also shows the size correctly and the signatory IDs.

    I also tried this procedure on a physical device, the AT & T 8300.  I had the same behavior as the 9700 Simulator.  Again, there is no problem with installation of the jad/jar.  The problem is with the jad/cod/COD-1/cod-2/COD-3

    Why is - this game appearing to successfully download and install successfully but apparently not be installed can thus be run?

    Thank you for your time.
    Alan Weiler

    I think I found the problem.  I skipped a step during the cod using a jar of J2ME as a source of files.

    In the projectroperties:Application panel, I do not enter the name of my main class name of the Midlet main class field.  Apparently this area causes the main class to be the entry point.

    With the class entered into this field and re - build the cod file and new signing, I was able to download and run the game on a device.

  • Problem with the conversion of Midlet (jad/jar) cod file (Jasymca 2.0)

    BB Storm last official OS.

    There is this wonderful program called Jasymca 2.0 which is a combination of programs of mathematics MATLAB and MAXIMA of high-end (subset to fit) and written in J2ME as a MOPED. To see a demo of it, go to http://webuser.fh-furtwangen.de/~dersch/jasymca2/indexEN.html and click on demo on the left. It's quite impressive... able to make the symbolic math and math matrix among others. The ultimate calculator for a PDA... and the best I could find out there.

    The only problem is that it is written in J2ME as a MIDLET and the runtime is stored as a combination of jad/jar. Now, I tried the standard conversion using the CAP as follows...

    CAP import = "C:\Program Research In Motion\BlackBerry JDE 4.7.0\lib\net_rim_api.jar" code name is jasymca-midlet jad is Jasymca.jad Jasymca.jar

    It seems to work very well. There are a few warnings about unused variables, but that's fine. The last line was "No Errors".

    .. .and he left me with a file .cod 229K

    When I insert it in my blackberry through javaloader, it loads very well.

    However, when I look in my download directory I 2 files related to Jasymca and not running.

    I suspect that it is because the cod file is too big. Is there another step I can do for the cod of the loadable file?

    Any help is appreciated.

    Thank you

    -Donald

    It takes more time than I expected.

    There is a preprocessor directives in the source files and to leave JDE to understand these guidelines, I need to modify the jdp.

    I stopped the investigation

    But I will say that I found.

    icons and data files must be located in the default folder.

    If the root folder of the package is src\

    path of the icon should be: src\myicon.png

    for now the icons are located in the src\icons folder

    in this case the image files are not accessible from the BlackBerry App.

    The second: there are some files showed up as the symbol file name first.

    JDE does not add these files to the project.

    I think that the best way would be to contact the developer of Jasymca and talking to him about the Jasymca and porting for BlackBerry

  • Api secure / 64 k .cod file still a problem?

    Hi all

    Got a soft but that will not be installed out app world after a change of logo, works perfectly when put on a device directly. Check the signature and all is good. Change has however led to the latest being 64 k .cod file.

    Is this even a question?

    No idea how to get incident developer support by phone rather than simply email? It is business critical and I need a new version approved sooner rather than later if possible to fix this.

    OK, the new version is active and has solved the problem.

    It does not include an image added to the directory of resources, change the last .cod file size, but I don't know if it was the fix.

    Thanks for all the help!

  • Problem when u - save the *.cod file using javaloader.exe

    I have a project for coding in c#.

    When I runing comand u save using javaloader.exe and then only to save file to the same folder as javaloader.exe .cod.

    So, how can I save to a different directory (folder).?
    Please tell my way. ! Thank you very much. !

    Yes, thank you replied.

    Now I got it in c#, I used the "FileInfo" and "MoveTo" properties

    Affter all recorded the *.cod file in the same directory with javaloader, I call "MoveTo" to move all in my repertoire *.cod file (file made by myself).

    That's all

    Code:

    for (int j = 0; j)< dem;="">
    {
    String filename = list_modules. CheckedItems [j]. ToString();
    FileInfo info = new FileInfo (path1 + "\" + name + ".cod");
    info. MoveTo (path2 + folder_name + "\" + info.) Name ());
    }

  • Problem with cod-file

    Hello

    Just know I want to sign my cod file and run the signature tool in my eclipse, there I found 119 cod-files. They are all mentioned as projectname.cod till projectname - 118.cod.

    Can someone explain whence these cod-files? I did something wrong?

    Best regards

    Cod files are allowed to have 64 KB for the code and 64 KB for resources.  If your project is larger than that, it is split and zipped a cod file.  Eclipse also, lists your cod for each API file that requires the signature (for example you will see a separate list for RBB, CPR and RRT)

  • Problems with CAP and multiple cod files

    Hello!

    I had a MIDlet that I'm trying to convert a cod file using the compiler CAP. The original jar file is 169 KB, maybe too big file a Cod. I use the following command:

    Import the "C:\Program Files (x 86) \Research 4.6.0\bin\rapc" = "C:\Program Files (x 86) \Research 4.6.0\lib\net_rim_api.jar" codename = xxx-midlet jad = yyy.jad yyy.jar

    The CAP program seems to work ok and produces the following 5 files:

    xxx.jar 18 kb, contains images, manifest etc.

    xxx. COD 147 KB

    xxx. CSO 1 KB

    xxx. Debug 127 KB

    XXX - 69 KB 1.debug

    Also, it changes my JAD file and adds the following:

    RIM-COD-Module-dependencies: net_rim_cldc
    RIM-COD-URL-1: xxx - 1.cod
    RIM-COD-SHA1-1: 52 83 e9 c7 6th a1 ad a6 5f bc 8 b 9 b 07 b1 04 53 49 ca 46 fd
    RIM-COD-size-1: 59208
    RIM-COD-Module-Name: xxx
    RIM-COD-size: 90108
    RIM-COD-creation-Time: 1231858243
    RIM-COD-URL: xxx.cod
    RIM-COD-SHA1: 2d 2 b 72 c5 a3 68 03 ed be 22 fa df 41 05 c0 0e 48 8 a 77 ec

    But it does not create a file xxx - 1.cod, or at least I can't. Of course it takes a... Looks like the xxx.cod file is too big also. This installation live does not work. Y at - it an option to indicate the CAP should create several files of cod? I cannot find a reference on CAP documentation, is there another way to create a cod to jad/jar file (s)?

    Erik

    Seems that CAP created a file of large cod with brothers and sisters inside.

    Rename the file zip cod.

    Unzip it. Remove this zip file.

    You have now all the cod files.

  • Windows Media Player does not. I get the message "Windows Media Player encountered a problem while playing the file. For any additional help click web help. »

    Original title: Windows Media Player does not

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    I have Windows XP Professional and have tried playing the CD through Windows Media Player. I get the message "Windows Media Player encountered a problem while playing the file. For any additional help click web help. "Then I do. Nothing here helps me. The player shows all my music but puts little red x showing that he can't play. Help! I downloaded version 11 of Windows Media Player, but it is saying the same thing.

    Thank you.

    Hello

    1. don't you also get an error with the message code?
    2 have you installed third-party readers part?
    3. What is the format of the files you are trying to play?

    Follow these steps and check if they help.

    Step 1:

    I would have you readers of third party temporarily Uninstall and check if persists it to the question.

    Step 2:

    Most likely you need codecs to play these files with Windows Media Player. I suggest looking up codec in the Internet that supports the file format, download and install them.

    See also:

    Player Windows Media for Windows XP supported Codecs

    WARNING OF THIRD PARTY
    Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    See also:

    Windows Media Player Error Message help

    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

Maybe you are looking for

  • intermittent problems / macbook air 2015 250 GB/8 G RAM / Yosemite 10.11.5

    Hello world I have intermittent starting problems. Technician at the shop said that it is important to reproduce the problem so that they can provide recommendations for repair. This mac is still under warranty and if I want to do the repair, it must

  • can't see the hidden files option change

    I have my old laptop computer hard drive connected to my new. I want to import my favorites but can not find the file because it is hidden. When I try to access the file options and click on 'See the hidden files', apply, then OK, the folder appdata

  • HP Envy: question of processor compatibility

    I have a desktop HP h8-1534, AMD 6 hearts FX-6200 3.8 GHz, 8 GB of memory MOB is M3970AM-HP (Angelica2) by type of Gigabyte Chipset AMD 970 and Socket: AM3 - b.  I can it switch to a FX 6300?

  • Songs disappeared all of a sudden

    Hi, I have this weird problem where the "rocket" froze on a song and all the songs in the internal memory stopped then appear in the drive or on the computer. I think the songs are still there but because he said 2321 free/3888 MB. I also had a video

  • Product code for Toshiba for Windows Vista, or a re - install

    I have a PC laptop Toshiba L305-S5955.  Somehow, I uninstalled my Windows Vista (32 bit) and in moving from miss place my drive. Can someone tell me how to recover or get product code? Thank you, Beverley