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

Native Development

Reply
Developer
marcossit
Posts: 131
Registered: ‎07-19-2012
My Carrier: Movistar-Venezuela
Accepted Solution

Help, Podcast streaming

As I can create an app that reads the podcast via streaming sounds? and seen no examples??? The application NobexRadion for BB10, uses this example


Follow me in Twitter:

@Marcossit

BBM Channel:

MarcossitDev: C0002C366  

DeviceSuite For BlackBerry 10:

Link to Download DeviceSuite:

Support was successful? Accept as Solution and click on:


Please use plain text.
Developer
Developer
klz
Posts: 132
Registered: ‎08-24-2011
My Carrier: MTS Ukraine

Re: Help, Podcast streaming

Hello there,

 

Please check MediaPlayer component and this sample. You will need to replace link to local file with stream url.

 

Thank you!
----------------------------
My Apps: Alchemy Game | Image Resizer | Jam! | Traffic Signs: USA | Radio Record
My Blog: http://bb10pro.com
Please use plain text.
Developer
marcossit
Posts: 131
Registered: ‎07-19-2012
My Carrier: Movistar-Venezuela

Re: Help, Podcast streaming

ok got it, thanks implements a list, but to replace sourceUrl: "music/song.mp3" such a link Streaming'm not good at that part. I know the code?


Follow me in Twitter:

@Marcossit

BBM Channel:

MarcossitDev: C0002C366  

DeviceSuite For BlackBerry 10:

Link to Download DeviceSuite:

Support was successful? Accept as Solution and click on:


Please use plain text.
Developer
Developer
klz
Posts: 132
Registered: ‎08-24-2011
My Carrier: MTS Ukraine

Re: Help, Podcast streaming

Sorry, didn't understand you question. Could you provide us with streaming link which you are going to use?

 

Thanks! 

Thank you!
----------------------------
My Apps: Alchemy Game | Image Resizer | Jam! | Traffic Signs: USA | Radio Record
My Blog: http://bb10pro.com
Please use plain text.
Developer
marcossit
Posts: 131
Registered: ‎07-19-2012
My Carrier: Movistar-Venezuela

Re: Help, Podcast streaming

in this example leaves

       MediaPlayer{
             id: player

             sourceUrl: "music/song.mp3"
         }

and I want to play files that are streaming here http://www.poderato.com/zonablackberrypodcast/zonablackberry-podcast


Follow me in Twitter:

@Marcossit

BBM Channel:

MarcossitDev: C0002C366  

DeviceSuite For BlackBerry 10:

Link to Download DeviceSuite:

Support was successful? Accept as Solution and click on:


Please use plain text.
Developer
Developer
klz
Posts: 132
Registered: ‎08-24-2011
My Carrier: MTS Ukraine

Re: Help, Podcast streaming

You cannot just put that URL to sourcleUrl. You have to get streaming url like this one http://www.poderato.com/file_send/mp3.mp3?mp3=14624l8039l116175.mp3&miau=1 . But how - this is a question which should be answered by you. 

 

If you would like to know how I got that URL. I opend FireFox and launched Firebug there. Than push play button and took a look at console and found the stream URL. Pretty simple yeah? 

 

Thank you!
----------------------------
My Apps: Alchemy Game | Image Resizer | Jam! | Traffic Signs: USA | Radio Record
My Blog: http://bb10pro.com
Please use plain text.