Play audio notification in Windows phone 8 when app is in background - c#

I am developing a windows phone 8 which fetches location even app is in background.
I want to give user some audible notification ( Specifically play an audio mp3 file) when app is in background? Is it possible? How can i acheive that?

You can realize this feature with using toast notifications for Windows Phone 8 with Update 3 (OS version number 8.0.10492). In that OS version you can add custom sound to toast notification. Sound files can be in WAV, WMA, or MP3 format, must be less than 10 seconds long, and must be stored in the app’s installation directory or local storage folder.
Using custom sounds in toasts on Windows Phone 8 Update 3

Related

In app purchase windows phone 8.1 store app

I have simple issue in my windows phone 8.1 RT app. I have implemented in app purchase in my app. It works normally, If I do in app purchase while BackgroundAudioPlayer is running, then after opening store CONFIRM PURCHASE page app crashes after 5-6 seconds sometimes after 10 secs.
Note: I am able to reproduce this issue in standard BackgroundAudioSample
Uploaded in OneDrive
Let me know if any one have come across this situations.
Thanks

size of the windows phone 8.1 silverlight application

Actually, we did one music app in windows phone using silverlight frame work,after the completion of the application, the xap file is too large (600mb). So how to decrease the size of the application and we are using songs which is in our local folder.
Thanks in Advance.

Call Recording in Windows mobile 10

I am trying to develop a call recording application for specific company for their marketing department ,however i know that the microphone is muted for 3rd party applications in Windows Phone 8.1 but i wonder if its gonna be available in windows mobile 10 ? or is there any other way to record calls natively?

c# windows phone 8 app, change system volume

I use WASAPI (Windows Audio Session API) in my windows phone app to play some single tone.
How i can change system volume of device, so when user click on "play" button, even if volume = 0 (muted) signal will be heard.
i tried to use ISimpleAudioVolume interface(http://msdn.microsoft.com/en-us/library/windows/desktop/dd316531(v=vs.85).aspx) but it change volume level of an audio session but if device in mute signal is not heard.
please help.

Access pictures on a Windows Phone 7 from a Windows 8 application?

I am trying to access images on a Nokia Lumia 610 from a Windows 8 C# application. As it has been pointed out in other posts, such an access has only been possible via Zune and Window Phones would not even be directly visible in Windows 8.
However, using the Windows 8 RTM version I now noticed that the Lumia 610 becomes visible as a device. Still StorageDevice.FromId() raises an exception.
So my question: does the previously valid information ("access to folders on Windows Phones is only possible via Zune") still hold? If not, how can I create a StorageFolder object for a Windows Phone in a Metro/C# application?
Thanks!
I don't think you'd be able to use any WP7 device as a StorageDevice. If I recall correctly, Windows Phone 7 uses IsolatedStorage for storing any and all content, and as such you can't access the files on a Windows Phone through Windows Explorer without rooting/jailbreaking your Windows Phone. And even then, you wouldn't be able to access it through a Windows 8 App AND pass certification at the same time.

Categories

Resources