Welcome!

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.


Reply
Developer
Posts: 64
Registered: ‎07-15-2008
My Device: Z10
My Carrier: Rogers

Re: Unhandled error when building or runnning a Cordova/PhoneGap BB10 app

unfortunately the cordova 3.0.0 "plugin add" command isn't working so well..it created an infinite loop of directories on the file system that is now impossible to delete.

Retired
Posts: 203
Registered: ‎12-18-2012
My Device: Z10, Q10, Q5, Z30, Z3
My Carrier: Bell

Re: Unhandled error when building or runnning a Cordova/PhoneGap BB10 app

Hi,

 

Would you mind logging an issue with more details on how to reproduce?

 

https://issues.apache.org/jira/browse/CB

 

Thanks!

Bryan Higgins
BlackBerry WebWorks
@bryanhiggins
Highlighted
Developer
Posts: 64
Registered: ‎07-15-2008
My Device: Z10
My Carrier: Rogers

Re: Unhandled error when building or runnning a Cordova/PhoneGap BB10 app

The previous issue was cause by the folder stucture of the plugin. We are supporting mutiple platforms and had the common plugin.xml in the top folder and all patform specific samples and plugin src below that. The tools can't handle this so just have 'plugin' and 'samples' as the only two root folders and put the platform specific stuff in both of these sub folders.

 

I did report a more serious issue though. Whenever I try and implement certain camera API's the entire plugin fails to load. It appears that mearly including a static method in the plugin kills the entire plugin.

 

Example bad method signature:

static void still_callback(camera_handle_t handle, camera_buffer_t* buf, void* arg)

 

Bug report:

https://issues.apache.org/jira/browse/CB-4954