Creation of a library project in Eclipse using a 3rd party library

Hello

I am new to BB development so I hope someone can help me please. I develop my BB application using the plug-in for Eclipse 1.1.2 BB and Eclipse 3.5. I have a master project of UiApplication and some other type lilbrary projects that my main application is dependent on. However, I now need to use a third-party library. I added an external jar file to the main application and if he compiled I get an error when I tried to run in a simulator that the module is not found.

So my main question is how to do, you use a third-party jar file? I searched the forums and found tips using Ant tools but I prefer to do it in the breast of eclipse or a tutorial, but this implies to use BB IDE but I would perfer to use Eclipse. I thought about it and found a suggestion to create a library project using the 3rd party jar file, but how does that happen? I added a lib folder to a project and the jar file, but I still had to add the jar file to my main application's java build path. To remedy this, I added the jar file in a src folder and made my main application dependent on the library project. However, when he tries to build it said the auditor does not, but I don't know where it is called for.

I have a jar, cod and alx and jad for a third file. Please help, I am sure that this should be much easier that it turns!

Since you already have the cod file, you can manually load the file of cod for your library of third party on the simulator by clicking the file menu in the upper corner of the Simulator window.

Afterwards, when the deployment you need to regroup cod library third party distribution with your application folder AND add the additional appropriate lines in the making .jad file.

(You need permission to do with third-party library).

If you need to compile the .jar file in a .cod file so you can find instructions to do it here: http://developers.sun.com/mobility/midp/articles/blackberrydev/#4

I hope this helps.

Tags: BlackBerry Developers

