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.
02-05-2011 08:34 AM
I downloaded the webwork example "apiDemo.zip". I compiled and deployed correctly, but when I execute the webwork doesn´t work.
The webwork is very simple, it only have one button and when the button is pressed it shows and alert message.
Someone have the some problem ? How to fix it ?
Thanks, kind regards.
Solved! Go to Solution.
02-05-2011 02:38 PM
Can you provide the URL for the apiDemo.zip file you downloaded?
Also, are you running the PlayBook Simulator on a Mac or a PC?
02-05-2011 08:15 PM
I downloaded "apiDemo.zip" from:
2º. Acces to the second webbinar.
3º. The url of the examples on the second webbinar is:
Then, you can download: WebCast2_samples.zip
Inside this file, you can see the folder called "webWorksAPI" and inside the "apiDemo.zip" file.
I am running the simulator on a Mac. The sketchPad example works perfect.
"apiDemo" is very simple, this is the code:
The button doesn´t work.
What´s the problem ?
Thanks, kind regards.
03-28-2011 09:52 PM
i'm unable to get any of my onclick calls to work. do you know what changed? i even tried to use the apiDemo example, and i didn't get an alert. i'm on windows7. my code works when i run it in chrome, including the onclick functions. it just seems the functionality doesn't work for the simulator. any ideas? thanks!
03-30-2011 07:53 AM - edited 03-30-2011 11:28 PM
***update: that did the trick! thanks!***
i was wondering why when compiling my app there was a warning that <feature> was missing... i'll have to try it out when i get home this evening. thanks!!!
03-30-2011 08:05 PM - edited 03-30-2011 10:59 PM
AHA! Turns out the onclick was working, my code to set the text of a span doesn't work on the playbook. No idea why. but my onclick was able to trigger an alert to display.
Edit: this wasn't my problem either. jQuery 1.5.1 doesn't work on playbook simulator. Grabbed jQuery 1.5 and it works fine. That was 2 days wasted...