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 on April 1st. 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


Reply
Highlighted
Contributor
Posts: 16
Registered: ‎07-19-2012
My Device: BB10 dev alpha
My Carrier: Sosh (Orange subsidiary)

blackberry.identity on BlackBerry 10 dev alpha

Hi,

 

I have a problem running the HelloWorld application on my BlackBerry 10 dev alpha device.

 

I use this in config.xml :

<feature id="blackberry.identity"/>

 

And then on index.html I have:

function ready() {
   var ele = document.createElement("div");
   ele.innerHTML = "uuid: " + blackberry.identity.uuid;
   document.documentElement.appendChild(ele);
}
window.addEventListener("load", function(e) {
   document.addEventListener("webworksready", ready);
}, false);
 
It works great on Ripple but it displays "null" on an actual BlackBerry 10 dev alpha, runnin BlackBerry 10.0.9.1675
 
Is that normal?
 
Thanks
Cross-device app developer.
New Contributor
Posts: 5
Registered: ‎12-31-2012
My Device: developer
My Carrier: T-Mobile

Re: blackberry.identity on BlackBerry 10 dev alpha

I have the same problem. Seems that the simulator is not implementing all functionality. E.g. I also have a problem when I want to use 'blackberry.pim.contacts' in the dev alpha simulator (version: BlackBerry10Simulator-BB10_0_09-1673), I get an alert when my application starts that the libpmcontacts.so Library cannot be found. The API page says it is supported, but it is also not working. Main problem for me: Ripple does not simulate all Webworks APIs. Dev Alpha VMWare does not implement everything correctly. And I don't have test hardware, except for the PlayBook. But that also does not support BB10 APIs.