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
New Developer
Posts: 14
Registered: ‎10-30-2009
My Device: Not Specified

What is the maximum size for a Widget?

Hello,

 

I am trying to compile the entire YUI library. It first broke with the following error, however we got it working with using the bbwp /s flag. In all it's about 10 MiB.

 

 

C:\Program Files\Research In Motion\BlackBerry Widget Packager>bbwp web\10-datat
able.zip
[INFO]          Parsing option parameters
[INFO]          Parsing bbwp.properties
[INFO]          Validating zip archive
[WARNING]       No <feature> elements specified in config.xml
[INFO]          Widget packaging starts...
[INFO]          Populating source codes...
[INFO]          Start compiling and building...
java.io.IOException: Cannot run program ""C:\Program" (in directory "C:\DOCUME~1
\cucipa\LOCALS~1\Temp\widgetGen.820642651257806170520.tmp"): CreateProcess error
=87, The parameter is incorrect
[ERROR]         Error happened when running rapc.exe!

 

Then, when I try to load the library into the simulator it doesn't load. No error, no messages, no debug information. I don't see an icon appearing in the Downloads folder of the 9500 series simulator. However, when I compile the same example, a datatable client side JS sort snippet, loading it with only the necessary YUI files (6 of them) it works fine. It fails when I attempt to load all the files.

 

Any ideas as to what's happening?

 

Thank you,

 

 

 

Paul

 

Highlighted
Developer
Posts: 107
Registered: ‎09-25-2008
My Device: Not Specified

Re: What is the maximum size for a Widget?

Try combining the YUI files into one. I've run into problems before where CreateProcess fails if the command line it's passed is too long. I think it has a 32k limit which you can blow easily if the command contains the full path and filename of ~100 files.

New Developer
Posts: 4
Registered: ‎01-06-2009
My Device: Not Specified

Re: What is the maximum size for a Widget?

Works for me.

 

Thanks a tonne :-)

 

Cheers,

Gaurav