Copy song to windows phone 8 c#

 Hi All,
        I want to download song to Windows phone through URL .
For example
songUri = https://BaarishYaariyan_(Instrumental)(MyMp3Song.Com).mp3
Can u pleas let me know the code?
songUri = https://BaarishYaariyan_(Instrumental)(MyMp3Song.Com).mp3
  MediaLibrary lib = new MediaLibrary();
                            SongMetadata metadata = new SongMetadata
                                GenreName = "Jumptuit",
                                Name = fileName.Split('.').First(),
                                AlbumName = "My Collections",
                                AlbumArtUri = new Uri("ApplicationIcon.png", UriKind.RelativeOrAbsolute)
                            //lib.SaveSong(songUri, metadata, SaveSongOperation.CopyToLibrary);
                            MediaLibraryExtensions.SaveSong(lib,songUri, metadata, SaveSongOperation.CopyToLibrary);

Hello Angadi.
I suggest you to ask this question in the Developing for Windows Phone Forum at
http://social.msdn.microsoft.com/Forums/wpapps/en-us/home?forum=wpdevelop; I can move it there for you if you want.
Bye.
Luigi Bruno
MCP, MCTS, MOS, MTA

Similar Messages

  • HELP!....cant copy songs on to phone

    hi
    i have songs on my pc which play properly...i connect my phone via USB to copy the songs on my phone...on the pc it shows that the songs have copied correctly under my music folder on phone....but when i disconnect my phone from pc & try to play songs of phone...i cant find the songs anywhere under my media on phone
    plz help...

    riz786 wrote:
    i have songs on my pc which play properly...i connect my phone via USB to copy the songs on my phone...on the pc it shows that the songs have copied correctly under my music folder on phone....but when i disconnect my phone from pc & try to play songs of phone...i cant find the songs anywhere under my media on phone
    Hi riz786
                     Where have you copied those music files, Is it to your Media Card or device Memory ? On your Homescreen Click on Media > Press the Menu key > Explore > Click on Media Card > BlackBerry  > Music > Are you able to see those Music files you have copied ? 
    Inaddition please check this User Guide Transferring and downloading media files
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Copy Songs from I phone

    Can i copy the songs from my i phone to my PC.
    As i have to sync my phone in two PCs one at my home ans other one in office. So i want that whenever i sync music in home or in office first i should copy the music from my phone to my respective PC and then setup any sync. Pls help.

    You can't "sync" any iTunes content from your phone to any computer. The iTunes content sync is one-way: Computer to Phone. You can transfer purchased content on your phone: iTunes>File>Transfer Purchases.
    This will change when iCloud goes live, as you'll be then able to download your content to all of your devices/computers.
    Note:
    By design, the iPhone will sync iTunes content with ONE computer at a time. Any attempt to sync such content with a second computer will result in ALL iTunes content being first erased from your phone, to be replaced with the content from the second computer.

  • Why can't I copy songs? ...

    We have OSX Yosemite, and we have 5 iPhones in the house (4 5s models, and a 6).
    We have a combo of songs purchased via iTunes and music we imported from CDs we own.
    Frequently I simply can't get iTunes to copy songs to our phones. Many times I will attempt to drag music from the library to a phone connected via Lightning cable. Either nothing happens, or the iTunes status flashes quickly and the song never gets copied. The only way I've been able to get around this is to delete every single song on the phone and start over. This usually works, until a few weeks later when I connect a phone again and have the same problem.
    Any idea what the problem could be? I've been using iTunes on Windows then Mac for many years and this type of problem seems to be getting worse.
    Also, often when I plug in my phone and then look at the music on the phone via iTunes, about half of the songs are grayed out and half a dashed circle in front of them. What does that mean, and why does it happen?
    Thanks very much in advance
    p.s. I never want to automatically sync anything, all I want to do is drag songs manually from iTunes to my iPhone.

    Did you ever figure this out? I'm having the same problem. Songs from my own CDs have the red circle with the slash through it when I try to copy them to my iPhone!!

  • HELP!  I got a new iPhone and want to download my music from my computer so I don't have to down load song by song on my phone.  iTunes Match won't let me copy it from my computer.  What do I do?

    I have iTunes Match and it's been fine until now. I'm trying to download my music to my phone so I don't have to use the wifi to play it all the time.....but iTunes match won't let me copy from my computer without shutting it off. If I do that then turn it back on then I lose all the music anyway.
    I'm so frustrated and can't download song by song to my phone.
    help.

    If you mean you want to sync your music from your computer to your iPhone you need to disable iTunes Match on the iPhone. Go to Settings > Music and set to iTunes Match to OFF (not green). You may need to wait a few minutes for the change to register with iTunes. Connect the iPhone via USB/Thunderbolt and sync the music.

  • How can I get my songs purchased through iTunes to play on a windows phone

    My wife recently got a HTC One M8 (windows) phone and wants to transfer her music purchases over to her new phone. How can the AAC protection be removed so the music will play on something other than an Apple product?

    AAC is not protection, it is just an audio file format, like MP3.
    Itunes purchases have not been DRM protected for many years.
    Convert the songs to an audio file format that the new phone will play, then follow the directions for the phone to put the music on it.

  • Disable the Copy and Paste option in keyboard [Textbox control] Windows phone App

    In Windows phone 8.1 WRT app, I want to disable the copy and paste option in the keyboard for the textbox control
    Please let me know if any possibilities and if you have the code snippets Please share it .

    Hi Ruthradevi,
    As I know we have no way to disable the copy and paste option in the keyboard.
    Why do you want to disable it, can you explain more about your scenario?  Let's see if we can make a similar function like you required.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Andriod and windows phones have an option in whatsapp to send songs then my question is why not from ios ?

    andriod and windows phones have an option in whatsapp to send songs then my question is why not from ios ?

    ok thanks
    but there should some app by which it can be send

  • WHY WONT A FUL ALBUM COPY TO MY I PHONE JUST ONE SONG FROM THE ALBUM

    WHY WONT A FUL ALBUM COPY TO MY I PHONE JUST ONE SONG FROM THE ALBUM

    Please fix your CAPS lock key.
    Typing in all CAPS indicates yelling... there is no reason for you to yell at us.
    Is the content in question selected to sync?

  • Issues with 32GB micro SD with Windows Phone 8 and Lumia 810

    I bought 32 GB micro SDHC card (Sandisk) that causes issues such as:
    (1) tap Settings - then blank screen - then go back to Home
    (2) when shutting down WP8, it says "goodbye" forever and it does not go away. I have to detach the battery.
    (3) Occasional freezes - need to do step (2) to force reboot
    (4) Go to music > songs, causes OS to freeze
    (5) Go to music > albums, select one and cannot play - OS freeze
    I have huge library of MP3 and WMA that I want to keep them in the SD. I did it in 2 ways:
    (A) 
    Attach the micro SD (with adapter) into Windows PC, copy music folders to SD with Windows Explorer.
    (B) Attach the micro SD into Lumia 810, connect it to Windows PC. Windows detects the hardware, then using Windows Explorer, copy he music folders to Lumia 810 > SD card > Music.
    When I tried (A), 5 above issues came up. WP8 reported the SD card was corrupted. I run chkdsk to fix the SD card, but the 5 issues persisted after I inserted the SD. I formatted the SD card, and repeat
    (A), but the 5 issues persisted.
    I tried (B), then the copying process stopped in the middle. Windows Explorer reported error cannot copy file XXX. Then the 5 issues came up again.
    I am running out of ideas. What's wrong? SD, Lumia, or WP8? What should I do to have huge music files on the phone? Sorry, I can't play from the cloud.

    Hello,
    You should ask in the
    Windows Phone forums on the Microsoft Community forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • X6 Won't Copy Songs or Read from Mass Memory

    Hi. My Nokia X6-00 16GB was working fine the other day. It's only 3days old and it will not let me copy music to my phone. I've tried everything. Wiped the mass memory. Hard Reset. Reinstalled the Ovi Suite.
    When the phone is in mass memory mode i cannot access The Mass Memory / Phone Memory Folder in Windows Explorer. It Says I cannot view the folder because their isnt a program associatied with it.
    Songs won't copy. only a certain few do. Even tho i tried putting on songs i had orginaly before the problems started and they wont go back on. "The phone doesn't support them" even though it did a few days ago. Any help?
    Thanks

    Mine is exactly the same downloaded 3 songs all fine then next day all downloads fail phone is only a week old

  • How to get missing songs from old phone

    Hello all,
    I recently broke my iphone and I just received a new one in the mail the other day.  I created a backup in itunes and used that backup to restore my new phone. However, when my new phone was finished restoring I was missing about 1000 songs.  Without starting over what is the best way to get the missing music from my old phone to the new one?  Can I load itunes on another computer and then sync my music from my old phone and then just copy the library to itunes on my main computer? Thanks for any help.

    Hi HelpPleaseMan,
    >>How to get a photo from windows phone 8 programmatically and how to save that photo into my phone.
    In Windows Phone 8 we can use the
    PhotoChooserTask to enable users to select an existing photo from the phone.
    For more information, please try to refer to:
    #How to use the photo chooser task for Windows Phone 8:
    https://msdn.microsoft.com/en-us/library/windows/apps/hh394019(v=vs.105).aspx .
    Besides, we can also use the
    CameraCaptureTask to enable users to take a photo from your application using the built-in Camera application. If the user completes the task, an event is raised and the event handler receives a photo in the result. On Windows Phone 8, if the user accepts
    a photo taken with the camera capture task, the photo is automatically saved to the phone’s camera roll.
    For more information, please try to refer to:
    #How to use the camera capture task for Windows Phone 8:
    https://msdn.microsoft.com/library/windows/apps/hh394006(v=vs.105).aspx .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error while loading image from Windows Phone gallery into my Unity application

    Hi,
    I have developped a Windows Phone plugin for my Unity application which enable me to open the Windows Phone gallery in order to select an image and get its physic path.
    I've used this path to load the image in the application with a WWW object but I get this error
    "Error. Operation has failed with error 0x80070005: access is denied."
    The path is correct because I display it and I've ticked the ID_CAP_MEDIALIB_PHOTO in the WMAppManifest.xml (Capabilities tab).
    Here is my Unity C# test code to load the image with the path.
    IEnumerator loadImage()
    this.guiText.text = filePath;
    WWW www = new WWW(filePath);
    yield return www;
    if(www.error == null)
    GameObject texture = GameObject.Find("UNITY");
    if(texture != null)
    texture.guiTexture.texture = www.texture;
    Any help would be appreciated ! Thanks in advance !

    The error is correct. Your app doesn't have direct access to that path. It can directly load files only from its app data and install directories.
    To load from the libraries I it needs to use the StorageFile to get brokered access.
    The easiest way may be to copy from the library to local data then use WWW to load that. Otherwise you'll probably need to wrap the StorageFile can for use in unity. Unity has such a wrapper in the Unity Engine.WSA namespace that you can try

  • Windows Phone sync and transfer options

    This post explains the options available for synchronizing and transferring contacts, calendar and tasks from your Windows PC to a Nokia Lumia with Windows Phone.
    How Contacts, Calendar and Tasks are synchronized between a Windows PC and a Lumia family phone depends on which software is used on the PC
    If a S40, S60 or Symbian Nokia phone was used before contacts, calendar and tasks can be synchronized between this phone and your PC using Nokia Suite with the following:
    Microsoft Windows 7 contacts
    Microsoft Windows Vista calendar and contacts
    Microsoft Outlook 2002, 2003, 2007, 2010
    Microsoft Outlook Express
    Mozilla Thunderbird
    Nokia Suite (v3.6.x and later) allows for an easy transfer of contacts, calendar and photos to your Nokia Lumia Windows Phone via SkyDrive.
    Here's how this feature works;
    Connect your Nokia S40, S60 or Nokia Belle phone to your PC using the USB cable.
    After Nokia Suite is started and your phone shows as connected select Tools>Upload to SkyDrive and follow the on screen instructions. If you do not have one yet you will have to create a Microsoft account which has a SkyDrive attached to it. You can create such account here.
    You will now have to reset your Nokia Lumia Windows Phone. Doing so will erase all content from the phone and return it to it's 'out of the box' state. Make sure you have synced any media files to your PC (Zune for WP7.x devices / copy them through explorer on WP8.x devices) or Mac(Connector). You can sync these back after the reset. When finished reset your Nokia Lumia Windows Phone using Settings>about>reset your phone.
    Go through the Device First Use sequence and when asked enter your Microsoft Account used to save the content from Nokia Suite. When the setup has finished your will find your contacts, calendar and photos have all transferred to your Lumia. These will also be available through your Microsoft account through the web interface. The list of installed (paid) apps is also restored and the phone will start downloading these once the restore is complete. You can switch to WiFi for this if you have access.
    It is important to note this transfer will only work to the Nokia Lumia at the Device First Use sequence (after a reset). If you have your Lumia setup it will not look for or sync the information copied to SkyDrive through Nokia Suite.
    SMS message can not be transferred directly, but you can export all messages in Nokia Suite (Messaging>File/Export all text messages) and open the resulting Comma Separated File (.csv) in Excel or OpenOffice Calc to create an Excel sheet (.xls file) this can then be copied to your SkyDrive and opened from the Office app. You could also use a tool to create separate files from the exported .CSV file and copy all of these to SkyDrive.
    If a Microsoft Exchange server is used an Outlook account is created on the Lumia. This is done through 'Settings > email + accounts >add an account > Outlook'. The following settings are required. Usually these can be obtained from the system administrator for the Exchange server:
    Mail address
    User name (usually the same as the login name for the business PC)
    Password (usually the same as the password for the business PC)
    The Microsoft Exchange server Domain
    The address for the Microsoft Exchange server
    If Microsoft Outlook is used for private mail account(s) the Outlook Hotmail Connector needs to be installed to synchronize with the primary Microsoft Account and with the Lumia.
    The mail account needs to be set up as a separate mail account through:
    'Settings > email + accounts >add an account > other account'
    More information on setting up a mail account can be found here.
    A useful tool for setting up the Outlook Hotmail Connector can be found here.
    Additional Microsoft support pages for contacts and calendar.
    If Windows Mail, a part of Windows Essentials, is used contacts, calendar and tasks are synchronized directly with the Lumia as long as you log in to Windows Mail using the same primary Microsoft Account as the one which is used on the Lumia. Contacts and/or calendar can be imported in to Windows Mail as follows:
    Microsoft Windows 7 contacts, Microsoft Windows Vista contacts (and calendar)
    Open Windows live mail
    Go to contacts
    Click on import
    Import from current Windows user
    Mozilla Thunderbird
    Use the Hotmail extension for Thunderbird
    Export contacts and import into Windows Mail
    I hope this is helpful 
    Kosh
    Press the 'Accept As Solution' icon if I have solved your problem, click on the Star Icon below if my advice has helped you!

    Article updated, changed Live ID to Microsoft account and added procedure available in Nokia Suite from v3.6.x
    Press the 'Accept As Solution' icon if I have solved your problem, click on the Star Icon below if my advice has helped you!

  • How to open a web browser from an windows phone app

    Hi everyone,
    I am pretty new to Windows Phone 7, and now what I am trying to do is to create a simple app. When a user click to start this app, a browser will open and show the content of a webpage from a specific address.
    I tried to use a webbrowser object, but it seems like that doesn't sport cookies. So I need my app to open a real web browser (maybe IE mobile) to do the job.
    Thank you.

    copying from stackoverflow: "If you want to embed a browser window inside your application then use  the WebBrowser control.  Add an instance of the WebBrowser control to  your form then you can reference it in code using the name you
    give  it.  (Default name is "webBrowser1")"
    Microsoft MVP J# 2004-2010, Borland Spirit of Delphi 2001

