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

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

blackberry.identity on BlackBerry 10 dev alpha



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;
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
Is that normal?
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.