Questions tagged [background-audio]

Refers to the process of playing audio files in a background agent. Most relevant for Windows Phone and WinRT

142 questions
0
votes
1 answer

Music and Videos image from BackgroundAudioAgent in WP

I am trying to set an image in Music and Videos when a song plays from BackgroundAudioAgent in wp7! My code to download song's image is: WebClient client = new WebClient(); client.CancelAsync(); …
Stavros Koureas
  • 1,126
  • 12
  • 34
0
votes
1 answer

Cache music from BackgroundAudioPlayer in Windows Phone 8

Im using the background audio player to play music from the remote server. Is there any way to save music files from Background Audio Player to local storage?
dshaman92
  • 15
  • 4
0
votes
1 answer

Windows Phone 8: Using a remote uri for MediaHistoryItem ImageSource

Every sample I've seen for updating the historyitem in a Windows Phone 8 Media Hub app shows using a local image/uri for displaying the background of the item. However, I am streaming the file, and I have a remote URI for that song cover, but I…
SelAromDotNet
  • 4,715
  • 5
  • 37
  • 59
0
votes
1 answer

How to edit the Info.plist file in build folder

I'm creating a live audio streaming app using titanium studio (version 3.1.1). I need to enable background audio playback for iphone. Currently background audio works in android emulator but not in iphone sinulator (when I click the home button,…
0
votes
1 answer

How can I save the settings in the IsolatedStorage while BackgroundAudioPlayer's instance is active?

I have Two projects in my Solution. Let's say Project A and Project B. Project A It's the main project and has settings. I have a check box to give user an option to "Repeat" track(s). This project can also access PROJECT B's public…
0
votes
1 answer

BackgroundAudioPlayer in windows phone

Is there any explanation about playing an audio from URL in windows phone in background using BackgroundAudioPlayer.? Why has it to be so complex to code this thing in Windows Phone. Can I get any code, any example, any explanation, any sample, any…
0
votes
1 answer

BackgroundAudioPlayer.Instance.Play() does not start

Please help me because I really can not find a solution to make the BackgroundAudioPlayer play the track. Infact if you press on "play" (AppBarIconButton of MainPage), the BAP will show that its state does not change (it remains…
Spode
  • 33
  • 8
0
votes
2 answers

BackgroundAudioPlayer via URL

I want to play a shoutcast audio in my windows phone app. I have the following code which I got from some website. namespace WPBackgroundAudioDemo { public partial class MainPage : PhoneApplicationPage { // Constructor public MainPage() …
0
votes
2 answers

Detect "next" or "previous" button

Is there a way to handle the event of the user pressing Next or Previous on the media player controls that come down when the volume hardware buttons are pressed? Examples I've seen with the BackgroundAudioPlayer use songs that come with the XAP but…
XSL
  • 2,965
  • 7
  • 38
  • 61
0
votes
0 answers

Determine if user opened an application by tapping currently playing song in system menu

In Windows Phone 8 it's possible to enter applications that use BackgroundAudio service by tapping a name of currently playing audio in systemwide accessible menu. Can I somehow detect this specific entrance point inside my application? Pic related…
src091
  • 2,807
  • 7
  • 44
  • 74
0
votes
1 answer

Play audio from video in lock screen

I have an app where I want to play audio in the background. The trick is that there are NO audio tracks by them selves. There is only video, which is where the associated audio is coming from. I added the following to my App Delegate: NSError…
Jacksonkr
  • 31,583
  • 39
  • 180
  • 284
0
votes
2 answers

Getting duration from BackgroundAudioPlayer

i am using the background audio player to play an audio file.I have tried to get the duration of the audio using the background.instance.track.duration.totalseconds method.But when i run the app method returned "0" everytime.The duration is…
0
votes
0 answers

Windows Phone BackgroundAudioPlayer: Loading tracks that have a 301 redirect on the source

I've created an audio player for windows phone, which uses a playlist of songs collected from an external API. This playlist is saved to both the client app AND the backgroundaudioplayer so that it can continue to play the next track after a song…
SelAromDotNet
  • 4,715
  • 5
  • 37
  • 59
0
votes
1 answer

Playing music while windows 8 store app is in the background

so I tried a few different approaches, and here is where I am: I setup the MediaElement in the App.xaml using the method shown in this thread (Global MediaElement that continues playing after navigating to other page). It works great to keep music…
SelAromDotNet
  • 4,715
  • 5
  • 37
  • 59
0
votes
0 answers

Send message between processes

I'm creating an application with background audio player. According to MS requirements, the player is implemented as a separate DLL and lives in another process. I'm able to pass track name back to my UI process by updating a…
Soonts
  • 20,079
  • 9
  • 57
  • 130
1 2 3
9
10