Including external containers in a compiled file cod w / Eclipse plugin

I am trying to include a jar in my application using the Eclipse plugin.  I looked around forums and so far I got mixed messages.  On the one hand, there is a KB referring to the addition of a jar in an application in the present case:

http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_To_-_Compi...

The original thread (http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&thread.id=6403) referred to in article, but response from the MSohm said then that it is not possible in eclipse still to include 3rd party jars in the application.  It was a few months ago and I was wondering... What is the authoritarian response?  

Personally, I was able to relate the pot in my application in Eclipse (make the pot its own project and have a dependency of project on this issue) and the Simulator successfully to recognize that the two projects/modules are present.  However, once I have create the cod for my application file and load it into my device (via javaloader command line method), the dependent project was not deferred.  It seems that the Simulator just starts up two 'projects' but is not really associate them in the file of the Cod.

To answer my own question: the mistake that I did, it was that I was without specifying the COD files in the form of RIM-COD-URL-#. After the have rewritten the JAD file accordingly, everything worked fine.  Here's a quick example provided by Eric Giguere.

MIDlet-Version: 1.0.0

MIDlet-name: My Silly App

MIDlet-Description: wish he would do something
MIDlet-vendor: RIM should buy us fortunes, Inc.

RIM-COD-URL-1: library1.cod
RIM-COD-size-1: 15088
RIM-COD-URL-2: library2.cod
RIM-COD-size-2: 7963

RIM-COD-URL-3: sillyapp.cod
RIM-COD-size-3: 41923

Hope that helps.

Daniel D.

Tags: BlackBerry Developers