Maybe you are looking for

  • Unable to watch my rented movie on apple TV but it says ive rented it already

    Hi can someone help me please ? I have purchased a Rental in itunes 2days ago, this rental is on my PC and ready to watch, however I would like to watch it on my Apple TV. To be clear, I have not started watching the movie on any other machine. Since

  • Premiere Elements 11 installation will not start

    Hi Folks, The process stops when it gets to the installshield wizard window.  I get a green progress bar, then the spinning mouse pointer pops up and the window dissapears.  Shortly after that,  the spinning mouse pointer goes away and nothing happen

  • Error while activating cube contains non cumulative key figures

    Hi all, when i am trying to activate a cube which contains non cumulative key figure it is showing out the following error:      DDIC Object TABL /BIC/LZATTR1NON has not been activated           Table /BIC/LZATTR1NON could not be activated      Pleas

  • Signal level lights don't light up even when wifi is connected

    I have a new MBP (the Core 2 Duo one). When I'm connected to a wifi access point, the Signal Level lights in the Internet Connect window never light up. Anyone else seen anything like this? I suppose it's not a huge deal, since I'm getting a connecti

  • Previous Employment in SSHR

    Is there any function available for Previous Employment in SSHR. We are getting in Core HRMS which in not accessible in SSHR. This is urgent to us , please let us know.