Distribution of 3 OTA cod files.

Hi all

I've set up BBM dependency checker, now I have 3 files of cod as MyApp.cod, MyAPPImpl (library) MyAppInterface (library).cod, .cod.

Now I want to distribute the application during the OTA, I tried with "UpdateJad MyApp.jad MyAppImpl.jad" (because these two are dependent on MyAppInterface).

But he can't, it's showing the required interface.

How can I distribute my app on OTA?

Additionally, assume that if I want to submit the app at AppWorld, do I have to submit three cod files?

Please help me.

Thanks in advance.

You can add multiple cod files in a single jad.
You can do the same thing with the alx to reference libraries for appworld. and Yes, you must submit all the cod I guess.

Tags: BlackBerry Developers

Similar Questions

  • How to use the ota installation cod file

    Using the webworks platform, we have the standard and ota install files, I need to know how the cod in the ota installation file can be used.

    Put the web in an accessible location OTA files and point the browser on your phone to the URL.

    That is to say.

    If you download the OTA cod files in a directory named "/ ota/appname" on your server web you acceding to http://your-url.ca/ota/appname/cod-name.cod in the BlackBerry browser to install the application

    Rory

  • The OTA installation and large. COD files

    Hi, I'm new to the Blackberry development. I am developing a small image editing app for Blackberry and planning to distribute them using my site (OTA). The problem is that my .cod file size is about 500 KB. I've searched the forums and some suggested to break large cod in several smaller files of the Cod. But exactly how do I do this? Thank you

    All you need to do is open the COD file in a program like WinZip archive and extract the files.  It's just a zip of the rest of your COD files.  Note that the cod inside firstsibling file will have the same name as the parent COD file, so make sure that extract you it in a different directory.  If you use the BlackBerry Java plug-in for Eclipse, all you need to do is deploy the files in the directory JAD.

    You can read a bit more info on that here: the limit file size of wireless downloads

  • How to merge two code files ksoap2.cod and Application.cod for the Distribution of the Application

    Hi all

    Can someone give me the steps defined in combile two .cod files? Because my client told me that we cannot distribute two as a single application .cod files. Is this good?

    If it is not possible to give me the steps to give the reference to combile two (ksoap2.cod and Application.cod) the .cod files in a .jad file.

    Thanks in advance,

    TEJ

    «the my client told me that we cannot distribute two as a single application .cod files.» It's just ".

    No it's not correct.  Each file of cod being limited to about 64K, if all applications had to be a cod, then things like App World which when I looked last was more than 500 KB, would not be a single application.

    Normally, you distribute applications like jads to download OTA or alx for Desktop or BES installation pushing.  Both these have methods to include several cod in the package.  Please see the developer's Guide for more information, section "packaging and distributing applications.

  • cod file installed on the BlackBerry smartphone by OTA, error when starting Application

    Hi all

    I have devloped Balckberry app using Sybase Unwired Platfourm 2.0.

    I install all the required files depend on cod three (CommonClient, sup_client_rim, UltraLiteJ) with my main Application using the JAD file.

    Apllication is installed successfully with the three modules, but when I run Application, it gives the following error.

    Error starting of RR: Module "UltraliteJ-3' attempts to access the API blocked.»

    ((when I install all dependent files (CommonClient, sup_client_rim, UltraLiteJ) COD using Desktop Manager, Application works very well.))

    I had signed all the cod files installed on the device.

    Here is my jad file.

    MIDlet-name: RR
    MIDlet-Version: 1.0.0
    MIDlet-vendor: BlackBerry Developer
    MIDlet-Jar-URL: RR.jar
    MIDlet-Jar-Size: 226631
    Microedition-profile: MIDP-2. 0
    Microedition-Configuration: CLDC-1. 1
    MIDlet-1: RR, images.jpg.
    RIM-MIDlet-flags-1: 0
    Manifest-Version: 1.0
    RIM-COD-URL: RR.cod
    RIM-COD-size: 67308
    RIM-COD-creation-Time: 1322626069
    RIM-COD-Module-name: RR
    RIM-COD-Module-dependencies: net_rim_cldc, sup_client_rim, UltraLiteJ
    RIM-COD-SHA1: ee 06 5 c 50 6f 4 c 1 3 a 0 b 68 53 12 6th b1 70 a1 a7 df e4 f9
    RIM-COD-URL-1: RR - 1.cod
    RIM-COD-size-1: 26984
    RIM-COD-SHA1-1: 8 b 98 42 9f 44 0c 98 31 57 6 c 18 a0 d4 28 47 bf 92 cc 2 c 6B

    RIM-COD-SHA1-2: ba e1 89 79 00 39 5a1 has 49 6 49 55 94 eb 7f 2 c 0f 99 c4 a2
    RIM-COD-URL-2: UltraLiteJ.cod
    RIM-COD-URL-3: UltraLiteJ - 1.cod
    RIM-COD-SHA1-3: 5th 6 7f 60 82 68 15 07 fb fe bf 4-6 c fd 8 88 c a 7, 4 b f0 c6

    RIM-COD-Module-dependencies-1: net_rim_cldc, net_rim_os
    RIM-COD-URL-7: UltraLiteJ - 5.cod
    RIM-COD-SHA1-7: 2d 81 8A cd d4 4B 3f be 20 6B ad 01 f 30 d6 ba c1 e5 59 4 b
    RIM-COD-URL-6: UltraLiteJ - 4.cod
    RIM-COD-SHA1-6: 07 e5 0e fa 47 80 bd ad 12 93 32 87 05 e7 c5 70 83 9f 14 a0
    RIM-COD-URL-5: UltraLiteJ - 3.cod
    RIM-COD-SHA1-5: 5 ch a0 bc 59 70 0f 9 b 53 23 44 ae eb d9 f3 d3 2nd ec 09 c3
    RIM-COD-URL-4: UltraLiteJ - 2.cod
    RIM-COD-SHA1-4: this c6 d6 70 18 df f6 29 9 b 91 e4 d3 fb 5f ea be 13 35 61 06

    RIM-COD-URL-8: sup_client_rim.cod
    RIM-COD-SHA1-8: b9 b2 98 79 9f 2f 4 d 6 b 3f c2 d5 13 57 47 42 7 b f4 70 a0

    RIM-COD-URL-9: sup_client_rim - 1.cod
    RIM-COD-SHA1-9: 51 8 b 23 f1 ff 61 64 16 49 23 4th c6 89 63 4 ad d c2 29 d0 bd

    RIM-COD-Module-dependencies-2: net_rim_cldc, UltraLiteJ, net_rim_os, net_rim_satsa, CommonClient
    RIM-COD-URL-10: sup_client_rim - 2.cod
    RIM-COD-SHA1-10: 59 27 3rd d5 33 83 70 f8 c4 d8 92 7B e5 51 37 09 70 56 c2 bf

    RIM-COD-Module-name-3: CommonClient

    RIM-COD-Module-dependencies-3: net_rim_cldc, net_rim_crypto_1, net_rim_crypto_3, net_rim_crypto_2

    RIM-COD-URL-11: CommonClient.cod

    RIM-COD-SHA1-11: ef 7 has da 29 08 66 f5 22 63 ef 63 9 b 46 5f 3 a 3 b 84 d1 ae 6 b

    I got extect all files in jar files.

    PLS, someone has a clue what the problem. ?

    Thaks and regards.

    Hi @hmorzariya,

    I see two options:

    1. the 'UltraLiteJ - 3.cod' the file has not been signed with success.

    2. the "RIM-COD-SHA1-5' does not match."

    3. the size of the cod is missing.

    Signed the file on your own?

    I think you might need to update the JAD after that you sign the COD file...

    E.

  • SignatureTool the corrupting cod file

    I'm deploying my application OTA and I am required to sign the cod, rename it to zip and unzip it to the directory of my url. The problem is that my SignatureTool seems to be corrupting the file of cod resulting in a compressed file can not be unzipped. If I don't sign the cod file and go through the process, I can successfully decompress the zip file and install the application, but then I can't run the application because of unsigned files.

    Also, when I opened the SignatureTool after having signed it, I receive «The Version of the code file does not match the version of SignatureTool.» Contact RIM. "I have to clean up the project and re - build the project until I'm able to run the SignatureTool again.

    If it makes any difference, I use the BB plugin in Eclipse and develop the OS 4.3 +.

    Any suggestions?

    I've been using Eclipse 3.4.

    After discussing with the support of the RIM and try a new set of keys, we discovered that my sigtool.jar must be corrupted. So I do a complete reinstallation of Eclipse.

  • Each bitmap in the COD file extra resource

    Hello

    JDE generates an additional COD file for each bitmap resource, which I have added to the project. Their names are project - 1.cod, project - 2.cod, etc. Is their way to include these additional catches of cod in the default COD file that is just project.cod?

    I do not; I think that once you exceed a certain size of a COD file (64 KB), it begins to chunk the COD upward into pieces. It's fine, when you deploy OTA or whatever, the phone will re-install the parts and all goes well.

  • 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.

  • .cod file is not proceed with the installation correctly (programmatically)

    Hi BbExperts,

    I took a .cod as a resource file in my application and wants to install this .cod programmatically.

    My .cod file size is 429266 bytes, which is why I couldn't install it directly coz of size so I used the OTA (brothers and sisters of the main .cod) file in a table and install them one by one, by using CodeModuleManager.

    I post here my sample application:

    String [] codArr = {"" / MainApp.cod "," / MainApp - 1.cod ', ' / MainApp - 2.cod "," / MainApp - 3.cod "," / MainApp - 4.cod "," / MainApp - 5.cod ""};

    for (inti = 0; i)< codarr.length;="" i++)="">

    try {

    byte [] cod is IOUtilities.streamToBytes (getClass ().getResourceAsStream(codArr[i]));.

    create new module

    int newHandle = CodeModuleManager.createNewModule (cod.length, cod, cod.length);

    install the module

       if (newHandle! = 0) {

    int savecode = CodeModuleManager.saveNewModule (newHandle, true);

    if (savecode is CodeModuleManager.CMM_OK_MODULE_OVERWRITTEN)

    System.out.println ("operation completed successfully");

    }catch(IOException e) {}

    e.printStackTrace ();

    }

    It is installed but not able to run it.

    Is this approach is fair, or should I try another approach.

    Guidance in this regard will be highly appreciated.

    Thanks in advance...

    try to install the last cod first

  • Eclipse create .jad and .cod files

    According to the documentation I've seen, OTA installation from a Web site is to place the files application.jad and application.cod on a server to direct the BlackBerry device to this location.  My preliminary test indicate that it works as advertised.

    However, I find that Eclipse creates an application.jad file that references a request file - 1.cod, but at the same time only creates the file application.cod.  Of course, when the device will the url and inspects the .jad file, it tries to find the file application - 1.cod!

    What is causing this to happen and how I fix without manually open the .jad file and inspect everything I want to publish?

    Thank you

    Ouch!

    I looked at me directory and of course, the cod file was more than 64K.  If you tell me that once it is greater than 64K isn't really a cod file, but in fact a zip file?  To deploy, I need to decompress the file and place the actual cod files in my site url?

    I was skeptical, but it seems to be as you described.

    Thank you for sharing this tidbit.

  • Cod files... cameraes?

    Hi... another guy...

    I download my file of cod to the app portal provider I select only 1 file... but in the supplier portal cod show me... 4 files... this its ok? Cod size its 231KB...

    When your code and greater than 64K data segments each (128 total K), the compiler busts your COD files upwards into pieces.

    If you rename your global file of cod to the ZIP extension, you can decompress individual files of cod. They will be called myprogram-1, myprogram-2, etc.

    It's normal. Download OTA, you should always unzip these files.

  • How to make a jad file and cod file to a single file for hosting on the web server

    Hello

    I want to make the jad file and cod file is a single file, which must be installed in the blackberry.

    When I load the jad without cod file file, it loads the app

    but when I load the jad file cod file, it loads the application on the blackberry device.

    I only want a single file to be uplaoded to the server for the installation of the application.

    Help, please

    I want it to install the web server to the BlackBerry smartphone.

    Thanks and greetings

    Anthony singh

    This is not possible, that both jad and cod is necessary to install an OTA application. the jad file contains a description of the application, the cod is the real application.

  • JAD params of the reading of the JAD file that is changed after the cod file is built?

    Hello

    We have a requirement in which, you must change the jad file, after the cod file is generated.

    But when I try to do is not able to read the newly added params to MIDlet.getAppProperty() . He can read the jad attributes that were there in the jad file before creating the cod file.

    Example:

    existing JAD has "KeyA" whose value is "A." Now package for the project and generate the blah.cod file

    Add a parameter more "KeyNew" with the value "ValueNew.

    Print the source MIDlet.getAppProperty("KeyA") andMIDlet.getAppProperty("KeyNew")

    Step 1. Existing.jad

    KeyA: A.

    Step 2. Build the cod

    Step 3. Add another parameter to Existing.jad

    KeyA: A.

    KeyNew: ValueNew

    Step 4. Existing.jad of charge using javaloader.

    load Javaloader u Existing.jad

    Step 5. Run the application

    Actual output: it prints only a. and not ValueNew

    I read that this is possible in JDE 4.3 + and I'm working on JDE 5.0

    Help, please.

    ~ Joey

    Apparently it only works if we install the Jad with Javaloader file. Having an installation OTA of the Jad file works.

  • How update you an application installed with the Blackberry Storm update .cod files?

    Hello

    I was sent to some application software for my Blackberry Storm 9500. I managed to install the basic software using the BB Desktop Manager normal software, however, there are four files as sitting there, that look they are there to install, update the software - records are different on different BlackBerry names "4.2.1", "4.3", "4.5" and "4.6" - my knowledge limited, I think that this refers to operating systems...

    I guess I would need to install the file 4.6 .cod file, however, I just can't handle it all. The Director of the office, I can only try to update o/s handset, but I can't actually update individual applications that I see!

    Can someone tell how to do this, because he's completely beat me? Be nice... I'm new!

    the alx file is only a link to the file of the Cod. DM load the alx file, search for information on the cod and load the cod on the device.
    In cod, it has compiled software.

    Installation of OTA is similar. The jad file contains settings and links to the cod file.

    The javaloader.exe (comes with the JDE) you can install cod files directly.

    There is also an activeX plugin (which uses javaloader) to load the cod files on a device.

  • multiple cod files appear at signing - app installs

    Hello.

    As shown in the picture below, when I connect my BB app, multiple cod files appear. I would like to know how I can remove additional cod files, since I'm not able to install the application to all the

    any help will be appreciated

    When you perform an OTA you must copy created cod and change the zip extension. Extract the cod shipped and download those individual on the server with the jad download.

