10-16-2012 11:37 AM
Is it possible to grab the pin of BBOS devices? I see this function in the APIs for PB devices but not BBOS devices.
10-17-2012 09:47 AM
The APIs described here: https://developer.blackberry.com/html5/apis/blackb
Let me know if you are having any trouble with those.
10-17-2012 11:49 AM
10-17-2012 12:23 PM
As long as you have the webworks.js file included in index.html, you have the blackberry object available in the global scope.
This means doing a console.log(blackberry.identity.PIN) will return the PIN.
Let me know if this works for you.
10-17-2012 03:12 PM
For BBOS, you do not need to include a webworks.js file.
You just need to ensure that blackberry.identity is listed as a feature available to the domain this html file is coming from.