11-12-2012 05:47 PM
Hello Everyone, I am trying to write a dashboard application for the playbook, dev alpha and BB10. I have some of the functionality in which I want but I am having trouble access thing device audio.
I am not trying to use HTML5 to play audio, but rather grab the currently playing audio on the Playbook.
I want my application to be able to see what's playing, control what's playing (play/pause next/prev, volume) and if possible access the id3 tags.
I have looked through the APIs,
And loaded the "Kitchen Sink" App onto the device and not been able to accomplish this or find a jumping off point for what I want to accomplish.
One thing I found odd is that in the Apis listed above it doesn't list Playbook or BB10 but does list Ripple?
Any insight, links or help would be awesome! Thanks!
11-12-2012 08:18 PM
For PlayBook, you will have to use HTML5 audio. The blackberry.audio APIs are Java based and are available for the Smartphone platform only (BlackBerry 5 - 7). Since the Java runtime is not present on the PlayBook, those APIs are not supported.
11-12-2012 08:37 PM
Hi astanley, Thanks for the answer, I appreciate it.
Just to follow up, do you know if those apis will be supported at some point?
One other question, I saw how audio files can be played through HTML5. While I haven't played with this extensively yet, is there a way to read/have access to the device's playlists/files from within the application?
Such as using https://developer.blackberry.com/html5/apis/direct