Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 34
Registered: ‎03-12-2012
My Device: blackberry tourch
My Carrier: zain telecommunication compay

access jar file after insert it into "referenced library" urgent help!

hello everybody,


finally i got a solution for my application. i would to thank my friends " peter and simon"


the solution is, importing packages as jar files..

i dont have much experience in that .. but after taking some help from "help menu" in eclips. i have added the first jar file for the first package. now i would to know how to access this package. i dont think i need to drag and drop the package into my main App. beacuse now its on "referenced library". i tried to import this package as i imported any other packages in this way: "import com.rim.tests;" the name of jar file is "MediaTestDemo" and its package called "com.rim.tests" ..


now i would to access this jar file and then using it..


is there any idea ? i need urgent help..

as soon as possible.

Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: access jar file after insert it into "referenced library" urgent help!

if the jar is added to your project you can import and use the classes out of it, as if the classes were in a regular package.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter