Deploy multiple files of cod with a single jad file

I am developing two applications, A and B, I want to deploy the web as a single package; the desired user experience, it is that the user click on a single link and the two applications is installed.

I have a file of the cod and cod file B, and I want a link that points to a single jad file to install these files to cod.  What lines I need, at least, in the jad file to make this work?

Keoki Zee

See the development Guide.  4.3, 4.5 and 4.6 versions, magazine "Modify information in a .jad file", in the section "Distributing BlackBerry Java via the wireless network Applications" chapter "packaging and distribution of Java BlackBerry Applications.

Note You can also do it by hand if you want.  Basically, everything you do adds the following lines to the jad for each cod

RIM-COD-URL-n: .cod
RIM-COD-size-n:

Tags: BlackBerry Developers

Similar Questions

  • Deployment of OTA: multiple COD in a single JAD: NullPointer Exception

    Hi all

    I am trying to install application OTA. I managed to install for a single cod by changing JAD to point to the URL of the server. However, in my application, there are several files of COD and I want them all to be installed once. Therefore, based on the Knowledge Base Article I added

    RIM-COD-URL-n: >

    RIM-COD-size-n: >

    for all COD in single JAD files. Since I'm on signed code I updated param of size with the new file size of cod also.

    When I point to this URL of file JAD I get HTTP 500 error and watch details be java.lang.NullPointerException.

    Also I've added the project dependency while RIM-COD-Module-dependencies, although I tried without modification as well.

    Here's my full JAD file... I would like to know if I missed something...

    Manifest-Version: 1.0
    RIM-COD-Module-Name: SosAlert
    RIM-COD-Module-Dependencies: net_rim_cldc,net_rim_locationapi,Objects,ApplicationServices,net_rim_xml
    MIDlet-Jar-Size: 2071
    MIDlet-1: ,,
    RIM-COD-Creation-Time: 1216305305
    MIDlet-Jar-URL: SosAlert.jar
    RIM-COD-URL-1: http://serverip/temp/ExternalJarsLib.cod
    RIM-COD-Size-1: 33904
    RIM-COD-URL-2: http://serverip/temp/Objects.cod
    RIM-COD-Size-2: 6840
    RIM-COD-URL-3: http://serverip/temp/ApplicationServices.cod
    RIM-COD-Size-3: 4536
    RIM-COD-URL: http://serverip/temp/SosAlert.cod
    RIM-COD-Size: 3716
    MicroEdition-Configuration: CLDC-1.1
    MIDlet-Version: 0.0
    MIDlet-Name: SosAlert
    MIDlet-Vendor: 
    MicroEdition-Profile: MIDP-2.0
    RIM-MIDlet-Flags-1: 0
    

    Thanks adavance.

    You shouldn't list your individial modules in the section of RIM-COD-Module dependencies.  Here are a few questions that might help:

    1. one of your folders of cod are in fact several cod (app.cod to app.zip fame and trying to extract).  If they are each extracted cod should be included as separate RIM-COD-URL/size-N in the jad.

    2. is the configuration of your server with the correct mime types?  The mimetype to a jad should be text/vnd.sun.j2me.app-descriptor and the mimetype for cod should be application/vnd.rim.cod

    3. Once you get the NullPointerException check your event log by clicking on the home screen and pressing Alt-LGLG.  There may be an entry in the "BOLD" which refers to the NullPointerException and a stack trace.  This can give us an idea as to why this is happening.

    4. try the Simulator and see if the output of the Simulator has nothing relevant.

    Also, let us know what jde you build with and which model of device/OS you are using when you receive these errors.

  • Installation of multiple application of cod with CodeModuleManager

    Hello

    I am installing a multiple application of cod using CodeModuleManager.

    As has been said by the javadoc, first cod file must be 64 KB or less, the problem is not. I tried to save this first module into pieces but it doesn't have a difference, the result of CodeModuleManager.createNewModule (moduleSize, chunkBytes, chunkSize) is 0.

    No matter how many times I recompile the application, I always find myself with a first cod around 90 KB file and the rest ranging from 30 to 60 KB. The application has a total area of 300 KB.

    I know that CodeModuleManager works because I tried to install only cod applications successfully.

    Does anyone have an idea on how to fix this?

    Thank you and Hello by the way, this is my first post here!

    It is impossible for a module to be 300 KB. You are probably trying to install a composite file of COD, which is not a module, but a ZIP file containing several modules. You must install these modules (brother) separately, citing createNewModule, writeNewModule, and saveNewModule for each of them.

  • use different JADs to deploy a COD with different properties

    I've never had different JADs to work for the Web site deployment.

    This is the problem, I use getAppProperty MIDLET to get a property.

    I create a file myMidlet.COD with myMidlet.jad which has a property of the HOST.

    I have ten different JADs with different HOST property on a Web site for

    a myMidlet.COD that will be deployed. The midelt deploys nicely on the Blackberry

    but the HOST is the same as that used to build cod. They gave me a code snippet and

    added some debug statements to see what this thing of Module

    public class mybbProperty {}
    CodeModuleGroup [] allGroups;
    CodeModuleGroup myGroup = null;
    String moduleName;
    Boolean flag = true;

    public void mybbProperty() {}
    }

    public void init() {}
    versForm.debugtext += '\n init';

    AllGroups [CodeModuleGroup] is CodeModuleGroupManager.loadAll ();.
    versForm.debugtext += "\ngroup;
    moduleName = ApplicationDescriptor.currentApplicationDescriptor () .getModuleName ();
    versForm.debugtext mode += "\n" + moduleName;   Note ModuleName is correct and is "myMidlet".

    for (int i = 0; i)< allgroups.length;="" i++)="">
    versForm.debugtext += "\n"+allGroups[i].getFriendlyName ();

    If (allGroups [i] .getFriendlyName () .equals ("myMidlet")) {}
    versForm.debugtext += "\n"+allGroups[i].getFriendlyName ();
    versForm.debugtext += "' \n * found"; "
    for (Enumeration e = allGroups [i] .getModules ();)
    e.hasMoreElements () {}
    versForm.debugtext += "\n *"+ e.nextElement (); "
    }
    myGroup = allGroups [i];
    break;
    }
    for (Enumeration e = allGroups [i] .getModules ();)
    e.hasMoreElements () {}
    versForm.debugtext += "\n *"+ e.nextElement (); "
    //            }

    If (allGroups [i] .containsModule (moduleName)) {}
    myGroup = allGroups [i];
    break;
    }
    }
    versForm.debugtext += "\n end";

    }

    public String getAppProperty (String name) {}
    If (flag)
    init();
    flag = false;
    versForm.debugtext += "\n getAppProp"+ name;
    If (MyGroup is nothing)
    Returns a null value.
    Return myGroup.getProperty (name);
    }
    }

    I use the function mybbProperty.getAppProperty ("AppMyHost");

    I noticed that the getFriendlyName() is the name of my Application, so I use it and

    print information. Did I get this

    mybbProperty mybb = new mybbProperty();

    String s = mybb.getAppProperty ("AppMyHOST");

    myMidlet

    * Found

    * myMidlet-3

    * myMidlet-2

    * myMidlet-1

    of course, which returns null. So how do JAD another properties which was used to deploy the

    App for Blackberry. In Nokia its pretty simple use MIDlet getAppProperty() you need a jad and jar for

    deploy it.

    In any case, I don't know which module to get. The JAD I used to deploy the cod was called green.jad

    so I have no idea why myMidlet is important. I wouldn't see green.jad somewhere?

    Anyway, I would appreciate any code that does this correctly.

    Please see this thread on this issue.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=10&query.ID=5227#...

  • Code example for single asynchronous reading of multiple waveforms

    Hello

    I looked around but have not been able to find the code example for single asynchronous reading of multiple waveforms.  Could someone point me in the right direction?

    Thank you

    Dale

    Hi Dale,

    Have you looked at the code using .NET Framework DAQmx example? It shows this code:

    class DAQmxAsyncRead
    {
    private AnalogSingleChannelReader reader = null;

    public DAQmxAsyncRead (task t)
    {
    Create the drive
    Reader = new AnalogSingleChannelReader (t.Stream);
    Acquire 100 samples
    Handful of IAsyncResult = reader. BeginReadMultiSample (100, New AsyncCallback (OnDataReady), null);
    }

    Public Sub OnDataReady (IAsyncResult i)
    {
    Recover data that has been read.
    At this point, all that occurred during the asynchronous read exceptions are thrown
    Double data = reader. EndReadMultiSample (i);

    You can call the method BeginReadMultiSample here once again
    }
    }

    In addition, this article: http://digital.ni.com/public.nsf/allkb/485201B647950BF886257537006CEB89?OpenDocument talk about different causes of the reserved resource error.

    Kind regards

    Alexandra Valiton

  • How to rename multiple files with the extension in windows xp

    How to rename multiple files with extension in windows XP.

    1. If you want to simply rename the extension, open a run window (Windows Logo key + R), type cmd and press ENTER. Using the CD (Change Directory) command, navigate to the folder in question. Now, type ren *.mp3, *.mp4, and press enter (note the two spaces in the command). Note, rename mp3 MP4 is just an example of the command.

    2. If you want to rename files, download the 32-bit version or 64-bit Bulk Rename, here http://www.bulkrenameutility.co.uk/Main_Intro.php

  • How to open multiple files with the same extension in one program from the Explorer

    I frequently receive several JPG (or whatever extension) files to my clients.  On Windows XP, I could just highlight the files I want to open, and then click Open.  They would be so open to 1 program cascading.  This made it easy when comparing many images.  If I do the same thing in Windows 7, it opens the default program several times and puts 1 image of each open program.  It is Paint Shop Pro in my case.  Thus, instead of so-called images 5 open cascading in Paint Shop Pro... the computer open Paint Shop Pro 5 times with 1 image of each open version of the program.  I tried this search like crazy, but cannot find the right thread for an answer.  Most of the threads are on the opening of the different file types.  My question is only about the opening of multiple files with the same exact file inside 1 free program extension.

    Is this the same version of Paint Shop?

    One thing you might try is to open Paint Shop, then select and drag all the files in this window of the paint shop.  Various programs to manage this type of action differently from the DDE, but it might give you the expected results.

  • Problem with 'treat multiple files' quality?

    I have pictures for my online store which can be really big zoom without distortion.  So I leave the dpi to 300, and run several tests on my mac all with the exact same start/size of the picture everything.

    1. I'm resizing in PSE 14 without using several files processing.

    2. I'm resizing in PSE 14 using several files processing.

    3. I resize preview and don't use all PSE.

    In these contexts - each time, the size of the file is greater with PSE with preview (547KO vs 114ko) - which is a big problem when I have lots of images per page.  The quality of these tests are all to minimal difference range - it is negligible.  However, the quirks start when I add a watermark to the image by using the function 'treat multiple files' - this is where it goes south on me!  Using the preview resized OR resized ESP - anyone, as soon as they get a watermark (and we are talking about only a line of tiny text at the bottom right), the quality gets worse.

    After tattooing, the size of the file on the PES to PES "multiple files" resize watermark (test 1) version will 547KO to 79 KB - and the photo quality is a noticeable difference as well.  Using the preview resized, then PSE "multiple files" (test 2) for watermark, it passes from 114 kb to 83 KB.  Not much difference in size - but I would not have expected a big difference in both cases honestly since I'm not actually resizing - but only watermarking.  But the quality of 'Trial 2' is still significantly different from the version "nothing other than the Preview" without watermark (hands down better on the version without watermark).

    I'm completely stumped on how to make good quality, very "zoomable", a watermark images that remain small in size, while maintaining quality.  Any help is greatly appreciated!

    Thank you

    Sharon

    gametrailgirl wrote:

    Michel - what wonderful assistance you gave me.  Now I need to play with the different save options and bulk 'watermark' to see the quality.

    Since I'm a mac user, unfortunately the link you gave does nothing for me because they provide only a windows product.  Also, I can't find any reference to the elements + anywhere.  Maybe the premier elements (?) which I did not...  I would like to be able to record actions and who could help with the logo, but honestly I have no idea about how to put the logo on the images (or if it would affect the image quality for the zoom).  If you know how to explain these things to this relative Rookie of photoshop, I'd be most grateful.  In the meantime, I'll play with a few economies, sizing and options "my watermark".

    Thanks again for starting me on the best way.

    Sharon

    There may be specific tattoo of Mac software, maybe other Mac users can give you suggestions.

    For items +, see:

    On the elements.

    It's an incredible lot of extra features for $ 12...

    Since the use and customization of scripts is not so obvious, that I should mention that the author, Andrei Doubrovski helps in the following forum:

    Home page | Photoshop Elements & more

    Your question would be interesting for many other users of the forum.

    Adding a watermark logo .png file is easy and guarantees the best quality.

    Premiere Elements is the video editor.

    To check the maximum quality that you can get in your current workflow while maintaining a small output file, just the first step of resizing PNG, tiff, or psd. You might not get the best results. For the second round of tattoo to "treat multiple files", check the final rating different compression options. Using "high quality jpeg" should not create a visible difference. The limit for users to "zoom out" is 1000 pixels size.

    I have a question: you say that with preview, you can resize, rename and crop your images? Can you clarify this "cropping" method?

  • Bug when dealing with multiple file input elements?

    I use Apex 4.2 and I have a strange problem.

    Back story:

    I created a page on a standard web server (Apache) that allows a user to select multiple images in there local machine. The form reads a file both a preview of the image and read the exif data for the file.  We enter additional data about each image in a form.  So the flow of the page is: user selects images-> first image appears and the user enters data-> submit data via ajax-> user hits button and following image happens.  The user repeats until all images are made.  I did not the ajax part, but all the other parts work fine on the Apache server.

    The problem:

    I need to recreate this kind of form at the Apex.   If I create an element of the queue multiple entry on a page all the tabs stop working.  They take you to an error page 404 with the message "the requested URL /apex/wwv_flow.accept is not found on this server."  I followed it to whatever this either by calling the apex.submit () javascript function.

    Literally if I do a region of html and the place '< id of entry = "uploadInput" type = "file" name = 'myFiles' multiple >' in the source of the region, the apex.submit () function doesn't work.

    Any thoughts?

    EPIC Fail says:

    I normally make apex generate all the elements of form on a page.  If I understand correctly you're saying I can't submit an article for the treatment that was not generated by the apex.

    In fact, Yes.

    In this case, however, apex does not have a multiple file select option and I don't actually submit the file to the apex for any treatment. The element to browse file apex also appears to force you to store the file which I don't want.

    Control creation (however do you) inside the form element generated by APEX and submit the page (however do you) submit the result of APEX session state changes and page if you plan to do after submit treatment or not.

    In addition, if the use of javascript to generate the element for me after the page load I have no problem. So, how is implemented""in a different part of html to let the js to be placed in the same region?

    Where in the DOM to create control with JavaScript? If it is created within the form element generated by the APEX while happen the 404 error on submit. Is it is created outside the shape, then there is no error. In most cases an HTML region and its content will be inside the APEX form element.

    Either way, I'm also curious why the tabs are calling the apex.submit () function and not using a standard binding as the objects of the navigation and navigation bar.

    Pick me up. This (and the inconsistencies in the standard tabs, calling apex.submit () while level 2 tabs are links) is one of several reasons why I gave up years ago tabs and recommend lists or other options for navigation.

  • Using PowerCLI with Flexclone rapidclone re - deploy multiple servers daily

    Hello

    We currently use vSphere4.1 with SAN NetApp Flexclone Rapidclone installed We have deployed multiple servers with success of a model of Flexclone using rapidclone.

    The servers in question are Windows 2008 RDS servers, which we would like to destroy and recreate on a daily basis.

    We want to make use of the feature to "Redeploy" Flexclone, which will equip the servers and redploy image, but we want to do this on a planning automated nightly.

    There are not many examples on the web on how to do it and with which application.

    I suppose the obvious choice to be PowerCLI, but don't have any idea how to write the script.

    Can anyone provide information on how to go about starting this script, or if there is a record of the tool that will convert mouse movements in vSphere PowerCLI commands. I tried to use Onyx 2.0 but for some reason it produces no output when cloning using "NetApp - implemented service & cloning" in the context menu in vShpere.

    Any help would be much appreciated.

    Kind regards

    New year's Eve.

    I think that this rapidclone does not use methods public vSphere API.

    This probably explains why you don't see nothing in Onyx.

    This rapidclone comes with API and/or the cmdlets?

  • Playback of multiple files with different file extensions

    Hi all

    Is there a way where we can read multiple files with different file extensions using file adapter?



    < property name = value=".*\.csv"IncludeFiles"/ >

    Can include us a few models more file in the property above? Please let me know

    Yes you can. .

    But here, the thing you need to do is all these files must have the same format (XSD)

    You can dynamically pass the name of the file to invoke the activity of the file that is the property of jca.file.filename

    The value given when you set up the adapter will be written by this value. .

    Hope this will help you

    If this is not the case, let me know. .

    Thank you & best regards

    Sharath Kumar

  • tablespace with multiple files, how is the space consumed?

    I have a tspace1 tablespace that has 2 data files, and there are 2 physical disks /data1 /data2 each of these mount points are a partition on a separate disk

    disks1 /data1
    /data2 disk2

    /Data1 is 80% used (two data files are on /data1)
    /Data2 is not yet used


    I'm corect I say ave shouldh created a data /data2 rom files a day? to improve performance?

    now the data files im in need of a 3rd and fourth creation... can I create these new in /data2 and leave it as it is?

    or I'll offer one of the largest in /data2 so that the data is distributed across two discs? and then create datafile3 in /data1 and datafile4 in /data2?

    Thank you

    EdStevens wrote:

    Several years ago, I ran a few tests which showed files written in a responsive way. (In fact, it was the extents allocated in round robin. A segment is only designed for in previously allocated extensions). When I first posted on this forum a few years ago, someone responded with their own test results showing a file being completed before the other is used. If the answer is, as almost always... "it depends".

    And at the moment I don't remember what was decisive.

    One of the factors would have been version, of course.

    Robin is the basic strategy for extensions to a segment, but automatic extended allocation allocation (which start with 64 KB extents before moving on to 1 MB and so on) presented a special case where Oracle would stick with a single file for the first megabyte of the segment.

    Until quite recently, however, the first measure of a segment is always put in the first file of the table space, so if you have a lot of object that need to have a degree awarded then you could end up with more space to the first file in use and very little space allocated from the rest. I don't remember when that changed, but I remember seeing a note on MOS describing this anomaly and explaining how the imbalance had been fixed by follow-up which file should be used then when a new segment was to be created.

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    Author: core Oracle

  • How to rename multiple files in Windows Explorer with numbers that I choose?

    I have Windows Vista Ultimate, when I try to rename several .jpg files, it won't let me choose my starting number.  It is automatically defaulted to 1.

    Hello

    You cannot rename multiple files at once by the design of the operating system. However, try this at your own risk:

    http://www.chosensoft.com/batch-file-rename/index.htm

    All the best!

  • Multiple tasks with a single click

    My job is to manually change several lines to a different graphic style and before this line to another layer.  As it is now, I change the graphic styles, choosing Select < even < fill & stroke and before moving the lines to the appropriate layer.  I am wanting to know if there is a way to change the graphic style and move the line to the other layer with a single click.  I'm ignorant when it comes to scripts, but I was wondering if there are scripts that would be subject to this function.

    You must explain in detail the installation program. Otherwise, the people making suggestions are just guessing. Here is my suggestion based on what little information you have provided:

    You don't need a script for this. You can do it with a set of very simple Actions. Example:

    Suppose that your recurring task requires three layers, named Red, green and blue. On each layer, all objects need to have the same graphic Style applied.

    1. new document. Create three layers. Name them, red, green and blue.

    2 define three graphic Styles. Name them, red, green and blue.

    3. draw an object (any object, a square, a line, no matter). Send it to the red channel. In the attributes Palette, type 'Red' in the Note field. (This effectively 'names' the 'Red' object.)

    4 draw an object, send it to the green channel. Type 'Green' in his Note.

    5 draw an object. Send it to the blue layer. In its Note of type 'blue '.

    6 draw an object on the Red layer. Select it.

    7 actions Palette: new Action. Name of the Action 'red '. Define red colour. Start recording:

    7.1 Edition > cut

    7.2 Edition > paste in front

    7.3 apply red graphic Style

    7.4 stop recording.

    Range of actions 8: select the stage of the Cup. In the menu drop-down select Select an object... In the dialog box, enter "red". OK, the dialog box. The Action should have now a new stage set the selection listed after the stage of the Cup.

    9 flyout Palette menu actions: the Mode button.

    You now have a red named Action which appears as a red button in the actions palette. Select an object. Click on the button. The object is moved to the Red layer and becomes red graphic style.

    10 turn off the Mode button. Duplicate Action. Double-click the duplicate. Change its name to green and its green color. Change its step set the selection to select the object named green. Replace its step of graphic Style with a stage that applies the Green graphic Style.

    11. Similarly, duplicate and edit one of the two Actions to create a blue Action. Put the actions in button Mode palette.

    Now you can select any number of items and then move them to the red, green or blue layer and apply the graphic Style suitable in one click.

    Now come back and reveal the specifics of your situation that makes all this work moot.

    JET

  • Problem with "process Multiple Files.

    I use Photoshop Elements 7.0

    Here is a discussion about my problem and three jpg files to show the problem.

    I use quite often the function of "process multiple files. Today, he has developed an error that I can't solve. This problem is the following.

    I chose a directory source for example < rawphotos >

    I chose a destination for example directory < rawphotos/JPEG >

    I then choose "convert files: JPEG Max quality", then click on 'OK '. This is the process I always used.  . . . Refer to capture1.jpg

    PSE 7.0 seems to start to process the first file, but when it does, it leads to a screen "save under" want me back up files is the PSD format.  . . . Refer to capture2.jpg

    This never happened to befrore and I can't get rid of it. If I try to cancel in the box, it simply led to an "error" box telling me that the order has been cancelled... Refer to Capture3.jpg

    I tried to look for previous topics on for one, but not avail.

    Any ideas how to solve this problem?

    Check the raw converter. If you have to be converted to 16-bit, you will not be able to convert to jpg. Set it to 8 bits and see what happens.

Maybe you are looking for

  • The operation cannot be performed because the "Firefox" element is in use.

    Whenever I try to download the latest version of Firefox on my mac, I get the following error: "The operation cannot be performed because the"Firefox"element is in use." I close Firefox and still get this error. I tried this guy 100 times and may not

  • How to get my debug token

    AS the title, It is said there will be debugging token to send my registeration email. However, I have not received anything. How do I get my debug token? Thank you.

  • View s/n does not start in SQL Developer 4.0.2

    HelloI simply start using SQL Developer 4.0.2 on win7 x 64 and I have discovered that if I press s/n on the view menu, nothing happens.I've used this feature much in 3.2 (x 86) and it's plug for me to migrate to my new PC.Feature is installed and the

  • BSOD when installing XP Pro on my HP PC

    Hello I have the BSOD while I was installing my XP Pro. Screen saying "computer shut down to avoid the computer being too bad... etc, etc...." for the study I want to install xp pro or win server 2003 enterprise edition... Although I installed win Se

  • Where can I find the ability to chat with a support person?

    I have problems with my subscription to the CC. I just renewed my Creative Cloud edition students and teachers for another year. But when I try to open the programs it always says that my version has expired. I want to support, but I can't find the c