Play Background music in Windows Phone app C# code

We want to play background sound in our Windows Phone app, we can play using this below objects. 1) MediaElement -- need to include phone.controls dll 2) SoundEffect  - need to include XNA framework dlls To Play Sound in background first we have to please audio file in our project. in my case I placed those audio file in Sounds folder. Then in Solution Explore right click on add audio file and go to Properties . In Build Action, set value to Content. Copy to Output Direct value to Copy if n...
Read More

Make Call using Phone Call Task in Windows Phone app (C# code)

We can make a call use tel protocol in Web browser with HTML code. Like this <a href="tel:012345">Make a call</a>. just we need to pass phone number tel:[phone number here]. Mostly all smartphones support this protocol. We can also have in differentiate format phone numbers. If smart phone OS won't support all the format. In windows phone we can also make a call using Phone Call Task from C# code from our Windows Phone App. We can make a call when user tap a button or some other a...
Read More

Open Bing Map Directions from Windows Phone App code (C#)

Some time we need to show direction between two points. For this we use Google Map or Bing Map or Yahoo Map and So on. But, When your creating application in Windows Phone it is best to go with Bing Maps. We no need to write more lines also. Just we need to open Bing Map app from Our application with few lines of code. This Bing map is more interactive too. We will get step by step direction guide on go. I like the way they show me a promote saying don't look at Phone when you're in drive, take...
Read More