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
Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: Impossible to get PlayBook's pin tried everything!!!


Kadabra wrote:

No I am testing with a Webworks application and was assuming that it used the native browser.

 

I confirm I'm testing a Webworks app on a Playbook device.

The 2.0 version of the tablet SDK doesn't support blackberry.identity feature as I tested the exact same code with the 2.1 SDK and it worked


Are you trying to call "http://localhost:8472/blackberry/identity/get" to get the PIN of a device? Have you ever tried with a simple JS command like this:

 

blackberry.identity.PIN

I build the KitchenSink example for PlayBook in debug mode. When I debug within Web Inspector and call the above within a console.log(...); it shows me the devices PIN in the following form:

 

0x######## ->  # is alphanumeric letter

 


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
New Contributor
Posts: 8
Registered: ‎08-01-2012
My Device: PlayBook
My Carrier: Free

Re: Impossible to get PlayBook's pin tried everything!!!

[ Edited ]

I tried blackberry.identity.pin first, as it didn't work I looked for another solution and tried  to call "http://localhost:8472/blackberry/identity/get" but it didn't work as well.

 

Now blackberry.identity.pin works as I upgraded the version of the SDK.

 

But  "http://localhost:8472/blackberry/identity/get" still doesn't work,

but it's ok as I prefer the simple way (blackberry.identity.pin)

 


Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: Impossible to get PlayBook's pin tried everything!!!

Nice to know. Now mark your post as solution to let other see what needs to be done to get it working Smiley Wink


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.