jad issue related to dependencies...

Hello

A very specific question...

I have two projects, a cldc app and a library application, with dependencies on the other one. If I install it in my device using alx, there is no problem providing that I have app.cod, library.cod and app.alx in the same folder.

I'm not sure, and I can't test it now, what if he's going to have the same behavior using .jad file

As I see it inside the jad, there is not any reference to library.cod, as it happened inside the app.alx. There is only a dependency of the library module module. This makes me think that I need to have my library installed in the device before trying to install my application.

Am I wrong? Is it possible to install the library and the app with a single jad?

Thanks in advance

Hello

You have an application named SampleApplication , and two modules in library named MyLibrary1 and MyLibrary2.

You want to do OTA SampleApplication with SampleApplication.jad file that automatically installs the two libraries with your application.

Follow these steps:

1 build applications. You will get 3 cod and 3 files jad

2. open the MyLibrary1.jad file in Notepad and copy the values of RIM-COD-URL:, RIM-COD-SHA1:and RIM-COD-Dimensions: the file and save it in a text saying temp.txt file.

3. open the MyLibrary2.jad file in Notepad and copy RIM-COD-URL values:, RIM-COD-SHA1:and RIM-COD-size: the file and save it in temp.txt.

4 rename the MyLibrary2.jad file temp.txt as values RIM-COD-URL-1:,RIM-COD-SHA1-1:and RIM-COD-size-1:

5 open SampleApplication.jad file in Notepad and rename values such as RIM-COD-URL-2:, RIM-COD-SHA1-2:and RIM-COD-size-2:

6 copy temp.txt to SampleApplication.jad values

7. remove MIDlet-Jar-Size: and MIDlet-Jar-URL: of SampleApplication.jad properties

8 copy all SampleApplication.jad file and .cod files in a single directory

9. your SampleApplication.jad file is now ready for OTA with your library modules

Example of a .jad file

Manifest-Version: 1.0
MIDlet-Version: 01.00.00
MicroEdition-Configuration: CLDC-1.1
RIM-COD-Module-Dependencies: net_rim_cldc,MyLibrary1,MyLibrary2
RIM-MIDlet-Flags-2: 0
RIM-MIDlet-Flags-1: 3
RIM-COD-Module-Name: SampleApplication
MIDlet-Name: SampleApplication
RIM-COD-Creation-Time: 1236762075
MIDlet-1: SampleApplication,images/sampleImage.png,
MIDlet-Description: Sample Application for Blackberry
MicroEdition-Profile: MIDP-2.0
MIDlet-Vendor: JobinCAntony
RIM-COD-URL: MyLibrary1.cod
RIM-COD-SHA1: 8f 1f e6 03 c5 b7 82 18 df d0 54 12 af ab 61 41 12 eb 46 ca
RIM-COD-Size: 24852
RIM-COD-URL-1: MyLibrary2.cod
RIM-COD-SHA1-1: cf 38 97 fb f7 4d e9 3a db 6b 07 1a ad da 9e 92 31 ec bd f2
RIM-COD-Size-1: 1844
RIM-COD-URL-2: SampleApplication.cod
RIM-COD-SHA1-2: a7 5c d8 ed 76 c3 4e d9 17 0b 4a 23 6b 2f c4 1c 85 e4 2c f4
RIM-COD-Size-2: 5142

You can test it with the device Simulator.

(1) setting up a Tomcat server, copy these files into folder webapps of tomcat

(2) start MDS Simulator

(3) boot device Simulator and access the SampleApplication.jad file of your application.

(4) download

JOBIN

Tags: BlackBerry Developers

