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: 161
Registered: ‎02-08-2012
My Device: PlayBook
My Carrier: None yet
Accepted Solution

attempting to build for phones

... but i'm getting:

 

[INFO] Compiling BlackBerry WebWorks application
com.palm.novacom.NovaDeviceInfo: Error!: Invalid constant pool entry. in <clinit>

 

Interesting, considering I'm using the BlackBerry packaging tools, and I have the webOS tools completely sandboxed from it.   

 

Any thoughts?

 

Highlighted
Developer
Posts: 161
Registered: ‎02-08-2012
My Device: PlayBook
My Carrier: None yet

Re: attempting to build for phones

Enyo 1.0 framework includes an extra JAR file buried in it, that the phone packager blows up on.

 

Fixed.

 

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: attempting to build for phones

Is that JAR required?  There may be a way to work around that - I know that in *some* cases you can configure the WebWorks SDK to recognize precompiled JAR files.

 

For example, check out the Analytics extension.  It has a library.xml file where the Analytics JAR file is defined:

 

https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/Analytics

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Developer
Posts: 161
Registered: ‎02-08-2012
My Device: PlayBook
My Carrier: None yet

Re: attempting to build for phones

Nope, it's only required for webOS development from within a Chrome browser instance, and only if you are using webOS specific services that require accessing a device itself to use. A bridge to communicate with the device from a Chrome app. It's quite nice, but it blows up the phone packager .. so I just modified my ZIP script to not include the jar.