Similar Questions

  • How to get the Media Player 12 to support id3v2.4 tags either directly or indirectly using a 3rd party plugin.

    original title: id3v2.4 MP3 tags

    Hello

    someone knows how to get Media Player 12 to support id3v2.4 tags, either directly, or indirectly using a 3rd party plugin. I use a program (Traktor Pro) which is a djing software. It reads my music library and writes specific tags such as BPM id3v2.4 format for MP3 files. After that, WMP cannot display MP3 tags because it seems that you can not read this latest version of id3 standard (which incidentally seems to be interrupted since 2000). End result is that any MP3 in the library seem to be corrupted / lack of tags in WMP12 after being accessed by Traktor Pro

    See you soon

    Shane

    Mr. Gonk,

    WMP and WE can read mp3 2.4 tags but can not write them.

    ERGO WMP works with 2.4 tags. So where is the problem?  Personally I use a 3rd party editor to write tags (more powerful and you can do more things).

    My 2 Euro cents

    See you soon,.

    Jerry

  • I used a 3rd party to move thunderbird files, but do not remember what it's called

    I used a 3rd party program to move my thunderbird files a few years ago, but don't remember what it was. It worked very well and want to use again. I think it was mozip or something like that.

    Sounds like MozBackup.

  • I want to develop an application with the Ribbon UI by using a 3rd party control

    I want to develop an application with the user interface of the Ribbon using a 3rd party control, that I have to get a license from Microsoft? How?

    original title: license of the Ribbon user interface

    I want to develop an application with the user interface of the Ribbon using a 3rd party control, that I have to get a license from Microsoft? How?

    The only a link I found on this page does not (http://msdn.microsoft.com/en-US/office/aa973809).
  • Is it possible to add articles without using the 3rd party blog widget?

    I develop a news Web site, is there a way to add items without using 3rd party blog widget? I want that article to read on my site not on tumblr or Wordpress

    I am looking for another way to do it, rather than make a new page on muse, whenever I want to download an article. There may be a widget that would have a text editor and automatically performs a new page?

    Thanks in advance! (PS I'm desperate for answers, I always thought that if I ask here I would have not responded. This is my first request here)

    There is no automatic way to do it with Muse other than to create a new page each time. That said, if you are hosting on Business Catalyst and know well how it works, you can define articles, news, etc. directly on your site of Muse.

  • How can I configure my Airport Extreme in Bridge mode (use the 3rd party router)?

    Data sheet:

    Airport Extreme - v 7.7.7

    Luma Surround Wifi 8

    I recently bought a wifi (luminance) surround system.  It comes with 3 routers that you place around your home.  Unfortunately I still have stains died in my house I'm looking to add my Airport Extreme (AE) to Luma network.  Is it as simple as plug the AE to the network (via Ethernet) and the bridge mode selection in the configuration of EI?

    I can see the AE of my iMac, and it is green.  How do you know that actually extend the wifi of my router Luma range?

    I searched the forum and all messages dealing with this are several years old.

    Thanks for your time...

    Basically, you want to create a mobile network with your Luma and AirPort Extreme routers. As you said, the extreme would need to be connected to the luminance by Ethernet and reconfigured as a bridge.

    In addition, the following are also required on the extreme:

    • Wireless mode: create a wireless network
    • The network name must be the same as that used by the Luma.
    • The type of wireless security and the password must match that of the luminance as well.

    To 'know' that the extreme extends the network of Luma, simply consult the BSSID value in the drop-down of OS X Wi - Fi. It must match the ID of the airport on your base station. Note: You must hold down the option key before clicking on the icon of the free Wi - Fi connection.

  • Opening tools used as 3rd party tools for editing editing pictures?

    Guys, if you have open on your Mac and use the new application Photos...  Are you able to use Aperture photo editing tools at all?  It would be a great feature!

    None

    they are two completely different programs and different - with extensions in the Photos, you have many options for features additional editoing and with external publishers for extention of Photos, you can use any software editing like an editor for photos (this includes not dams such as LightRoom or APerture - simple editors)

    For more information on the available extensions, see Extensions for Photos for Mac Photo editing

    LN

  • Why should I use a 3rd party for video calling?

    I downloaded the latest version of Skype, and he says that I use for Skype BtvStack.exe. It cannot make video calls to my office. How can I change this! Thank you.

    Thank you very much! It fixed my problem!

  • Advantages, disadvantages of the use of 3rd party firewall vs WIndows firewall?

    At the suggestion of PA Bear, I open this thread to learn about firewalls.

    I have a Dell Latitude D600 with XP Pro SP3. I use ZoneAlarms free firewall. It seems however, ZA conflicted with my WiFi USB NetGear adapter and threw me the network after about an hour (in one place, totally crashing the machine to a blue screen). At the suggestion of the PA Pooh, I unloaded ZA and activated Windows Firewall - no more conflict.

    But I'm missing a couple of other functions, I had with ZA: - visual indication on the taskbar of traffic flow - permit/deny internet access to specific programs - completely locking all internet activity

    So is a decent firewall program that offers good firewall protection AND these conflicts of WITHOUT Extras?

    Or:

    Why should I stay with Windows Firewall and not look elsewhere for additional features?

    Ed

    Hey, Joel. Thanks for the reply.

    I liked the alerts because there seems to be a lot of things happening in the background that I had never heard. I enjoyed being able to see what was going on and kill him. "what do you say every time I open a file that you want to connect to the internet?"

    The other part is that I use my laptop and more in environments where I don't have an internet connection I do in coffee shops where I have WiFi. I didn't want the constant slowdown of who-knows-what-and-how-many programs to make repeated calls for a connection.

    Router? Everything I do is turn on my computer and plug my USB adapter and connect. (There's a guy at Starbucks, almost every day that comes out of three laptops and one buncha other things - it's his corner office!) I don't know what I'd do with a router - it's just me and my laptop and Starbucks (or elsewhere).

    Ed

    Hi Ed:

    If you use your laptop frequently on the public networks, a third-party firewall is maybe a good option. I detect not just since your original post. You should look at the link below for a list of the popular options. Comodo, however, would be my choice if I had to use a.

    http://www.techsupportalert.com/best-free-firewall.htm

    I do not vote for me I'm not here for points. If this post helps you, vote. Visit my forum @ http://repairbotsonline.com/

  • How to lock a folder OR file in windows without using the 3rd party software

    How to lock a folder OR file in windows without using any software of the 3 part,.

    Please help me if there is another way to lock.

    Hi kvegesna,

    To lock a folder or file in Windows XP, the only way is to encrypt the file or folder.

    How to encrypt a folder in Windows XP

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

    How to remove encryption from a file or a folder in Windows XP

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

  • Eclipse using Glassfish 4.1 web project cannot load libraries in the directory modules

    We installed the latest "Glassfish tools for Luna" (updated October 2, 2013) and created a new dynamic web project in Eclipse using Glassfish 4.1. When trying to annotate a class with "javax.enterprise.context.ApplicationScoped", he complains that "ApplicationScoped cannot be resolved to a type" well imported as 'import javax.enterprise.context.ApplicationScoped.

    Check the 'glassfish-4.1/glassfish/modules/' directory and it has cdi - api .jar that contains the class ApplicationScoped. But when checking for libraries project in eclipse, impossible to see such a pot.

    My configuration:

    Eclipse 4.4

    SDK runtime glassfish java: java 1.8.0_20

    Java development kit project: java 1.8.0_20

    Level of the compiler of the project: 1.8

    Aspects of the project: module web Dynamic Java 1.8, 3.1, Glassfish, Web 4.0 Extensions and Javascript 1.0

    How to solve this problem?

    Thank you.

    It seems that the cdi - api .jar is new to GlassFish 4.1 and tooling does not yet account for her. I'll open a bug as a result. In the meantime, you can work around this problem by manually adding the jar to the path of the project as an external library is compiled.

  • Using the third-party library

    Hello, I intend to use the 3rd party library in my application of cascades .

    I downloaded from GitHub and I compiled and generated the libNAME.so file.

    How to use this library in my application? - This could someone guide me please? I reading the articles, but it is not clear enough.

    Thank you!

    No, the file is somewhere else, I put it in a lib folder, but it is still linked with the full path, do not know if you can change that a relative path somehow, as is the PRI of the file that is automatically generated.

    the include directory has files of header in my case

  • Is it safe to use 3rd-party magnetic charger?

    I think about to buy the magnetic charger for my Xperia Z2 cable, but I am worried about their quality and their possible damage to the battery from the phone, I am quite satisfied with the performance of the battery, but how will this affect
    It? Also, linking to my normal wall charger adapter that I use for magnetic cable usb charging?

    Would be great if Sony had cable official magnetic charger except the docks. Thank you, best regards!

    Hello

    I used a 3rd party magnetic cable for a few months of battery to recharge my ultra Z and few of my friends use these cables for almost a year now and he has no problem with it.

    Yes, as long as the cable is of high quality, then avoid any injury.

    However, remember that you would use these cables at your own risk. I just shared my experience.

    You changed your answer, and here's the answer to your other hand > Yes, you can plug it into the charger, you got with your Z2 and that everything works perfectly fine.

  • I can not package for the project when I used the blackberry resource files

    I can't package the project when I used the blackberry resource files.

    Packaging HelloWorl project
    C:\eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\bin\rapc.exe-quiet codename=deliverables\Standard\5.0.0\HelloWorl deliverables\Standard\5.0.0\HelloWorl.rapc-sourceroot=C:\workspace\HelloWorl\.locale_interfaces; C:\workspace\HelloWorl\src; C:\workspace\HelloWorl\res-import=C:\eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\lib\net_rim_api.jar C:\workspace\HelloWorl\bin
    Cannot open the C:\workspace\HelloWorl\bin/com.helloresL.crb/ dir
    Error! : error: auditor failed: C:\eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\bin\preverify.exe d C:\DOCUME...
    Packaging project HelloWorl failed (taken in 0,219 seconds)

    I have fixed my problems, I was using a unicode language in windows, so I changed the language for non-unicode format.

  • Setting up a project in Eclipse

    Hello. I'm trying to set up a project in Eclipse. This is the structure that I'm looking for:

    MyApp (a project of BlackBerry)

    MyCompany_Core (a regular Java library

    | - src

    | - com.mycompany.core

    | - test

    | - com.mycompany.core

    Basically I want a BlackBerry project and a Java project that includes my basic logic and a unit tests. Anyone know the best way to implement? Are there any article or sample plans describe this?

    I tried it myself and while I can get a partial success, I'm a very unstable project. For example, when I close and restart Eclipse, all my files in src/com.mycompany.core are replaced by links to the files and all files in test/com.mycompany.core get links in the folder src as well. It is the first in a long string of strange behavior that seems to have forged my project structure. Any input would be great.

    Kind regards

    Eric

    If the code is the same for your etc. POJO will compile without modification against libraries of the RIM and Android ones, and create the project also for Android and bind the src folder in the src of the BlackBerry project folder.

Maybe you are looking for

  • Why the my boookmarks are invisible?

    Context menus, when I click on file, editing, history, bookmarks etc. are invisible, you can see a preview of the menu but nothing in it, same thing with appears right-click on shortcut menus, sometimes they will blink between visible and invisible,

  • ITunes game will not download

    I'm on an Air of Ipad with 3 GB of free space and itunes game account. I know how to download music as I did it not. I am 100% online that I can browse tweet and send this message... the cloud with the down arrow appears next to my albums. I clicked

  • my keyboard suddenly begin to type a character over and over again and I can't stop it. Comes to post notes or elsewhere

    My keyboard suddenly started typing a character again and again and I couldn't stop. Arrived at post notes or anywhere where I tried to type. At the same time my wireless mouse began to be nervous and some characters appeared on my typing ("n" with 2

  • Windows 7 update problem X220T KB3097877

    After the update to KB3097877, my laptop starts with the connection icons. If I click on the user icon, the screen changes, but after a few seconds is just shows the icons of connection again. Research on the web suggests that the question of the cau

  • Error followed by phone call report scam.

    Hi all 4-5 days, I allowed my system to make an error report after a glitch that makes Windows close. I have not done this before and hardly have these glitches. Today, I got a phone call from an Indian call centre telling me that they were Microsoft