08-28-2012 04:35 AM - edited 08-28-2012 04:45 AM
I am working with BlackBerry plugin for Eclipse and I need to import external Jar to my app. I followed some instructions I found -- preverified jar and imported it as referenced library. So now I have this
Now ... how can I import classes from this jar in my app? If I try
it doesn't find anything.
Thanks for any help.
08-28-2012 04:41 AM
just go to your build path of the project and configure your build path in that configuration just add the external jar in to the library and export the jar.
Hope it will work!
08-28-2012 04:42 AM
08-28-2012 04:51 AM
08-28-2012 05:16 AM
08-28-2012 05:17 AM
expand jar file, then use package name which you declaired in jar like in above example "net.rim.blackberry.api.bbm.platform" is package in jar.
for import classes and interface inside the package use:
08-28-2012 05:54 AM - edited 08-28-2012 05:54 AM
Thanks for replies. But the problem is ... classes are generated by Cibyl and they are not part of any package (they are in "default package"). Does it mean I can't use them?
08-28-2012 06:03 AM