Similar Questions

  • In all of the possibly performance issues related RAM

    Hello

    Trying to play PC games recently, I had a few problems. Yesterday, I solved a problem of RAM where it says 16 GB installed but 3.46 GB usable by using msconfig. That has been corrected (apparently) However most of my games just get past title screens and even when they do they are slow as * / crash most of the time: nothing has changed.

    I have a GTX 770 so it is a recent issue, because he was working fine until last week. Driver is up-to-date as with all updated regularly through steam/uplay games. One glaring problem I see maybe I have 9 GB on Windows (c) to the left, but I really would not have thought that to be a problem.

    Any feedback would be greatly appreciated.

    Thank you

    Hello Rupert;

    Thanks for posting your question on the Microsoft community.

    Thank you for details on the issue.

    This problem may occur because of corrupted display driver or due to virus or malware.

    I suggest you update the driver from the website of the manufacturer of the computer display and check the issue.
    Reference:
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows/Update-driver-hardware-ISN

    Please also run Microsoft safety scanner to check and remove any viruses or malware that may cause the problem.
    Reference:
    Microsoft safety scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • issues related to the parameter in the procedure

    Hi all

    I have a procedure which the code is given below:

    create or replace PROCEDURE seods01.get_cert_tx_lot_tmp (acct_alt_id_in in VARCHAR2

    , acct_alt_id_cntx_cde_in IN VARCHAR2 default 'COLA account number.

    ,                                              ibd_id_in               IN  INTEGER

    qry_rslt_out to sys_refcursor)

    IS

    BEGIN

    OPEN FOR Qry_rslt_out

    SELECT L.tx_lot_seq_nbr

    L.hld_prd_dte

    L.orig_purc_dte

    L.tx_lot_amt

    L.updt_tx_lot_amt

    L.tran_desc_txt

    OF v_acct_alt_id A

    v_cd_tx_lot L

    WHERE A.acct_alt_id = acct_alt_id_in

    AND A.acct_alt_id_cntx_cde = acct_alt_id_cntx_cde_in

    AND A.ibd_id = ibd_id_in

    AND L.eods_acct_id = A.eods_acct_id;

    EXCEPTION

    WHILE OTHERS THEN

    dbms_output.put_line(SQLCODE||) SQLERRM);

    END get_cert_tx_lot_tmp;

    now when I run the SP in the following way it works fine:

    VAR C1 REFCURSOR
    EXECUTE SEODS01.get_cert_tx_lot_tmp ('004000000000000093108026740', 'Number of COLA account', '1',: C1);

    PRINT C1

    When I try to ignore this value by default setting, then it is throwing ' wrong number or types of arguments "error

    VAR C1 REFCURSOR
    EXECUTE SEODS01.get_cert_tx_lot_tmp ('004000000000000093108026740 ', ' 1',: C1);

    PRINT C1

    and when I tried to put this as null or "then it gives me no results. only way through which I can produce results of this procedure without giving the default parameter is the name of the column with the value of the parameter as follows:

    VAR C1 REFCURSOR
    RUN SEODS01.get_cert_tx_lot_tmp (acct_alt_id_in = > '004000000000000093108026740', ibd_id_in = > '1', qry_rslt_out = >: C1);

    PRINT C1

    but the condition is that we do not want our consumers to put names of columns when they do not pass the default value setting, I hope that there should be a way to do it. Could someone help me please on this issue.

    Hello

    If you want to use positional notation, then you can only omit parameters by default when they are at the end of the parameter list. In your case, this would mean

    (acct_alt_id_in in VARCHAR2

    ibd_id_in in FULL

    qry_rslt_out ON sys_refcursor

    acct_alt_id_cntx_cde_in IN VARCHAR2 default 'COLA account number')

    Or you can put the procedure in a package and overload

    PROCEDURE seods01.get_cert_tx_lot_tmp

    (acct_alt_id_in in VARCHAR2

    acct_alt_id_cntx_cde_in IN VARCHAR2

    ibd_id_in in FULL

    qry_rslt_out to sys_refcursor)

    PROCEDURE seods01.get_cert_tx_lot_tmp

    (acct_alt_id_in in VARCHAR2

    ibd_id_in in FULL

    qry_rslt_out to sys_refcursor)

    In the procedure without the acct_alt_id_cntx_cde_in parameter, you can call the other version and provide the default value.

    Concerning

    Marcus

  • Issues related to Youtube.

    I see nothing in youtube. Each time it gives me a black screen. Can someone tell me pls how to solve this problem? Thanks.I

    macOS Sierra?

    Videos YouTube won't play?

    Safari > Preferences > Extensions

    Uncheck the boxes next to all extensions and test them.

    Enable the extensions one by one and test.

    To uninstall an extension, select it and click the "Uninstall" button

    Click for the plug-in or extension ClickToFlash can cause this kind of problem.

  • Issues related to the parental control

    When you try to view the content on Apple TV apps, you may consider some episodes. He said that you are not allowed to view this content. Set parental controls. We have not enabled our parental control; all restrictions are disabled. Any thoughts?

    Restart your Apple TV.

    To restart your Apple TV (4th generation), go to settings > system > restart.

    For Apple TV (3rd generation and earlier versions), go to settings > general > restart.

  • Folder pane issue related to the folders that I created, compared with the default Inbox, sent, junk, and trash

    I have a bunch of folders and subfolders, I created for various projects, but I don't always want to see them. (that is, I want to "collapse", while most of the time - I just see the Inbox, sent, spam and trash folders.)

    The only option I see is the equivalent of a power switch - that is to say, file view/page/component layout, or no record.

    If you uncheck the folders pane, you lose the Inbox, sent, spam and trash folders.

    If you check the option part of file, regain you your visibility of the Inbox, sent, junk mail and folders trash... but you also see the bunch of files again.

    Is there an option in-between - where I can see (again) the Inbox, sent, junk, and trash folders - but only see a collapse (as in 1 folder that says something like "folders") - without having to create such a file and paste the slew of my other folders in the folder manually created?

    The only suggestion that I would have to choose the name of the account, not the Inbox but the name of the main account.
    Right-click on the account name, and then select new folder.
    Name the project or something that makes sense to you.
    Now right-click in project and select new subfolder.
    The name of the subfolder.
    Repeat if necessary.
    There will be a pointer next to the projects folder where you can expand or collapse the tree of project files.
    This will only add an extra folder, projects, when the project tree is reduced.

  • Issues related to the market

    Anyone else having problems to download or update of the market?

    I get an orange exclamation point and it is said in class, but nothing else happens.

    johnnnyo1> there is a setting that denies the possibility to download from the market when the data only

    settings > battery Manager & data > data saver > turn it off (read the list of questions that will not happen with that active)

    search with other data settings too...

    other that that... many people do report problems with long expectations with market market so-called 3.1.3 3.1.5 is available

    nyse133> try an erasure of the data of the market, it should simply be using a google account setup in the phone itself

    Yes, Buffalo , it's a horrible update... a lot of people have a lot of problems with the slowness and the stability of the new market

  • Issues related to the cell property node: Position Active for a table control

    Hello

    What determines the Position of the Active cell in a table control property node? I have this in my code and display the value of an indicator on front panel. The displayed value is always set to 0,0. Help for the property node says it's "read - only" so what defines the Position of the Active cell in a table control value?

    Define you the active cell with a property node.  Once you select an active cell, you can do this cell and single cell-specific things, things like the background value color.

  • issues related to the multi media

    My PC for some reason any deleted my sound drives for my Media Player, where is the best site to download free one; s without registration.

    concerning
    Colin Preece

    Start with the website of the manufacturer of your PC. Looking for support/downloads etc. If your PC is unmarked (i.e. a custom build) start with the motherboard manufacturer's Web site or, if the sound is provided by a card, look at the website of the manufacturer of the card.

    If you get to this generic help you give us more generic information, i.e. brands and models of PC/motherboard and/or hardware. Using XP 32-bit or 64-bit? etc etc - see how to ask a question...

    http://support.Microsoft.com/kb/555375

    Tricky

  • Small issue related to Pocket projectors

    I bought a Pocket projector a while for personal meetings, I had to do. I use it once in a while, but I want to get more mileage out of it. I want to buy a rocket (not really a fan of apple products) and I found a great deal on one locally. My question is: what kind of video on the capabilities of the "rocket"? It would be easy to hook up to my projector? From what I can tell, the aaxa p2 a vga Pocket projector, a / v out, headphone jack and a miniusb port. I can't seem to find a cable "sansa fuze" on the site of aaxa so I will try to know what I need to get before I pick up the "rocket".

    http://www.aaxatech.com/products/p2_pico_projector.htm - click on accessories. they have only ipod/psp/zune. Made the "rocket" a / v out as the zune? This might work if she does. Help, please!

    For now, I put just videos and images directly on the device, but there only 1gig of memory onboard. I thought I was doing the "rocket" to double as something that I can use to watch videos and go to the gym with.


  • issues related to Internet explorer 9

    I have downloaded internet explorer 9 and it does not run. However, when I go out of my session there are an error message that the internet has stopped working and my hp Pavilion is looking for a solution. I've never had this problem before you download explore 9. all solutions?

    funny177 wrote: I have no problem going back to ie8... How can I do this?

    Hello funny177, if you are using Windows 7 and maybe even Vista, you can go to the Control Panel, programs and features, look in the upper left corner of the screen and click on View Installed Updates.

    You will see a window that shows all the updates that have been added to your system. Just look for Internet Explorer 9, right-click on it and select uninstall.

    Internet Explorer 9 will be uninstalled and Internet Explorer 8 will be automatically reinstalled as default browser.

    You can check the updates for Internet Explorer 8, and will often remind you to try Internet Explorer 9.

  • Issue related to the creation of administrator user accounts

    I've recently set up a new password user admin account on my laptop. However my standard account still allows me to see the content without asking for the password. I'm doing something wrong?

    It depends on security context.  If you use a single account, but trying to access files stored on a user admin account, you will be prompted for a password.  If you don't want this, you can adjust the folder security permissions to give other access to the account.

  • Issues related to the format of mail in email

    A few days ago changed the way my e-mail address is shown. I used to click on mail and it would show a descriptive list of each messge. Now, the message is displayed. I want the mail format I had before with the list of the text messages. Help!

    Original title: A problem

    If you are using Windows Mail: reviews | Layout and uncheck the preview pane.
     
  • Issues related to the parental control EA6900

    I have my setup of parental control to block access from 22:00 to 09:00 however, it does not automatically access when the time changes to time 'unlocked '. Curiously, it still shows the message 'parental control block. I have to disable the parental control to allow access to devices after 9:00 and then it must reactivate at 22:00 to block access again.

    I've also updated the latest firmware (1.1.42.161129). It does not seem to be 2 versions (V1.0 or V1.1), however, these two seem to be the same file. I used the correct version for my router (V1.0).

    I want to stay with what you have for now and look to see if it works on some devices. Check that the clock on the router is configured correctly. See also if certain sites are blocked and others not. I think there's a bug where some sites using https:// is not to be blocked but http:// did. It worked correctly before the upgrade? Remember you of what was the old version? The cancellation is made by the interface of the router and there is a button to restore but still, if restore you an unwanted version which isn't good either. Better do small things first.

  • EA3500 issues related to Internet wireless

    Hello world

    We had trouble with our EA3500.  I spoke with tech support but could not afford it, so they sent me here.

    Our EA3500 works well, sometimes, not others.  It seems that there is a problem with the wireless internet signal.  For example, I can be reviewed online very well when I am connected to a LAN, but all of a sudden, internet wireless will cease to function without apparent reason, even if connected wireless devices must complete signals.  When this happens, all connected in LAN devices still work while those connected wireless are not.

    Until I finished the call with the Linksys tech support, they mentioned that I might need to update my firmware.  This could be the case.  I'm on a macbook pro 2007 at this time, and update Linksys program comes to about 88% complete and then informs me that the update failed.  Don't know what that means.

    Where should I go from here?  Any help would be appreciated.  I must also mention that we have a RE1000 about 50 feet away from the router, and I'm not sure if that plays in this.

    Thank you very much!

    Johnny

    Here is an example of good wireless definition for this router also, I recommend the classic firmware.

Maybe you are looking for