Maybe you are looking for

  • Satellite C660 - 23 M: Volume OSD works not under Fn Key + 2 or 3 using Win7

    I have a satellite C660 - 23 M and have recently reinstalled Windows 7 to get a clean install without bloatware. I installed the utility Support Flash Cards and value-added products and, on the whole, the functionality of the keys Fn + F OK work and

  • HP Pavilion g6 - 1219sv SSD Upgrade

    I want to improve my laptop (HP Pavilion g6 - 1219sv) with a SSD hard drive. Y at - it suggestions on the model which works perfectly with my system?

  • Activation problem with Windows Vista Home Premium 64-bit edition

    Recently, I had a problem with my office that was running Windows Xp Pro.   After having tried to reformat the computer with my installation disc, something was holding me back upwards.  Thus, recently bought a laptop with Windows vista on it I used

  • Error - made GPU make impossible frame of process Error.

    Not only am I dealing with the black bug in the source monitor, I can't yet release h264. Why do we pay a tax per month for software in beta (at best) again?-------------------------------------------------------------Encoding Time: 00:05:2020/07/201

  • GROUP

    Supermicro X9DR3-F / LSI MegaRaid 9271-4i / ESXi 5.5.0 Release build-1331820, September 18, 2013 23:08:31 x86_64 GNU/LinuxRAID10, install 4 - R2 2012 Windows VMS and after a while (a few hours) a CMTF - PF 14 ExceptionIts a bug E1000E and I350 Gigabi