How to use the project lib with blackberry projects.

Hello Experts!

I have a project that I use on many projects like setting but still I deploy my application on the device that I need to uninstall the other application that use it to install my new application, I doubt if I can generate a unique .cod with frame embebed...

All of the suggestions.

Best regards, Rampelotti

I think I understand your problem, but can be interpreted wrong but here is my answer anyway.

It is possible to create a library/framework .cod file and then use it in several projects without having to copy and duplicate code in other applications.

Just put all the common code in a separate library/framework project and compile it.

When its compiled, you will see not only a .cod file, but also a .jar file.

Include the .jar file in your new project under the Build Path/Library files.

After that, using the full qualified namespace, you can import the classes and use the library files in as many projects without code duplication in multiple applications.

Note: You need to include the .cod with the project file and add the correct additional lines in the .jad file and .alx files during deployment.

Let me know if you need more explanation on what it is.

If this was the answer you were looking for then don't forget to tap on accept the solution, otherwise I may not understand what you said but would like to help futher.

Tags: BlackBerry Developers

Similar Questions

  • How to use the gateway carrier on BlackBerry J2ME WAP?

    How to use the gateway carrier on BlackBerry J2ME WAP? Because the default gateway on BlackBerry is "blackberry.net". How to hard code in the application to force the application to use the WAP gateway? An example of code? Thank you!

    You can specify the specific settings of the WAP gateway within the Connector.open () method. There is a knowledge base of any developer this article here:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is_-_Different_ways_to_make_an_HTTP_or_socket_connection.html?nodeID=826935&vernum=0

  • How to use the ESD document with structured templates

    Hello

    I started to learn working with SEDD. I have an existing ESD, now I'm suppose to use it to create documents. I created a new book and imported this ESD file to it. I can see all the items in the catalog of the element. But when I start to add items to the book and add a new document, the elements are turning to red. Referring to the User Guide, it is said EDD cannot be used directly and must be used with structured patterns. But I do not have these models structured with me. Can someone please tell me how to create these structured templates and how to use the ESD file with these models, and out of this problem.

    Thanks in advance.

    Although ESD exist in the form of a separate document, the only way that it can be used is when it is part of the model. As a model of structured FrameMaker, a structured model contains master pages, pages reference, character formats, paragraph formats, etc. IN ADDITION, a structured model contains a DSP. To add the EDD to your template file, or any document FrameMaker who will use it, open the template file and the file of ESD. Click anywhere in the template file, and then select file > import > element definitions. In the dialog box, select the EDD file as source and click Import. Then save the template file.

    To use the template file, open it and save it as a FrameMaker document, giving it the name you want. You can now create your structure.

    If you use a book, all documents in the book must use the same ESD. Open the template file. In the book file, select all the documents in the book. Then select file > import > element definitions. In the dialog box, select the template file and click Import. Once completed, all documents in the book have the same ESD. In addition, ESD is copied into the file of the book itself.

    You say:

    But when I start to add items to the book and add a new document, the elements are turning to red.

    It is is not clear to me what you do. While it is true that SOME elements of a book are in the book file, you cannot add a book of items in the folder (at least not as far as I know). In general, the book file, it encapsulates elements around the documents root elements in the book. You may need to update the book to get a part of the Red disappear lines. You may need to rearrange items in the structure of the book to remove the red lines.

    Hope this helps,

    Van

  • How to use the TRUNC function with dates in the expression builder in OBIEE.

    Hello
    How to use the TRUNC function with dates in the expression builder in OBIEE.
    TRUNC (SYSDATE, 'MM') returns 1 July 2010"where sysdate is July 15, 2010 ' in SQL. I need to use the same in the expression builder in the logical layer mdb column.


    Thanks in advance

    Use it instead:
    TIMESTAMPADD (SQL_TSI_DAY, (DAYOFMONTH (CURRENT_DATE) *-1) + 1, CURRENT_DATE)

  • How to use the "Toshiba controls" with other players?

    Heey

    I have a Satellite with Toshiba controls. How can I change so I can use the buttons for other media players and not only Windows Media Player?

    A dude sorry for the bad news, but I fear that it is not possible to use the Toshiba controls with another application as with WMP (CD) and WinDVD (DVD)
    I think that the utility was already programmed and designed to use only these two applications.

  • How to use the video port with Vista on Qosmio G30

    Im running windows vista Ultimate edition.
    How to use the monitor in port?

    The Composite (in the port monitor) port is placed to the right.
    With the video component cable software plug-in delivered a CATV or satellite box can be connected to the computer to watch channels.
    You can for example use the Qosmio Player or Windows Media Center to watch other channels.

    As much as I know the ultimate Vista supports Windows Media Center, Windows Media Center HDTV.
    You should read some more details on your new operating system!

  • How to use the project from first pro in SG?

    I can't put my project in grade CC speed

    How can I do?

    Please help me.

    If you are using the latest version of PrPro, 2015.3/build 10.3... even if they kept the 'extra' looking for the CC part number from 2015.2 to 2015.3, if you look at the version numbers, 2015.2 is a "9.x" version, and 2015.3 is a version "10.x.

    Essentially, for some reason, they kept the main 2015 'name' but put on what we expected all in 2016. This update 'dot' was actually a major or full-release upgrade. With the changes.

    And... it was decided somewhere... the Panel of Lumetri to PrPro 10.3 was sufficient for the ranking that someone has actually done in PrPro, they is no longer necessary to maintain the directly in the process of SpeedGrade or "Direct link". As they have said their internal 'number' did not show a lot of people using the process to link Direct to SpeedGrade. If you go to the forum of SpeedGrade, there is a thread about it from this view instant 10 126 and several pages of posts.

    So... you can have the two 2015.3 AND 2015.2 'live' on the same machine, as they are completely different versions. In 2015.2 you can always Di - L on SpeedGrade. But you can't 2015.3.

    There is a thread on the forum of SpeedGrade on a workaround or "hack" one of the users posted, that allow to take a 2015.3 project and change the project on a single row header so that you can take the project open in Sg 2015. It has been tested on Mac (the OP is a Mac person) and on the PC by myself and a few other people.

    While I have not heard of anyone having problems with a project worked through this process, it IS NOT OFFICIALLY SANCTIONED. I've used it, as others... but ONLY after making a backup - as with a project in PrPro 2015.3, taking WHILE the version of the file through the process of this thread, while it is guaranteed a clean, workable project file is something didn't translate.

    Here is this thread in the statement process:

    PrPro/Sg 2015.3 solution Hack

    And here is a link to the Adobe-bug/feature request form. The forums of users like this are not place management Adobe monitors requests user & happiness... us, users must complete the forms of bug/feature because they are the communication ONLY the user base for the management people who decide budgets for corrections, features, and improvements to the programs. This judgment of SpeedGrade usability is a bad thing for you, please drop!

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform

    Neil

  • How to use the Satellite P100 with MS Vista and MS Bluetooth stack?

    I use my P100 Sat for more than a year. I just reinstalled Windows Vista Ultimate from zero, and because I'm really not so satisfied Bluetooth Toshiba stack, I try to use the battery Bluetooth Microsoft original, which comes with panoramas.

    After reinstall, Windows found BT device and installed MS BT stack. Everything worked well, but ufetr downloaded and installed tons of updates SP1 included, peripheral BT disappeared completely. I found a few articles on how to Toshiba battery BT from Microsoft, but it seems to be a collaborative XP and above all he always need to install "Bluetooth Monitor for MS Stack", but I cannout find this download to MS VIsta.

    Can anyone help? Thank you!

    Great!

  • How to use the Gif image in Blackberry android runtime

    Hello

    I deploy an android app in blackberry 10. All that it works well in blackberry 10 except gif image. In app android gif image is displayed using the AnimationDrawable from the link

    http://developer.Android.com/reference/Android/graphics/drawable/AnimationDrawable.html

    So how to use blackberry 10.

    Is it possible to use GIFs in blackberry 10.

    Please suggest.

    Thanks in advance.

    Hello

    I found the solution.

    He needs of the gifDecoder and gifDecoderView classes and following code extract

    Mode, mode = inflate.inflate (R.layout.layout_gspot, null);
    GIF GifDecoderView = view.findViewById (R.id.gifView) (GifDecoderView);
    gif.setGifImageFromAssets ("abc.gif");

    and following the layout code

    <>
    Android:ID="@+id/gifView".
    Android: layout_width = "120dp."
    Android: layout_height = "120dp."
    Android:layout_alignLeft="@+id/textView1".
    Android: layout_centerVertical = "true".
    Android:background="@Android:color/transparent" / >

  • How to use the Muse Widgets with Dreamweaver presentations

    I've been building websites with Dreamweaver for years

    -are particularly interested in some of the Widgets Muse and you're wondering how to integrate to existing sites built with DW?

    Please notify

    WillzShire

    Although it is possible to export the model Muse in Dreamweaver, I would advise not to do. At this stage of his development, Muse is very suited for the HTML/CSS illiterate. But once you want to create interactivity as a contact form, you will need to encode the file using the likes of Dreamweaver. Once you have worked on the file in Dreamweaver, you cannot return to the use of Muse for changes.

    With the foregoing in mind, if you have a knowledge of HTML/CSS, there should be no reason to use the Muse; all of the widgets used in Muse are available for Dreamweaver, but in another format.

  • How to use the turbo speed with dual‑core 1.6 GHz 1.6 GHz Intel Core i5 (tot Turbo Boost 2.7 GHz)

    I have a processor;

    1.6 GHz

    Dual‑core 1.6 GHz Intel Core i5 (tot Turbo Boost 2.7 GHz)

    How can I use the turbo boost for a game?

    Although I don't really recommend it, you can use the application as described in http://osxdaily.com/2016/07/13/disable-enable-turbo-boost-mac/ . Your iMac i5 should support it.

  • How to use the Substring function with Case statement.

    Hi all

    I have a requirement where I have to use the substring function on the ground for the report criteria.
    FOR EXAMPLE
    I branch domain name where I have all the information of the branch names, now some of the branch names are too large with an extension after the name.
    now I want substing it, but the length of characters varies for each branch.
    so is it possible where we use a box where we can define if the character of name plug exceed a value then he substing with this length.

    Try something like this:

    LENGTH WHEN CARTER (tablename. Branch_Name) > n THEN SUBSTRING (...) Of ANOTHER tablename. Branch_Name END

    where n is the number of characters that you want to start the break.

  • How to use the external screen with my Satellite M30?

    Hi guys, I have the following problem:

    I have a portable Satellite M30-642 former. My keyboard it is completely broken (spilled something on it) so I use an external USB keyboard.

    Now that I bought a TFT I wanted to use it as a primary device, so I need to take the laptop to the external output.
    The laptop itself recognizes as a secondary screen already, but this isn't what I want.
    Problem is I can't switch from the display without the FN key devices!

    I tried to search the net and this forum - but the solution posted does not work for the M30. There is no option in the utility of HW and not in the BIOS to enable the external keyboard support.
    Please is there any other combination of keys that would work or a software utility that allows me to turn on? It's a really bad situation for me :(

    All solutions anyone? :(

    Greetings and thanks in advance
    HQ

    Hello

    Please don't be crazy on me but I write here very often and somehow try to help, but I'm still irritated if someone thinks that anything is possible. Unfortunately, you have to accept that sometimes there is hardware limitation and there is nothing to do.
    I want to talk about primary and secondary monitor.

    On most laptops, the LCD is always set as primary and cannot be changed. So, as far as I know, without using the FN + F5 key combination you extend the desktop to external display and use both of them. Using display settings you should be able to switch to an external display only (display control panel settings NVIDIA advance settings and so on). Please test only because I don't have M30, but the principle is used the same.

    If you will be able to use external display only try to restart your laptop and see on which screen the office will be shown. If you will be lucky and office will be shown on the external display, try to extend the desktop to second monitor (laptop LCD).

    Good bye

  • Need for education better to learn how to use the web inspector with smart phone

    I've been trying to run the example of kitchsink webworks app for my Smartphone with web Inspector is not successful.

    Here's what I did.

    1 bbwp kitchsink.zip d

    2. sign the cod to the bin/StandardInstall/kitchsink.cod file

    3. connect to the usb port my 9930.

    3. javaloader my 9930 cod.

    4. disconnect the usb.

    5 startkitchensink app on the device.

    6 see popup 'Web Inspector 192.168.1.100:1338 online'. Click ok and see the app running with the initial page.

    7. on chrome desktop, type "192.168.1.100:1338", I see a hyper link "Web Works Kitchen Sink. I click on the link.

    8 see "192.168.1.100:1338/inspectorBB.html?page=1" on the address, but the screen is blank.

    9. I remember at the Conference, the port number is 1337. I tried "192.168.1.100:1337", but it says "Google Chrome not could not connect to 192.168.1.100:1337.

    I missed the steps detailed here?

    Thank you

    June Jorgensen

    Thanks for the information. I tried it on safari and web Inspector works with the smart phone.

    Do you know if there is plan for the future for the web to rework on Chrome Inspector?

    June

  • How to use the Camileo H30 with Power Supply

    Hello

    First: Excuse my English, im from Germany ;)

    I have a Camilio: 30. its has been purchased used. I've only had the camera & the original battery.
    No supplements (such as usb or power supply cable original)

    what I want: I need to shoot for a few hours. The battery is unable to do. so I want to use it with a block of power, but when I put in (throughh a mini-usb connector) of the camcorder goes into charing (no actions are possible), but I want to make full use of the feature when the power is connected.
    How should I treat it?

    I got an a 2, 25 a 5V power supply, I think its enough... or not?
    The label on the side of the camcorder bottum said 5V 2A...

    Thanks 4 help me :D

    Greetz

    Hello

    If the Camileo H30 and I got this camcorder with battery and adapter supporting USB mini jack.
    The s AC adapter camcorder supports the release of 2A and 5V
    Its model DSA-10 p-05

    Google for this model, maybe you could get one from some dealers online
    Otherwise recommend that you check the other adapters supporting these values.

    For example this one:
    http://www.toshibadirect.com/TD/B2C/Adet.to?poid=484958

Maybe you are looking for

  • Drive HARD of Equium A200 is not recognized on other laptops Toshiba

    I had an A200 equim but it is now broken, I wanted to put my hard drive in an another Toshiba, I tried the A100 as a friend had one, but would not work. I have another friend who has an A300 that I'll try the weekend but don't know if it will work an

  • Why can I not see my Iphone s 6 with 10 windows Explorer folders?

    Why can I not see my Iphone s 6 with 10 windows Explorer folders?

  • no active controls on the front after sub vi opens

    Hello I have a little difficulty with my VI. I run a sub my main façade of VI VI. The sub VI opens, but when it is closed all of the controls on the front of my main VI is no longer active (buttons etc. not clickable). I put counters on the iteration

  • cannot start.hardware unit-(Code 19)

    Windows cannot start this hardware device because its information of configuration (in the registry) is incomplete or damaged. (Code 19) Model: HP Pavilion Elite e9120y Desktop PC - System Diagnostics report - warnings-errors g = compact flash Failur

  • The results of Match lost color

    I use the node color model match looking for a model from a webcam. But the node may return one or two good results among ten times to win. For the other nine times, the node cannot yet to find the target. I tried to change a clearer webcam and adjus