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.
09-30-2012 12:22 PM
I created and installed the helloworld webworks application, described in the Webworks documentation,
"Creating Helloworld for Blackberry 10". When run "Web Inspector" indicates "ReferenceError: Can't find variable blackberry" for the code line:
ele.innerHTML = "uuid: " + blackberry.identity.uuid
(Not sure if its relevant but my BB10 Alpha device was upgraded to the new OS at Blackberry Jam)
Solved! Go to Solution.
09-30-2012 12:28 PM
10-02-2012 08:41 AM
Yes I did include "webworks-126.96.36.199.js". I have it in the root of the project with index.html. Its in the zip file thats published to the output folder. I don't understand whats wrong.
10-02-2012 07:07 PM
Ditto what bkoms said. Also, can you confirm that you are waiting for the webworksready event before attempting to access the blackberry object?
10-04-2012 06:28 PM
Just to confirm, you copied the new webworks.js file from the 188.8.131.52 SDK's clientFiles folder in place of the old file?
10-05-2012 04:31 AM
Does it work that way?
Did it work before the update?
The documentation referring to identity for bb10 doesn't have any code like yours:
The BBM platform documentation refers to uuid but again in a different way. Could you share with us under which context you are using the uuid?
10-06-2012 01:38 PM
For BB10, uuid is a static property that can be read - according to this document you refer to. Its stated in the table expanded under the link "View Supported Platform Table".
10-06-2012 01:42 PM
Yes I did. But I'm wondering if the problem is in how the version number attribute in the feature element of the config.xml is processed. I wonder if it must match the version number in the top widget element.