ProjectName - 1.cod in the JAD file

Hi all:

I can install my application using the Desktop Manager, and it works well.

However, when I try to install the application by using OTA, in the jad file, there is a line like this:

RIM-COD-URL-1: ProjectName - 1.cod

It has always failed because my cod file is ProjectName.cod, not ProjectName - 1.cod.

Can someone help me?

Thank you!

I suggest that you remove the file jad the directory where it is created by the JDE, then re build yourapplication.  This will force the JDE to rebuild your jad and you will probably find that he decided that your cod hasn't needed a child file from same parents.  From my experience, the JDE does not rebuild (but a few updates) the jad when you recompile.

What level of JDE do you use?

Tags: BlackBerry Developers

Similar Questions

  • RIM-COD-SHA1 value to the jad file will not be checked during the on air download

    Hi, expert,

    I'm trying to see if the 2 following properties espeically the sha1 either activated or not during the over-the-air download of my aplication:

    RIM-COD-SHA1: 8 b 11 58 and 6 d 94 ee 4 c 94 27 09 57 95 1 b 1 c 80 2 b 45 38 f8 f7
    RIM-COD-size: 68020

    So I modified the value of sha1 of my jad file, to my surprise, actually the download will not check it at all and download was successful.  Actually the RIM-COD-size value is not matching the actual size of the cod file so. I suppose it could be due to some extra bytes added by signing. It is perhaps because of the same reason do not check the sha1 as well.

    But with all this, how BONES would be able to check the consistency between the JAD file and cod in case a COD file is corrupted? From my reading on the web, the sha1 is checked which is different from what I've seen during my obvious tests.

    Moreover, for on the airflow, after the signing, in fact we still use a single COD file that is in the results expected/standard eclipse folder (there is also one of expected/web results, but we don't use it) and then we rename the file .zip and extra cod all these cod file the zip and put all these cod and jad file on our server.

    I'm doing sth wrong here?

    Signatures added at the end of a COD file are not included when calculating the value of SHA1.  It is expected that the SHA1 of the JAD file values remain the same after the signing.

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

  • Download the Jad file and cod

    I discovered that an OTA installation requires a file of cod and jad. Now if I want to download these two files on my website /data/test.jad and/data/test.cod, how can I download the jad on my device so that it installs OTA?

    thanx

    You can use Web browser - open the JAD file url in the browser and the appliance will provide a view with a button to install it on the device.

    Make sure that you have configured on your server mime types, as described in this article:

    What is - required for a web server MIME types use BlackBerry applications

  • How to rename the JAD file to eclipse MIDlet name

    Hi, expert,

    at the present time, our product team asks me to change the product name of the name of one to the other, I changed the title in the properties of the eclipse project and thought that's it. Cod file name was still the same as before.

    Then I discovered that I was wrong. The name options-> list of applications is still the old name. Then I change the COD file name (the name of the JAD file is also modified with it) and thought that I would be ok this time.

    I was denied again. The name on the download of air link always displays the old name and found out that the JAD stll MIDlet-name file has the old name and browser would use this name. Options-> application list, it still shows the old name. So I have to change the name of the MIDlet-name for the new name. However, I couldn't find a way. on the descriptor xml project, there is a tag called MainMIDletName, I changed to the new name:

    However it does not seem to help as well. After research, I found this link, but it does not say exactly how do without changing the name of the project that I really don't want to do:
    http://supportforums.BlackBerry.com/T5/Java-development/how-to-rename-JAD-in-JDE-Eclipse-without-ren...

    I have a few choice here? Any help would be appreicated.

    Hello

    To have the "MIDlet-Name" of the renowned JAD property, you will need to rename the project. Output file names can be changed via the BlackBerry_App_Descriptor.xml > Build (tab) > name of the output file (field).

    Kind regards

  • How to link external cod in my jad file

    Hello

    I need to bind a file external cod from 3rd vendor to my jad file. This COD file is already signed and is an independent module.

    Looking at the structure of jad, looks like I have to add the following lines there: (I have 3 other cod files already)

    RIM-COD-URL-3: xxxx

    RIM-COD-SHA1-3: xxxx

    RIM-COD-size-3: xxxx

    The first value is the name of the queue of cod 3 - rd party, but how can I get the SHA1 values and size? (My codfiles inside the jad file sizes are not the same that sizes the same files from the file properties)?

    Is there an automatic way to force the compiler to use the 3 - rd party cod file and to generate the file jad accordingly?

    I use JDE 4.3

    Thanks in advance.

    Check this box:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=5970

  • Z10 BB do not recognize the jad file

    Why BB Z10 not recognizing the jad file. Is it possible to install the application in it.

    BB10 cannot run Java of BB applications.

  • How to force the jad file to be regenerated for each version

    I use Eclipse with the BlackBerry plugin.  Whenever I build the project active BlackBerry (Alt + B), it seems that Eclipse rewrites the file jad (the timestamp on the changes to the file), but the contents of the jad file is not re-written!

    I use the version string in the BlackBerry project properties to contain the version of my program.   But I find that even if I change the version string in the Properties window (and I can verify that the value has changed by looking in the file jdp), when I build the active project of BlackBerry, the MIDlet-Version string in the jad file does not change.  Yet if I delete the jad file and rebuild the project BB, then the jad file is written with the correct version string.

    It would be really nice if the build has successfully written the jad file, but short, how can I automatically have the deleted jad file?  As a matter of procedure, I usually do a project to clean and build together, before you build the active project BB.  Is it possible to change the Eclipse-specific procedure to remove the old jad file?  Is there a solution other/better?

    In addition, RIM - the fact that you do not write correctly the version string for the jad is a BUG!

    Thanks for the reply, but no, this link was not helpful.  There is no what I already know and have already said, with one exception - the problem, they talked was in the JDE and they suggested using the plugin - BAD NEWS - the plugin has the same BUG.

    What I did to make it work, it is write a cmd file that removes the jad and a few other files and set the absolute path to the cmd in the field of pre-build of project properties.   NOTE that the commands of the del in the cmd file must all also the absolute path.  I tried initially have an order of cd's as the first line of the cmd file, but that has not changed the directory - all the following commands continued to be run from the directory where the file of jdw.  I also tried put an led with an absolute path command in the field of pre-build directly (rather than using a cmd file).  Any work the del command.

  • Having problem to add code to the .vmx file.

    I try to add the code below in my .vmx file.

    mainMem.useNamedFile = "FALSE".
    MemTrimRate = 0
    prefvmx.minVmMemPct = "100".
    prefvmx.useRecommendedLockedMemSize = 'TRUE '.
    sched.mem.pshare.Enable = "FALSE".
    I added my vmx file attachments, so you can take a look.
    I added these lines of code to the wrong file?

    After that, I am unable to open the virtual machine and get an error message:

    http://i50.Tinypic.com/33mwub9.PNG

    IM using Windows 7 pro on the host computer. With the help of VMware Workstation 8

    Help please! =)

    The file you connected, Windows 7 vmxf, isn't the .vmx config file and does not have the file, you should be editing!   Remove your Windows 7 vmxf file changes and edit the .vmx instead.  If you still have questions after that cleaning of the .vmxf file and modifying the .vmx file and then archive them both in a zip file and attach to a response message.

  • Coloration of the code for the PHP files using CSS

    Coloration of the code for the PHP files using CSS

    The Situation:

    It is possible to mix PHP and CSS so that you create a PHP file and it is served to the user in a CSS file. It works just like writing a normal PHP file which is then processed and used in HTML. To do this, you create a PHP file and at the top of the file, you add the following line of code:

    <?php header("Content-type: text/css"); ?>

    This line tells the browser that the file is CSS instead of HTML. Fantastic.

    Here is a link to a more detailed article on the subject: http://www.barelyfitz.com/projects/csscolor/

    The problem:

    The problem is that when I create a PHP file in Dreamweaver code colors in the document like PHP for PHP and HTML to CSS code code because it still thinks the document is supposed to be a HTML document. Is there a way to change the style of this situation? I find that code coloring to normal CSS files is really useful and would like to be there instead of just black text.

    Other information:

    I already have this submitted a feature request to Adobe, but I never heard back. Does anyone know how to do this now?

    I would really like to see the code coloring to adapt to the content type of the file, when the file is PHP. So if no content type is specified, values by default in html format, but when it's CSS, code coloring so a coloration of the different code is used. It could also adapt to files JS, XML files, the works. But really, I just want to add the PHP/CSS code coloring.

    I'm certainly not an expert, and this is my first time looking at the file,

    but it looks like the section.

    "ID ="CSS"doctypes ="CSS"priority '50' = > ' see the style css and

    the and refer to where the design must

    be applied. If that is correct then the code you provided should style

    It all starts after the

    and ending with another php code? It should be then that a

    tag additional php to be present in the document of 'close' the

    blowdry.

    And the continuation of this line of thinking, I have just that in the (php-> css)

    file. I placed my code. Then

    After the CSS, I placed another block of php: and it works!

    The CSS is styling just like should the CSS.

    Logically, you need that, and it seems to work ok for me without it. If Yes, you can change "" to be more explicit and less impact for PHP parsing, such as ' /DW/ '.

    Haha, Unfortunantely, PHP is more the same color scheme. He

    went from normal red blends what the html code looks like

    scheme (blue with quotations from green text). Fortunantely this configuration is far

    more convenient than the previous color coding!

    All subsequent PHP Directives are coloring properly for me - it's just the first one that triggers the coloration (e.g. ) is not. What do you see?

    If, therefore, in the XML file you added in CodeColoring.xml, you can change:

    scheme = "outerTag.

    is similar to the colouring of the PHP Directive:

    scheme = "customText" id = "CodeColor_PHPScriptBlock".

    This causes the entire PHP directive is red color - not optimal, but a little better.

    HTH,

    Randy

  • are the COD of the CAP files to .java already pre-audit or not?

    My apologies if I don't see something that is obvious to others, but it's not clear to me if the .cod files created Cap running on the .java files are already pre-audit or not.  In the development guide, it says in one place:

    When you build a project by using the BlackBerry® integrated development environment, the IDE BlackBerry compiles your source in bytecode Java® files, performs predetermination from FNIHB and creates a single .cod file and a file .jad to an application from BlackBerry® device.

    and then in another place:

    To reduce the amount of processing the device BlackBerry® performs when you load your device BlackBerry app, partly to check your classes. You can also use the Smartphone BlackBerry® Simulator to preverify .cod files.

    At the command prompt, type:
    Preverify.exe [-d] output input directory - classpath. Directory

    I could imagine review making sense if entries were fichiers.class/.jar of javac instead of the CAP, but that I'm a bit confused by the wording in the development Guide and don't see a definitive answer elsewhere.  As always, my apologies if I missed this - pointer RTFM appreciated.

    It depends on how you use the CAP.  If the entry is java files, then Yes, Cap compiles, preverifies and generates the cod files.  If before you class files or jar, then you have to preverify step before the CAP.

  • I should "separate compiled code in the source file" for *.ctl files?

    There are a few good reasons to code compiled separately to screw

    Now, the option is also available for custom orders/type definitions. I wonder if there is any benefit whether for the separation of updating the code of these? None of the reasons for separation will apply to *.ctl files, after all. In fact, it might even be disruptive - in some quick experiments, separation of compiled code has increased the size of the files *.ctl!

    (Transferred to https://lavag.org/topic/19681-should-i-separate-compiled-code-from-source-file-for-ctl-files/ )

    Hi JKSH,

    Good question!  After searching for a bit, the first reason mentioned in the KB, you are connected (to simplify the source code control) looks like it could apply to the .ctl file.

    I guess that similarly to how changes in 1 VI cause unsaved changes in any screws that call it, changes with a .ctl file can do the same thing.  However, it seems that separation of compiled code make it possible only to make changes to a file at a time, without the domino effect.

    Best,

    David Randolph

    Engineering applications

    National Instruments

    www.NI.com/support

  • Compiled code in the source file was separated... when referencing a tat of VI entered a trajectory control

    I have a feeling I know the answer.

    I have an executable that takes a VI from trajectory control and the executable reads certain properties.  It crashes with this error.

    Some experience on the issue:

    The executable waits on path control to change its value, then it reads the properties.  He's just fine.

    Running the source code works very well.

    The VI which is read has separate code.

    So I think it's no different than calling a VI dynamically because it is the responsibility of the VI in memory to read its properties, and that cannot happen if the code is separate.  I guess you have to uncheck the option "Separately compiled Code."... "for every VI (Subvi) I loading and recompile all that and that should work?

    Thank you!

    We will try to clarify something here.  You have an EXE file (running in the TEN) and is trying to call a VI that is not included in the EXE file and make everything with her?  If this is the case, while called VI does NOT have to be defined for separate update.  The reason being that the RTE does not any compilation.  So tried to do something for a VI with no compiled code is impossible.

    In the development environment, the code compiled for VI should be in the cache of the object.  So the separate update is not serious.

  • How to read the jad file property

    I am able to read the properties of the my application JAD file. My requirement is that through my application, I will download some other app via OTA, so is it possible to read the file property PPP through my application jad, I downloaded.

    you don't know. to download another app ota you need the address of the file jad online. with this you can download and analyze its contents.

  • From cod to the application files.

    Hi, it is possible to run "*.cod file" of the main application?

    Which is added to the project file and run it cod of the application (choose in the menu)

    Something like the way in which the audio file starts with the file class.

    In short, the creation of an application in which it is cod file and run it from my app

    Sorry for my English

    Yes

Maybe you are looking for

  • IOS 9.3.1 bad news updated

    The new 9.3.1 update is bad and does not solve the problem with the links When you click on some links on facebook, the facebook app close and get out Please solve this problem

  • can I have 2 iPhones using the same account iCloud under the same roof?

    My husband has an iPhone 5 s.  He has recently upgraded to 9.2.1 operating system and asked to add iCloud account.  He used my password.  So now he has 2 iPhones on the same iCloud account.  This will cause problems with the use of the phones?

  • VLM 3.0 SP1 2012 LabVIEW disabled in installer

    Hello people, I have a problem with die build install with my new lay vlm 3.0. I already have the new license file for vlm 3.0 and installed, then I made the installer for LabVIEW 2012 SP1 as I did with previous versions of LabVIEW 2009 2010 2011 In

  • Backgorund color?

    I m extension screen to display my home screen. At home I have screen m display image in the Vertical Center with title to the screen andsome LabelFields above and below the Image. Now I want that black background color for my home screen on which al

  • Creating a Word Doc

    How to create a file (word document) in a folder open in Windows 7?  It's pretty simple on XP. Thank you... Larry