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:
blackberry.app
blackberry.event
blackberry.notofication
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
So...
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
Payment, NFC, encryption, picture taking, etc.
Many things are still missing.
They had to prioritise their efforts.
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) :
https://developer.blackberry.com/html5/apis/bb10_i
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:
https://github.com/blackberry/BB10-WebWorks-Sample
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">
Check out:
http://www.w3.org/TR/html-media-capture/
Note that capture type "microphone" is not supported.
12-05-2012 06:12 AM
Thanks guys!
I totaly forgot about getUserMedia. Of course it works.
Waiting for news with payment API.