How do i play audio from stream in the application itself. I could able to play the stream in media player. but i don’t want to open media player to play the stream. i want to play the stream in my app itself.
Also the application should play the song even if its sent to background. Is it possible for an application to run certain part in the background?
To play a song when your app is in the background you’ll need to use the BackgroundAudioPlayer (“How to” article)
The other alternative to playing a stream/song within an app is to use a MediaElement.