12-04-2012 05:21 AM
I found that some parts of BB10 WebwWorks SDK are missing comparing to PlayBook for example.
The biggest issue right now for me is lack of blackberry.payment method. Whithout it I cannot monetize my freemium app.
I also need blackberry.media.camera.takePicture, which is also missing.
In whole blackberry object I found only:
Will it change in future or this features are dropped from WebWorks SDK?
Solved! Go to Solution.
12-04-2012 06:40 AM
I was reliably informed (BB Staff contact) that all versions of the BB SDK are merging
Yes BB10 is a bit missing at the moment
At Jam we were informed that even BB5 is going to bought into the fold as BB has very good sales of 5 in the emerging markets
5, 6, 7, PB and 10 will eventually merge from an SDK point of view
OK - it's not here yet but you I expect to see around PB level SDK before 21st Jan (or I can't launch my app either)
A DevAlpha actually reports itself as a PlayBook
Like my post? Click the Like button
12-04-2012 07:00 AM
12-04-2012 07:11 AM
For NFC there's a native test app on GitHub that works very nicely
I actually use it to code NFC stickers
It should be fairly easy for the author to make it into a beta extension
I'll give the guy a shout
12-04-2012 10:21 AM
12-04-2012 02:22 PM
Thanks for the feedback.
Payment is definitely important, and is being focused on right now. We want to get it right before publishing, so your patience is requested. It will get there in due time.
Note: for the 'missing' blackberry object features, you do need to whitelist any API feature your application will use. For a complete list of the BlackBerry WebWorks APIs, see this reference guide (filtered by BB10) :
As others have mentioned, getUserMedia is now the HTML5 standard that we follow for camera support. The blackberry.media API existed only because the standard was not defined/supported at that time.
For a code sample of how to use getUserMedia - see this page:
12-04-2012 02:37 PM
If all you wish to do is capture a picture, you can also use the standard HTML5 media capture approach using an input element:
<input type="file" accept="image/*" capture="camera">
Note that capture type "microphone" is not supported.