Similar Questions

  • When you drag the file on the external drive I get the error code-43? What it means? How to fix? Thank you!

    When you drag the file on the external drive I get the error code-43? What it means? How to fix? Thank you!

    Restart the computer and try again.

  • When I try to back up my files to an external hard drive I get error code 0 x 8000700020 how to stop what is happening

    Original title: Ox8000700020

    Hi, when I try to back up my files to an external hard drive I get error code 0 x 8000700020 how to stop what is happening

    Double post: http://answers.microsoft.com/en-us/windows/forum/windows_other-performance/ox8000700020/3c708968-5d37-40dc-97ef-2a44b72ca5fc

    I have merged the new post with the original question.

    -steve

  • Try to include external jar in Eclipse IDE, but it does not work

    Hello world

    I try to use the BB for Eclipse plugin.  I saw the other posts in the same direction as mine, but nothing seems to solve the problem or the person was referring to an older version of the plugin.  I try to include a jar named J2meMap_lib_cldc11.jar.  Here's what I've done so far:

    I created a new Blackberry project called J2MEMap.

    I right-click on the project and select Properties.

    I go to the Blackberry project properties. Click on the Application tab.

    Under Project Type, change in library.

    Then, I go to the Java Build Path.

    I go to the library and add the jar as an external library file.

    Click OK.

    Then, I create a new Blackberry project named MyApp.

    For this one, I'm doing a moped.

    In the Java Build Path, I add the J2MEMap project as a project dependency.

    First thing I notice is that MyApp has compilation errors because he doesn't seem to find the jar file in the other project.  If I look in the Console of the Blackberry manufacturer, I see the following error when I Isaiah to compile the J2MEMap project:

    C:\programs\opensource\eclipse\plugins\net.RIM.Eide.componentpack4.5.0_4.5.0.16\components\bin\launcher.exe C:\programs\opensource\eclipse\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\bin\rapc.exe-silencieux import =...... \.. \.. \.. \.. \programs\opensource\eclipse\plugins\net.rim.Eide.componentpack4.5.0_4.5.0.16\components\lib\net_rim_api.jar;...... \.. \.. \.. \.. \programs\opensource\j2memap\sdk\cldc11\J2meMap_lib_cldc11.jar library =... \J2MEMap\J2MEMap warnkey = 0 x 52424200; 0 x 52435200; 0 x 52525400 - sourceroot = C:\Local\develop\eclipse\workspaces\psu\J2MEMap\src C:\Local\develop\eclipse\workspaces\psu\J2MEMap\bin
    Error! : not found of course
    CAP has failed for the project J2MEMap

    Previously, I did not receive this error, but I began to acquire a reason any.  I am able to generate the Midlet example that comes with the JDE and deploy and run on the Simulator.  For some reason, I can't get libraries to work properly.

    Thank you

    Eric

    In fact, I thought that I'm answering my own question in case someone else has the same problem.  In the library project, I had to go to the project properties and go to the Import/Export, and then select the external jar as one of the elements that must be exported.

    Thank you

    Eric

  • Table external slow access of compiled PL/SQL, quick of SQLPLUS

    I'm under Oracle Standard Edition One 12.1.0.1.0 Windows x 64.  Small and simple external table queries since met PL/SQL are run very slowly with a second 18 delay, but the same sqlplus queries run very fast, both on the same instance.  I ran Profiler DBMS and debugged PL/SQL to confirm that it takes 18 seconds to query the file header record in an external table in PL/SQL, but the same exact sqlplus query runs in 0.07 seconds.

    This seems very odd.  I searched online and OTN, but I can find no example of why this would happen between the two access methods in the same instance.  Something is suspended until the execution of the external PL/SQL table compiled very hurt to be 18 seconds vs 0.07 seconds of sqlplus.  Before you buy the license Oracle I tried the table external access on trial Enterprise Edition on a laptop Windows x 64 where approaches both the PL/SQL and SQL executed just as fast (0.07 seconds in this case).  The main difference now is Standard Edition and Enterprise and production running on a Windows x 64 server.  I have no parallel enabled in the environment.

    The log file of external table displays this information message:

    KUP-05004: WARNING: disabled source Intra concurrency because select parallel is not sought.

    I think it's just because I'm not under parallel access on the external table.  The message is the same if the questioning of PL/SQL or sqlplus.

    It seems to be something coherent overall of all external PL/SQL tables in this case, because I studied 3 external tables and they all almost exactly 18 seconds later to PL/SQL vs sqlplus, even if number of rows of tables outside and requests files access to them are different.

    How can I know which slows down access PL/SQL method and correct to my production programs?  I created a test case and ran to share results:

    I create an external table of test:

    -Create table

    create the table TEMP_EXT

    (

    Field1 VARCHAR2 (10),

    VARCHAR2 (10) Field2.

    field3 VARCHAR2 (10)

    )

    external organization

    (

    type ORACLE_LOADER

    STRATESIS_DATA_DIR default directory

    access settings

    (

    RECORDS DELIMITED BY '\n '.

    BADFILE STRATESIS_LOG_DIR: 'temp.bad'

    STRATESIS_LOG_DIR LOG file: 'temp.log'

    NODISCARDFILE

    FIELDS TERMINATED BY ', '.

    SURROUNDED OF POSSIBLY "" "

    MISSING FIELD VALUES ARE NULL

    (Field1, Field2, field3)

    )

    location (STRATESIS_DATA_DIR: 'temp.txt')

    )

    reject the limit 0.

    I already have the directories above put in place in the database.

    I create a file temp.txt in the above data directory. It has two rows:

    Field1, Field2, field3

    2field1, 2field2, 2field3

    I create an autonomous PL/SQL procedure (not in a package, but I get the same result if I put it in a package):

    create or replace procedure tryplsql is

    l_field1 temp_ext.field1%TYPE;

    l_field2 temp_ext.field2%TYPE;

    l_field3 temp_ext.field3%TYPE;

    BEGIN

    SELECT field1, Field2, field3

    IN l_field1, l_field2, l_field3

    OF temp_ext

    WHERE field1 = "field1";

    Dbms_output.put_line(l_field1 ||) ',' || l_field2 | ',' || l_field3);

    end tryplsql;

    I run as a sqlplus pl/sql procedure:

    SQL > exec tryplsql

    Field1, Field2, field3

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:17.68

    SQL > spool off;

    It takes almost 18 seconds?

    I performed the simple query of sqlplus and it's quick:

    SQL > select Field1, Field2, field3 from temp_ext where field1 = "field1";

    FIELD1 FIELD2 FIELD3

    ---------- ---------- ----------

    Field1 Field2 field3

    Elapsed time: 00:00:00.01

    SQL > spool off;

    Very fast 0.01 second.

    I run the following block of sqlplus:

    SQL > DECLARE

    l_field1 2 temp_ext.field1%TYPE;

    3 l_field2 temp_ext.field2%TYPE;

    4 l_field3 temp_ext.field3%TYPE;

    5

    6 BEGIN

    7 SELECT field1, Field2, field3

    8 l_field1, l_field2, l_field3

    9 FROM temp_ext

    10. WHERE field1 = "field1";

    11

    12 DBMS_OUTPUT.put_line(l_field1 ||) ',' || l_field2 | ',' || l_field3);

    13

    14 END;

    15.

    Field1, Field2, field3

    PL/SQL procedure successfully completed

    Elapsed time: 00:00:00.01

    SQL > spool off

    It is also very fast.  In SQL, and even a PL/SQL block sqlplus are fast, but a procedure have complied is slow?

    I have a lot of packages, procedures, functions, etc., running very fast in the DB as long as there are no external table access (no time 18 seconds).  I ran DBMS Profiler on several sections of code - in all cases, that the call to the external tables takes 18 seconds.  I tried to debug PL/SQL and again the request to the external tables takes 18 seconds every time.

    Probably something obvious I'm missing, but I am confused.  Any help is appreciated.

    Support of Oracle has identified the issue as a known bug in 12.1.0.1.   Bug #18824125

    The workaround until patched is drop the PL/SQL as sys (not a good option), or to grant any directory of the user who executes the PL/SQL will be launched.  It worked.

  • Zip file Cod siblings?

    Hello

    Why a file COD has cod brother files? I don't make reference to all the external libraries, when I started I've referenced external libraries, but in the end I just add libraries for my current project instead to reference.

    Thanks in advance

    A cod has cod brother once it reaches more than 64 k in size.

  • How do I compile the code and generate the cod and JAD mode command line?

    I'm looking for an option to compile my application using the command line and to build the JAD files & cod.

    I developed the my application in Blackberry JDE and I need to transfer my app on my BB device without construction of JDE. It should be done using the command line only.

    Can you guide me?

    Thanks in advance,

    Bala.

    This can be done via Ant BB tools

    Check the homepage of BB Ant tools for instructions.

    If you are not familiar with Ant, see Apache Ant home page before checking the Tools Ant BB.

  • Is it possible to have a block of text from an external source (ex. TextWrangler file) load in multiple pages (file TW exodus as an "insert" in 4 different pages on a site)?

    Is it possible to have a block of text from an external source (ex. TextWrangler file) load in several pages on a site in the 'performance' (e.g. TW file as an "insert" in various pages)

    Use SSI. If you're on a PHP server just use the PHP include, if not take a look on SSI: the command Include

  • How can I use an external HTML form with a file upload in my page of MUSE?

    How can I use an external HTML form with a file upload in my page of MUSE? I know I can insert an external form, but how do I create a link to my email

    Yes, in most cases. If it is not in your actual embed code, you will need to be added to the script that uses the code. There are literally hundreds of form manages the codes out there on the web, it would be impossible to tell you exactly where it needs to be added. Your best option is to use a third party such as JotForms or WooForms shape provider and use the third Muse Widgets for these services.

  • DAQmx PDM, add the external value to the log file

    Hello

    I would like to know if it is possible to permanently add an external double value to the TDMS file that is created by the DAQmx Configure logging (PDM) VI?

    Thus, for example, I collect double data of 8 channels, DAQmx, speed of 1 Hz (analog double, 1 d). I'll get these 8 values with corresponding time stamps in the TDMS file created. Is there a way to "tunnel" a double value external to the same TDMS file?

    If there is no such option, I will configure just the TDMS logging explicitly not through the DAQmx driver.

    Thank you!

    with any possibility of foor loop iteration time zero will give you a default value of reference if your reference will not be valid in this case.

  • Creating a file .cod for BB6/7/8

    Hi all

    I'm working on request BB10, now for backward compatibility is it possible to create file .cod with the same code with I create for BB10 .bar file.

    I can't install file .bar directly on BB6/7/8?

    Please help me in this.

    You cannot install a BAR on BB6/7 (there is no 8). The architecture of the platform for the operating system under QNX Java and this has changed the way applications are bundled. You must recompile your code using the SDK BlackBerry WebWorks for Smartphones to generate a COD file.

    There is no guarantee that all the features will not work since the platform has changed since then, especially in terms of HTML5 support, changes in config.xml and performance platform.  If you use HTML5 features that have been supported only on BB10, will not work on BB6/7.

    However, I expect that you will be able to re - use a lot of content in your application when re-packaging for older BBOS.  It may require changes to your application.

    If you make use of any APIs WebWorks in your application, please consult the tables of platforms supported in the reference of the API for compatibility:

    https://developer.BlackBerry.com/HTML5/APIs/

  • Replace the file cod app already on the review for approval

    Hi, I submitted my application for approval a week ago and during the waiting time (this week), I found a critical error on my application, so I quickly got it repaired. However, the application form wouldn't let me exchange the cod file. I need to change it before it arrives on the app world, so that users would not complain about this!

    Please tell me how to swap the file cod prior approval or a person to contact about this problem. Much help is greatly appreciated!

    If there is absolutely no way to swap or person to contact, can PS I cancel the application for approval and submit a new application?

    Once your application is approved, you get an option for post-it for sales. You are not required to post immediately for sale, so you can submit another version for approval. Updates are approved more quickly (day or both) and after that, you can validate the app for sale.

  • External table with the empty file

    Hello

    My version of db: Oracle 11 g

    I have a csv file that is empty.

    I created an external table the empty csv file.

    When I run:

    Select count (*) in the externaltblname;

    It returns 1.

    It should return 0 to the right.

    In the definition, I specified "SKIP 1.

    But he always returns 1.

    When I use this external table to load into a table target. It loads a single row with null values.

    How to solve this problem. Please advice.

    What works for me is the following (t_ext points to a blank csv):

    SQL > select count (field) in the t_ext;

    COUNT (FIELD)

    ------------

    1

    1 selected line.

    SQL > select ascii (field) in the t_ext;

    ASCII (FIELD)

    ------------

    13

    1 selected line.

    SQL > select count (replace (field, chr (13))) of t_ext;

    COUNT (REPLACE (FIELD, CHR (13)))

    -----------------------------

    0

    1 selected line.

  • External hard drive for source files

    Windows 7. Body CC x 2014

    I would like to set up a or external hard drives for source files so that I can change my laptop on the location of a specific project (that is to say, I can't use my office)

    What is the best solution?

    * USB 3 SSD

    * USB 3 at 7200 RPM hard drive

    Can I use two external USB 3 drives?

    Can I quote the external drive so that I have no file linking issues?  IE the volume name remains the same whenever I have to reconnect to it?

    * I ask here first of all because I have to buy the appropriate disks until I can test anything.

    Thanx.

    USB3 for SSD is the fastest solution. Set both computers to use the same drive letter of the volume on the port USB3, for example of letter P for portable in disk management. For a second port USB3, you can use a different volume drive letter.

    Simple steps:

    1. Format the drive and give a volume name.
    2. In disk management, assign a drive letter, for example P.
    3. Connect the drive to another computer and repeat step 2 here.

    The volume name remains unchanged and the drive letter remains the same on both computers.

  • Table of contents by default image compiled file

    X 5, generation of HTML using HTML HR, help. The compiled version does not open to the table of contents. How to set the table of contents to appear as default frame in the compiled version? Right now, the compiled file opens on the Index tab.

    Hi all

    Tina, if you're simply by double-clicking on the CHM file to open it, note that it will simply open any tab was visible when you closed last. Of course, you can configure the table of contents to be the default tab, but it will work only the first time that the user opens it. If your user name switches to the Index and has this visible tab and closes the CHM, it will open to the Index when they open it again.

    If your CHM file is connected to an application, your application developer can open in a mode where the table of contents is this little matter how it was last closed.

    Hope this helps... Rick

Maybe you are looking for

  • Re: FN keys do not work in Windows 8

    Hello a certain deleted my previous post, if iam repost it, w What I remembered, is that my wireless worked fine, until my laptop when he died, the os after I rebooted the laptop, everything worked fine except my WI - FI, I mean I activate on mechani

  • Connect to the internet on and off Skype

    So I had this problem with Skype, internet connection. The rest of my things internet related (Internet Explorer, Firefox, Edge, etc.) are able to connect and can do so consistantly, but Skype let hollow being connected (for 2 minutes) looking for a

  • How can I cancel Apple music family subscription?

    I want to cancel the family membership of music Apple.

  • System does not

    out of the blue, my engine failure to search for google chrome, changed my position of moose from Singapore to hong kong google page. While I was trying to play with him to return to its original setting, my Start button became unresponsive. When I c

  • Request for use of the virtual computer RAM

    Hi all I have 3 x VM running to work in a box, each machine was given to 16 GB RAM allocated. My confusion is when a virtual machine starts and become inactive, the memory usage levels out and remains the same (as you know).  However when an applicat