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

Web and WebWorks Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Posts: 777
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

Error while adding a plugin in BlackBerry using phonegap

Hello i am getting error while inserting plugin in of barcodescanneer.


First i will tell you what i did.1) Extract cordva.jar file after extracting this file i am getting org folder and library.2) then i insert .java file in this path "org/apache/cordova/plugins/barcodescanner" 3) Add this statement <plugin name="BarcodeScanner" value="org.apache.cordova.plugins.barcodescanner.BarcodeScanner"/> 4) then i make a jar file using eclipse(using org folderand library.xml) . and replace this .jar file with new jar in ext folder.But then run this project using this command "ant blackberry build" i am getting this error 



[exec] C:\Documents and Settings\nksharma.Q3TECH\Local Settings\Temp\widget Gen.14868751551357534373934.tmp\blackberry\web\widget\autogen\WidgetConfigAutoGe n.java:41: error: package org.apache.cordova does not exist [exec] _widgetExtensions.addElement(new org.apache.cordova.CordovaE xtension()); 
[exec] ^ [exec] 1 error [exec] Error!: Error: java compiler failed: C:\Program Files\Java\jdk1.7.0_ 02\bin\javac.exe @C:\DOCUME~1\NKSHAR~1.Q3T\LOCALS~1\Temp\rapc_0f851d ... [exec] [ERROR] RAPC exception occurred